IviSpecAn Error and Completion Codes

CVI/LabWindows IVI Class Driver

IviSpecAn 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 IviSpecAn_error_message function. To obtain additional information about the error condition, use the IviSpecAn_GetError and IviSpecAn_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
IviSpecAn Errors 0xBFFA2001 to 0xBFFA3FFF IviSpecAn.h
IviSpecAn Warnings 0x3FFA2001 to 0x3FFA3FFF IviSpecAn.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 IviSpecAn class driver defines the error codes shown in the following table in addition to the IVI defined error codes.

IviSpecAn Warning Code

Warning Code Value Description
IVISPECAN_WARN_MEASURE_UNCALIBRATED 0x3FFA2001 Over Range warning
IVISPECAN_WARN_OVER_RANGE 0x3FFA2002 Over Range warning

IviSpecAn Error Codes

Error Codes Value Description
IVISPECAN_ERROR_MARKER_NOT_ENABLED 0xBFFA2001 The Active Marker is not enabled.
IVISPECAN_ERROR_NOT_DELTA_MARKER 0xBFFA2002 The trigger source is not software trigger.
IVISPECAN_ERROR_MAX_TIME_EXCEEDED 0xBFFA2003 Maximum time exceeded before the operation completed.

Related Topic

IVI Status Codes