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

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

Last modified 7 years ago Last modified on 04/12/18 12:56:35
Note: See TracWiki for help on using the wiki.