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


Ignore:
Timestamp:
08/25/10 07:45:37 (14 years ago)
Author:
Don Wilson
Comment:

--

Legend:

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

    v1 v2  
    11= IsWtStatusChanged =
     2Checks whether the weight status such as "Motion" or "Over Capacity" is different from the last time IsWtStatusChanged was called.
     3
     4{{{
     5bool 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
     18The 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{{{
     23if(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]