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

GetCenterZero

Get center of zero status.

bool GetCenterZero(int nScale = process_scale)

Parameters

  • nScale - scale number

Return Value

  • Returns true if the specified scale weight is at center of zero or false if the weight not at center of zero.

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(GetCenterZero())
{
    DisplayText(20, 20, "Center Zero");
}
if(GetCenterZero(1))
{
    DisplayText(20, 20, "Center Zero");
}

See Also

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