Operator`s manual

57 Signametrics
Value Meaning
Any value int Eror or warning code.
Example
int i = EraseCalStore(0); // Erase/Format cal store EEProm
5.9 Error Codes
Operation of the DMM may be impaired, should be aborted or is not possible following an Error. Use the
DMMErrString() function, to retrieve the string describing the error.
DMM_OKAY 0 // no error
DMM_E_INIT -1 // DMM is not initialized. Use DMMInit() prior to using
DMM_E_CAL_R -2 // cannot find valid calibration record
ERR_AD_HW -3 // A/D does not respond. H/W error
NO_CAL_RECORD -4 // can't find cal record for DMM
TRIG_ERR -5 // Trigger circuit error
GUARD_COM -6 // Microcontroller communication error
TIMEOUT -7 // process timed out Error
GUARD_XING -8 // Guard crossing is broken
WRONG_TYPE -9 // Wrong Cal record for DMM type
UNKNOWN_ERROR -10 // Undefined Error
CANT_OPEN_USB -11 // can’t open USB device. Already open or an SMU403X
GENERAL_ERR -12 // General Error
CAL_STORE -13 // Error reading Cal record from local storage
CREAT_CAL_FILE -14 // can’t create named cal file to write to
OPEN_CAL_FILE -15 // can’t open cal file for reading cal record
CREAT_CAL_RCRD -16 // can’t create on-board Cal Record
ERROR_EEPROM_DTYPE -17 // Invalid dmm type in EEProm
ERROR_READBYTES -18 // unexpected number of bytes read
ERROR_WRITEBYTES -19 // unexpected number of bytes written
ERROR_DTYPE -20 // invalid input, bad DMM Type parameter
ERROR_READ_EEPROM -21 // invalid data on the EEPROM
ERROR_USB_IO -22 // I/O error from USB bus
ERROR_USB_PWR -23 // USB 5V supply is too low
MCU_COM_ERROR -24 // Microcontroller communication error
5.10 Warning Codes
Following a warning, the DMM will continue to run normally with the exception of the fault indicated by
warning code. Use the DMMErrString() function, to retrieve the string describing the warning. This
string may be used to notify the user. Based on it, an action may be taken to correct the source of the
warning. Several of the warning codes are part of a normal operation. Such are DMM_CNT_RNG, which
indicates that the counter requires additional iterations, or the POS_FS and NEG_FS are indication that
the signal level is too high for the selected range, which is normal.
APERTR_TOO_HIGH 101 // Aperture value is too high for operation
DMM_E_FUNC 102 // Invalid function value used
DMM_E_RNG 103 // Invalid range value used
DMM_CNT_RNG 104 // DMM counter out of range
DMM_E_IS_INIT 105 // Dmm already initialized: in use
CAP_RATE_ERR 106 // Can't change rate in Cap mode.
ERR_FUNC 107 // Illegal function selection
ERR_APERTURE 108 // Wrong Aperture selected, see rate definition