GetMotion
Get motion status.
bool GetMotion(int nScale = process_scale)
Parameters
- nScale - scale number
Return Value
- Returns true if the specified scale is in motion or false if stable.
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(GetMotion()) { DisplayText(20, 20, "Motion"); }
if(GetMotion(1)) { DisplayText(20, 20, "Motion"); }
See Also
Last modified
7 years ago
Last modified on 04/12/18 12:50:49
Note:
See TracWiki
for help on using the wiki.