Admin Production ni-theme
Current Publication

Error and Warning Codes

IVI Compliance Package

IviACPwr Error and Warning Codes

Status Code Ranges

Status Code TypeNumeric Range (in Hex)
IviACPwr Errors 0xBFFA2001 to 0xBFFA2010
Specific Driver Errors 0xBFFA4000 to 0xBFFA5FFF
Specific Driver Warnings 0x3FFA4000 to 0x3FFA5FFF
IVI Errors 0xBFFA0000 to 0xBFFA1FFF
IVI Warnings 0x3FFA0000 to 0x3FFA1FFF
Common Instrument Driver Errors 0xBFFC0000 to 0xBFFCFFFF
Common Instrument Driver Warnings 0x3FFC0000 to 0x3FFCFFFF
VISA Errors 0xBFFF0000 to 0xBFFFFFFF
VISA Warnings 0x3FFF0000 to 0x3FFFFFFF

The IviACPwr class driver defines the error codes shown in the following table in addition to the IVI defined error codes.

IviACPwr Error Codes

ErrorValueMessage
IVIACPWR_ERROR_ALL_PHASES_REQUIRED 0xBFFA2002All phases required.
IVIACPWR_ERROR_CURRENT_PROTECTION 0xBFFA2003Current protection tripped.
IVIACPWR_ERROR_DUPLICATE_WAVEFORM_NAME 0xBFFA2004Duplicate waveform name.
IVIACPWR_ERROR_INVALID_WAVEFORM_NAME 0xBFFA2005Invalid waveform name.
IVIACPWR_ERROR_MEASUREMENT_NOT_INITIATED 0xBFFA2006Measurement not initiated.
IVIACPWR_ERROR_MEASUREMENT_NOT_SUPPORTED 0xBFFA2007Measurement not supported.
IVIACPWR_ERROR_NO_WAVEFORMS_AVAILABLE 0xBFFA2008No waveforms available.
IVIACPWR_ERROR_PHASE_VALUES_DIFFERENT 0xBFFA200APhase values different.
IVIACPWR_ERROR_UNSUPPORTED_MEASUREMENT_GROUP 0xBFFA200BUnsupported measurement group.
IVIACPWR_ERROR_VOLTAGE_PROTECTION 0xBFFA200CVoltage Protection tripped.
IVIACPWR_ERROR_WAVEFORM_IN_USE 0xBFFA200EWaveform in use.
IVIACPWR_ERROR_WAVEFORM_NOT_FOUND 0xBFFA200FWaveform not found.
IVIACPWR_ERROR_WAVEFORM_RESERVED 0xBFFA2010Waveform reserved.
IVIACPWR_ERROR_WAVEFORM_DC_OFFSET 0xBFFA200DWaveform DC Offset.
IVIACPWR_ERROR_ALL_PHASES_NOT_SUPPORTED 0xBFFA2001All phases not supported.
IVIACPWR_ERROR_OUTPUT_ENABLED 0xBFFA2009Output is enabled.