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

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

--

MnBdGetErrMsgStr

Get current error message string.

string MnBdGetErrMsgStr(void);

Parameters

Function does not accept any parameters

Return Value

  • Returns the string containing 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 = MnBdGetErrMsgStr();
   DisplayText(0, 0, strErr);
}

See Also

Note: See TracWiki for help on using the wiki.