| | 2 | Checks whether the weight status such as "Motion" or "Over Capacity" is different from the last time IsWtStatusChanged was called. |
| | 3 | |
| | 4 | {{{ |
| | 5 | bool IsWtStatusChanged(int nScale); |
| | 6 | }}} |
| | 7 | |
| | 8 | == Parameters == |
| | 9 | |
| | 10 | * nScale - scale number |
| | 11 | |
| | 12 | == Return Value == |
| | 13 | |
| | 14 | * 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. |
| | 15 | |
| | 16 | == Remarks == |
| | 17 | |
| | 18 | 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. |
| | 19 | |
| | 20 | == Example == |
| | 21 | |
| | 22 | {{{ |
| | 23 | if(IsWtStatusChanged(1)) |
| | 24 | { |
| | 25 | if(IsMotion(1)) |
| | 26 | { |
| | 27 | DisplayText(0, 0, "Motion"); |
| | 28 | } |
| | 29 | } |
| | 30 | }}} |
| | 31 | |
| | 32 | |
| | 33 | == See Also == |
| | 34 | |
| | 35 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/GetChangedTareWt GetChangedTareWt] |
| | 36 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/ResetPrevTareWt ResetPrevTareWt] |
| | 37 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/IsTareWtChanged IsTareWtChanged] |
| | 38 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/IsNetWtChanged IsNetWtChanged] |