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

Version 5 (modified by Don Wilson, 7 years ago) ( diff )

--

GetOverCap

Get over capacity status.

bool GetOverCap(int nScale = process_scale)

Parameters

  • nScale - scale number

Return Value

  • Returns true if the specified scale is over capacity or false if stable.

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(GetOverCap())
{
    DisplayText(20, 20, "Over capacity");
}
if(GetOverCap(1))
{
    DisplayText(20, 20, "Over capacity");
}

See Also

Note: See TracWiki for help on using the wiki.