2 | | |
| 2 | Get current error message string. |
| 3 | |
| 4 | {{{ |
| 5 | string MnBdGetErrMsgStr(void); |
| 6 | }}} |
| 7 | |
| 8 | == Parameters == |
| 9 | |
| 10 | Function does not accept any parameters |
| 11 | |
| 12 | == Return Value == |
| 13 | |
| 14 | * Returns the string containing error message, such as "MOTION", "OUT OF RANGE", "CRC error", "Unrecognized command", "Specified scale not present". |
| 15 | |
| 16 | == Remarks == |
| 17 | |
| 18 | MnBdStartup must be performed before this will return a valid result. |
| 19 | |
| 20 | == Example == |
| 21 | |
| 22 | {{{ |
| 23 | if(ZeroScale(1) != OK) |
| 24 | { |
| 25 | string strErr = MnBdGetErrMsgStr(); |
| 26 | DisplayText(0, 0, strErr); |
| 27 | } |
| 28 | }}} |
| 29 | |
| 30 | |
| 31 | == See Also == |
| 32 | |
| 33 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/MnBdGetErr MnBdGetErr] |
| 34 | |