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

Version 1 (modified by Don Wilson, 14 years ago) ( diff )

--

GetWtError

Get weight error status.

bool GetWtError(int nScale = process_scale)

Parameters

  • nScale - scale number

Return Value

  • Returns true if the specified scale is in the weight error condition such as having a disconnected load cell, or false if the scale is not in the weight error condition.

Remarks

Examples

if(GetWtError())
{
    DisplayText(20, 20, "Weight Error");
}
if(GetWtError(1))
{
    DisplayText(20, 20, "Weight Error");
}

See Also

Note: See TracWiki for help on using the wiki.