IVI Compliance Package

Table of Contents
  • IVI Compliance Package
  • IVI Driver Help Introduction
  • IVI Class Driver Help

IviACPwr Error and Warning Codes

The functions in this class driver generate return values that report the status of this operation. To obtain a text description of the status code, or if the status code is not listed below, call the IviACPwr_error_message function. To obtain additional information about the error condition, use the IviACPwr_GetError and IviACPwr_ClearError functions.

Status Code Ranges

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

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

IviACPwr Error Codes

ErrorValueDescription
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.

Log in to get a better experience