IviACPwr Error and Warning Codes
- Updated2023-02-24
- 1 minute(s) read
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 Type | Numeric 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
Error | Value | Description |
---|---|---|
IVIACPWR_ERROR_ALL_PHASES_REQUIRED | 0xBFFA2002 | All phases required. |
IVIACPWR_ERROR_CURRENT_PROTECTION | 0xBFFA2003 | Current protection tripped. |
IVIACPWR_ERROR_DUPLICATE_WAVEFORM_NAME | 0xBFFA2004 | Duplicate waveform name. |
IVIACPWR_ERROR_INVALID_WAVEFORM_NAME | 0xBFFA2005 | Invalid waveform name. |
IVIACPWR_ERROR_MEASUREMENT_NOT_INITIATED | 0xBFFA2006 | Measurement not initiated. |
IVIACPWR_ERROR_MEASUREMENT_NOT_SUPPORTED | 0xBFFA2007 | Measurement not supported. |
IVIACPWR_ERROR_NO_WAVEFORMS_AVAILABLE | 0xBFFA2008 | No waveforms available. |
IVIACPWR_ERROR_PHASE_VALUES_DIFFERENT | 0xBFFA200A | Phase values different. |
IVIACPWR_ERROR_UNSUPPORTED_MEASUREMENT_GROUP | 0xBFFA200B | Unsupported measurement group. |
IVIACPWR_ERROR_VOLTAGE_PROTECTION | 0xBFFA200C | Voltage Protection tripped. |
IVIACPWR_ERROR_WAVEFORM_IN_USE | 0xBFFA200E | Waveform in use. |
IVIACPWR_ERROR_WAVEFORM_NOT_FOUND | 0xBFFA200F | Waveform not found. |
IVIACPWR_ERROR_WAVEFORM_RESERVED | 0xBFFA2010 | Waveform reserved. |
IVIACPWR_ERROR_WAVEFORM_DC_OFFSET | 0xBFFA200D | Waveform DC Offset. |
IVIACPWR_ERROR_ALL_PHASES_NOT_SUPPORTED | 0xBFFA2001 | All phases not supported. |
IVIACPWR_ERROR_OUTPUT_ENABLED | 0xBFFA2009 | Output is enabled. |