GetWtError
Get weight error status.
bool GetWtError(int nScale = process_scale)
Parameters
- nScale - scale number
Return Value
- Returns true if the specified scale is in the weight error condition such as having a disconnected load cell, or false if the scale is not in the weight error condition.
Remarks
The value returned is from an internal memory buffer from the last MnBdRead? that received a weight for the specified scale. An application program should be structured properly for this data to be updated when needed.
Examples
if(GetWtError()) { DisplayText(20, 20, "Weight Error"); }
if(GetWtError(1)) { DisplayText(20, 20, "Weight Error"); }
See Also
Last modified
7 years ago
Last modified on 04/13/18 07:21:05
Note:
See TracWiki
for help on using the wiki.