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

Version 6 (modified by Don Wilson, 6 years ago) ( diff )

--

GetBelowZero

Get below zero status.

bool GetBelowZero(int nScale = process_scale)

Parameters

  • nScale - scale number

Return Value

  • Returns true if the specified scale weight is below zero or false if the weight is zero or above.

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

See Also

Note: See TracWiki for help on using the wiki.