| Version 4 (modified by , 8 months ago) ( diff ) | 
|---|
MnBdRequest
Sends a request to the specified main board device.
int MnBdRequest(int nDev, int nReq, int nWaitAck);
Parameters
- nDev - main board device number
 - nReq - request code
 - nWaitAck - WAIT_ACK to wait for result, or NO_WAIT_ACK to continue processing
 
Return Value
- 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).
 
Remarks
Examples
if(MnBdRequest(1, MNBD_REQ_ZERO_SCALE, WAIT_ACK) != OK) { DisplayText(0, 0, "Error zeroing scale"); }
The above MnBdRequest is equivalent to ZeroScale(1).
See Also
  Note:
 See   TracWiki
 for help on using the wiki.
    ![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)