Returns the error message from power meter.
CalPwrMeterGetError (lStatus, psError, plStatus)
Name |
Type |
Comments |
lStatus |
LONG |
Status of the power meter. |
psError |
PSTR |
Error String returned from the power meter. |
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
This function gets current error string corresponding to the error status.
The following example gets the channel 0 state:
LONG lError, lStatus;
CHAR szError[256];
CalPwrMeterGetError (lError, szError, &lStatus);