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

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

Last modified 7 years ago Last modified on 04/13/18 07:23:03
Note: See TracWiki for help on using the wiki.