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

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

--

MnBdGetErrMsg

Get current error message.

const char* MnBdGetErrMsg(void);

Parameters

Function does not accept any parameters

Return Value

  • Returns the error message, such as "MOTION", "OUT OF RANGE", "CRC error", "Unrecognized command", "Specified scale not present".

Remarks

MnBdStartup must be performed before this will return a valid result.

Example

if(ZeroScale(1) != OK)
{
   string strErr = StrFmt("Zero error: %s", MnBdGetErrMsg());
   DisplayText(0, 0, strErr);
}

See Also

Note: See TracWiki for help on using the wiki.