Admin Production ni-theme
Current Publication

Error and Warning Codes

IVI Compliance Package

IviCounter Error and Warning Codes

The VIs in this driver class generate return values that report the status of this operation.

Status Code Ranges

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

IviCounter Warning Codes

Error Codes Value Description
IVICOUNTER_WARN_MEASURE_UNCALIBRATED 0x3FFA2001 The instrument was in an uncalibrated state when the measurement was taken.
IVICOUNTER_WARN_OVER_RANGE 0x3FFA2002 The measurement was taken over the instrument’s range.

IviCounter Error Codes

Error Codes Value Description
IVICOUNTER_ERROR_MAX_TIME_EXCEEDED 0xBFFA2003 The maximum waiting time was exceeded before the operation completed.

Related Topic

IVI Status Codes