IviPwrMeter Error and Completion Codes

CVI/LabWindows IVI Class Driver

IviPwrMeter 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 IviPwrMeter_error_message function. To obtain additional information about the error condition, use the IviPwrMeter_GetError and IviPwrMeter_ClearError functions.

Note  If a function succeeds, it returns VI_SUCCESS which has a numeric value of 0.

Status Code Ranges

Status Code Type Numeric Range (in Hex) Include File
IviPwrMeter Errors 0xBFFA2001 to 0xBFFA3FFF IviPwrMeter.h
IviPwrMeter Warnings 0x3FFA2001 to 0x3FFA3FFF IviPwrMeter.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 IviPwrMeter class driver defines the error codes shown in the following table in addition to the IVI defined error codes.

IviPwrMeter Warning Code

Warning Code Value Description
IVIPWRMETER_WARN_UNDER_RANGE 0x3FFA2001 Under Range warning
IVIPWRMETER_WARN_OVER_RANGE 0x3FFA2002 Over Range warning

IviPwrMeter Error Codes

Error Codes Value Description
IVIPWRMETER_ERROR_CHANNEL_NOT_ENABLED 0xBFFA2001 Maximum time exceeded before the operation completed.
IVIPWRMETER_ERROR_MAX_TIME_EXCEEDED 0xBFFA2020 Maximum time exceeded before the operation completed.
IVIPWRMETER_ERROR_TRIGGER_NOT_SOFTWARE 0xBFFA1001 The trigger source is not software trigger.

Related Topic

IVI Status Codes