|   | 2 | Sends a request to the specified main board device. | 
          
          
            |   | 3 |  | 
          
          
            |   | 4 | {{{ | 
          
          
            |   | 5 | int MnBdRequest(int nDev, int nReq, int nWaitAck); | 
          
          
            |   | 6 | }}} | 
          
          
            |   | 7 |  | 
          
          
            |   | 8 | == Parameters ==  | 
          
          
            |   | 9 |  | 
          
          
            |   | 10 |  * nDev - main board device number | 
          
          
            |   | 11 |  * nReq - request code | 
          
          
            |   | 12 |  * nWaitAck - WAIT_ACK to wait for result, or NO_WAIT_ACK to continue processing | 
          
          
            |   | 13 |  | 
          
          
            |   | 14 | == Return Value == | 
          
          
            |   | 15 |  | 
          
          
            |   | 16 |  * If WAIT_ACK specified returns OK (MNBD_REQ_ACK_RCVD) if successful, MNBD_REQ_NACK_RCVD if error response, MNBD_REQ_TIMEOUT if no response (MnBdRequest retries up to five times). | 
          
          
            |   | 17 |  | 
          
          
            |   | 18 | == Remarks == | 
          
          
            |   | 19 |  | 
          
          
            |   | 20 |  | 
          
          
            |   | 21 | == Examples == | 
          
          
            |   | 22 |  | 
          
          
            |   | 23 | {{{ | 
          
          
            |   | 24 | if(MnBdRequest(1, MNBD_REQ_ZERO_SCALE, WAIT_ACK) != OK) | 
          
          
            |   | 25 | { | 
          
          
            |   | 26 |     DisplayText(0, 0, "Error zeroing scale"); | 
          
          
            |   | 27 | } | 
          
          
            |   | 28 | }}} | 
          
          
            |   | 29 | The above MnBdRequest is equivalent to ''ZeroScale(1)''. | 
          
          
            |   | 30 |  | 
          
          
            |   | 31 | == See Also == | 
          
          
            |   | 32 |  | 
          
          
            |   | 33 |  * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdRead MnBdRead] | 
          
          
            |   | 34 |  * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdOpen MnBdOpen] |