Changes between Version 1 and Version 2 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdRequest


Ignore:
Timestamp:
08/20/10 13:58:25 (14 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdRequest

    v1 v2  
    11= MnBdRequest =
     2Sends a request to the specified main board device.
     3
     4{{{
     5int 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{{{
     24if(MnBdRequest(1, MNBD_REQ_ZERO_SCALE, WAIT_ACK) != OK)
     25{
     26    DisplayText(0, 0, "Error zeroing scale");
     27}
     28}}}
     29The 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]