IviScope 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 IviScope_error_message function. To obtain additional information about the error condition, use the IviScope_GetError and IviScope_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 |
IviScope Errors |
0xBFFA2000 to 0xBFFA3FFF |
iviscope.h |
IviScope Warnings |
0x3FFA2000 to 0x3FFA3FFF |
iviscope.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 IviScope class driver defines the following error codes in addition to the IVI defined error codes:
IviScope Error Codes
Error Codes |
Value |
Description |
IVISCOPE_ERROR_CHANNEL_NOT_ENABLED |
0xBFFA2001 |
Channel not enabled for acquisition. |
IVISCOPE_ERROR_UNABLE_TO_PERFORM_MEASUREMENT |
0xBFFA2002 |
Unable to perform desired waveform measurement function. |
IVISCOPE_ERROR_MAX_TIME_EXCEEDED |
0xBFFA2003 |
Maximum time exceeded before the operation completed. |
IVISCOPE_ERROR_INVALID_ACQ_TYPE |
0xBFFA2004 |
Invalid acquisition type. |
IviScope Warning Code
Warning Code |
Value |
Description |
IVISCOPE_WARN_INVALID_WFM_ELEMENT |
0x3FFA2001 |
One of the elements in the waveform array is invalid. |
Related Topic
IVI Status Codes