Version 2 (modified by 14 years ago) ( diff ) | ,
---|
IsWtStatusChanged
Checks whether the weight status such as "Motion" or "Over Capacity" is different from the last time IsWtStatusChanged was called.
bool IsWtStatusChanged(int nScale);
Parameters
- nScale - scale number
Return Value
- Returns true if the weight status of the specified scale is changed, or false if the weight status is the same as the last time IsWtStatusChanged was called.
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.
Example
if(IsWtStatusChanged(1)) { if(IsMotion(1)) { DisplayText(0, 0, "Motion"); } }
See Also
Note:
See TracWiki
for help on using the wiki.