wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/IsGrossWtChanged

IsGrossWtChanged

Checks whether the formatted gross weight is different from the last time IsGrossWtChanged was called.

bool IsGrossWtChanged(int nScale, int nLen = 7);

Parameters

  • nScale - scale number
  • nLen - length to format the weight

Return Value

  • Returns true if the formatted gross weight of the specified scale is changed, or false if the formatted weight is the same as the last time IsGrossWtChanged 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.

Examples

if(IsGrossWtChanged(1))
{
    DisplayText(0, 0, GetChangedGrossWt(1));
}

See Also

Last modified 6 years ago Last modified on 04/12/18 12:53:42
Note: See TracWiki for help on using the wiki.