IVI - Other Error Codes

If an error occurs as the result of an IVI call, the type of error is indicated by the numerical range of the error number. First display the error number in hexadecimal format, then look it up in the following tables.

BFFA000->BFFA1FFF are IVI error codes and can be interpreted in the following table
BFFA2000->BFFA3FFF are Class Driver error codes interpreted at this link location
BFFA4000->BFFA5FFF are Pickering Specific Driver errors interpreted at this link location

If writing code to check for error specific error return values, the user should use the text in the DEFINE column rather than using the numeric value directly.

C Shared Components Errors

Hex Error Code
Uses DEFINE
Reason



0xbffa1190
IVI_ERROR_INVALID_SESSION_HANDLE
The session handle is not valid
0xbffa1198
IVI_ERROR_CANNOT_CREATE_LOCK
Could not create a multithread lock
0xbffa11A0
IVI_ERROR_CANNOT_CREATE_THREAD_LOCAL
Could not create thread local

*NOTE* BFFA1190 error is produced if a Switch Executive Virtual Device is created for a Pickering device and the model number is not found in the pi40iv.ini file

Configuration Server Errors


Hex Error Code
Uses DEFINE
Reason
0xbffa1200
IVICONFIG_ERROR_DESERIALIZE_FAILED
The specified configuration store file could not be deserialized
0xbffa1201
IVICONFIG_ERROR_ALREADY_DESERIALIZED
A deserialize was attempted after a previous deserialize had already succeeded
0xbffa1202
IVICONFIG_ERROR_SERIALIZE_FAILED
The specified configuration store file could not be serialized
0xbffa1203
IVICONFIG_ERROR_SESSION_NOT_FOUND
The session name or logical name could not be resolved to a session or driver session
0xbffa1204
IVICONFIG_ERROR_NOT_IN_GLOBAL
The item does not exist in the global collection
0xbffa1205
IVICONFIG_ERROR_ALREADY_EXIST
An entry with name already exists in the collection
0xbffa1206
IVICONFIG_ERROR_MASTER_NOT_FOUND
The registry entry for the master configuration store does not exist or
the file could not be found
0xbffa1207
IVICONFIG_ERROR_NOT_EXIST
The item does not exist in the collection
0xbffa1208
IVICONFIG_ERROR_INVALID_DATA_COMPONENT
The data component is not a valid data component
0xbffa1209
IVICONFIG_ERROR_LOCAL_REFERENCE_EXIST
The element cannot be removed from the global collection when it is ref
erenced in the local collections
0xbffa1220
IVICONFIG_ERROR_INVALID_HANDLE
The specified handle is invalid or of an incorrect type
0xbffa1221
IVICONFIG_ERROR_INVALID_PROPERTY_ID
The specified property ID is not valid for this function

IVI Foundation Defined and Reserved (grandfathered) Errors

Hex Error Code
Uses DEFINE
Reason



bffa0000
IVI_ERROR_CANNOT_RECOVER
Unrecoverable failure.
bffa0001
IVI_ERROR_INSTRUMENT_STATUS
Instrument error detected. Call the PREFIX_error_query function and examine the error code and error message parameters for additional information regarding the error.
bffa0002
IVI_ERROR_CANNOT_OPEN_FILE
File could not be opened.
bffa0003
IVI_ERROR_READING_FILE
Error reading file.
bffa0004
IVI_ERROR_WRITING_FILE
Error writing file.
bffa0005
IVI_ERROR_DRIVER_MODULE_NOT_FOUND
Driver module file not found.
bffa0006
IVI_ERROR_CANNOT_OPEN_DRIVER_MODULE
Cannot open driver module file for reading.
bffa0007
IVI_ERROR_INVALID_DRIVER_MODULE
Driver module has invalid file format or contains invalid data.
bffa0008
IVI_ERROR_UNDEFINED_REFERENCES
Driver module contains undefined references.
bffa0009
IVI_ERROR_FUNCTION_NOT_FOUND
Cannot find function in driver module.
bffa000a
IVI_ERROR_LOADING_DRIVER_MODULE
Failure loading driver module.
bffa000b
IVI_ERROR_INVALID_PATHNAME
The path name is invalid.
bffa000c
IVI_ERROR_INVALID_ATTRIBUTE
Attribute ID not recognized.
bffa000d
IVI_ERROR_IVI_ATTR_NOT_WRITABLE
Attribute is read-only.
bffa000e
IVI_ERROR_IVI_ATTR_NOT_READABLE
Attribute is write-only.
bffa000f
IVI_ERROR_INVALID_PARAMETER
Invalid parameter.
bffa0010
IVI_ERROR_INVALID_VALUE
Invalid value for parameter or property.
bffa0011
IVI_ERROR_FUNCTION_NOT_SUPPORTED
Function or method not supported.
bffa0012
IVI_ERROR_ATTRIBUTE_NOT_SUPPORTED
Attribute or property not supported.
bffa0013
IVI_ERROR_VALUE_NOT_SUPPORTED
The enumeration value for the parameter is not supported.
bffa0014
IVI_ERROR_INVALID_TYPE
Invalid Type.
bffa0015
IVI_ERROR_TYPES_DO_NOT_MATCH
The attribute and function parameter types do not match.
bffa0016
IVI_ERROR_MULTIPLE_DEFERRED_SETTING
The specified attribute already has a value waiting to be updated.
bffa0017
IVI_ERROR_ITEM_ALREADY_EXISTS
The specified item already exists.
bffa0018
IVI_ERROR_INVALID_CONFIGURATION
Not a valid configuration.
bffa0019
IVI_ERROR_VALUE_NOT_AVAILABLE
The requested item or value does not exist or is not available.
bffa001a
IVI_ERROR_ATTRIBUTE_VALUE_NOT_KNOWN
The requested attribute value not known and cannot be determined.
bffa001b
IVI_ERROR_NO_RANGE_TABLE
There is no range table for this attribute.
bffa001c
IVI_ERROR_INVALID_RANGE_TABLE
The range table is invalid.
bffa001d
IVI_ERROR_NOT_INITIALIZED
A connection to the instrument has not been established.
bffa001e
IVI_ERROR_NON_INTERCHANGEABLE_BEHAVIOR
The class instrument driver has encountered underspecified instrument configurations that limit interchangeability.
bffa001f
IVI_ERROR_NO_CHANNEL_TABLE
No channel table has been built for the session. Theinstrument driver must call Ivi_BuildChannelTable in its IviInit function.
bffa0020
IVI_ERROR_UNKNOWN_CHANNEL_NAME
Unknown channel or repeated capability name.
bffa0021
IVI_ERROR_SYS_RSRC_ALLOC
Unable to allocate system resource.
bffa0022
IVI_ERROR_ACCESS_DENIED
Permission to access file was denied.
bffa0023
IVI_ERROR_TOO_MANY_OPEN_FILES
Too many files are open.
bffa0024
IVI_ERROR_UNABLE_TO_CREATE_TEMP_FILE
Unable to create temporary file in target directory.
bffa0025
IVI_ERROR_NO_UNUSED_TEMP_FILENAMES
All temporary filenames already used in target directory.
bffa0026
IVI_ERROR_DISK_FULL
Disk is full.
bffa0027
IVI_ERROR_CONFIG_FILE_NOT_FOUND
Configuration file was not found on disk.
bffa0028
IVI_ERROR_CANNOT_OPEN_CONFIG_FILE
Cannot open configuration file.
bffa0029
IVI_ERROR_ERROR_READING_CONFIG_FILE
Error reading configuration file.
bffa002a
IVI_ERROR_BAD_INTEGER_IN_CONFIG_FILE
Invalid ViInt32 value in configuration file.
bffa002b
IVI_ERROR_BAD_DOUBLE_IN_CONFIG_FILE
Invalid ViReal64 value in configuration file.
bffa002c
IVI_ERROR_BAD_BOOLEAN_IN_CONFIG_FILE
Invalid ViBoolean value in configuration file.
bffa002d
IVI_ERROR_CONFIG_ENTRY_NOT_FOUND
Entry missing from configuration file.
bffa002e
IVI_ERROR_DRIVER_DLL_INIT_FAILED
Initialization failed in driver DLL.
bffa002f
IVI_ERROR_DRIVER_UNRESOLVED_SYMBOL
Driver module could not be loaded because of an unresolved external reference.
bffa0030
IVI_ERROR_CANNOT_FIND_CVI_RTE
Cannot find CVI Run-Time Engine.
bffa0031
IVI_ERROR_CANNOT_OPEN_CVI_RTE
Cannot open CVI Run-Time Engine.
bffa0032
IVI_ERROR_CVI_RTE_INVALID_FORMAT
CVI Run-Time Engine has invalid format.
bffa0033
IVI_ERROR_CVI_RTE_MISSING_FUNCTION
CVI Run-Time Engine is missing one or more required functions.
bffa0034
IVI_ERROR_CVI_RTE_INIT_FAILED
CVI Run-Time Engine initialization failed, probably because of insufficient memory.
bffa0035
IVI_ERROR_CVI_RTE_UNRESOLVED_SYMBOL
CVI Run-Time Engine could not be loaded because of an unresolved external reference.
bffa0036
IVI_ERROR_LOADING_CVI_RTE
Failure loading CVI Run-Time Engine.
bffa0037
IVI_ERROR_CANNOT_OPEN_DLL_FOR_EXPORTS
Cannot open DLL to read exports.
bffa0038
IVI_ERROR_DLL_CORRUPTED
DLL file is corrupt.
bffa0039
IVI_ERROR_NO_DLL_EXPORT_TABLE
No export table in DLL.
bffa003a
IVI_ERROR_UNKNOWN_DEFAULT_SETUP_ATTR
Unknown attribute name for initial setting in configuration file.
bffa003b
IVI_ERROR_INVALID_DEFAULT_SETUP_VAL
Invalid attribute value for initial setting in configuration file.
bffa003c
IVI_ERROR_UNKNOWN_MEMORY_PTR
Memory pointer specified is not known.
bffa003d
IVI_ERROR_EMPTY_CHANNEL_LIST
Unable to find any channel or repeated capability strings.
bffa003e
IVI_ERROR_DUPLICATE_CHANNEL_STRING
The channel or repeated capability list contains two instances of the same name.
bffa003f
IVI_ERROR_DUPLICATE_VIRT_CHAN_NAME
The VirtualChannelNames item in the configuration filecontains a duplicate virtual channel name.
bffa0040
IVI_ERROR_MISSING_VIRT_CHAN_NAME
The VirtualChannelNames item in the configuration filecontains an entry without a virtual channel name (nothing before the '=').
bffa0041
IVI_ERROR_BAD_VIRT_CHAN_NAME
The VirtualChannelNames item in the configuration filecontains an invalid virtual channel name. Channel names must contain
only alphanumerics, underscores, or an exclamation point.
bffa0042
IVI_ERROR_UNASSIGNED_VIRT_CHAN_NAME
The VirtualChannelNames item in the configuration filecontains a virtual channel name without an assigned channel string (i.e.,
nothing after '=').
bffa0043
IVI_ERROR_BAD_VIRT_CHAN_ASSIGNMENT
The VirtualChannelNames item in the configuration filecontains a virtual channel name that is assigned to an unknown or invalid
channel string.
bffa0044
IVI_ERROR_CHANNEL_NAME_REQUIRED
Channel or repeated capability name required.
bffa0045
IVI_ERROR_CHANNEL_NAME_NOT_ALLOWED
The channel or repeated capability name is not allowed.
bffa0046
IVI_ERROR_ATTR_NOT_VALID_FOR_CHANNEL
The attribute is not valid for the specified channel or repeated capability.
bffa0047
IVI_ERROR_ATTR_MUST_BE_CHANNEL_BASED
This operation requires a channel- or repeated capability-based attribute. The specified attribute is not channel- or repeated
capability-based.
bffa0048
IVI_ERROR_CHANNEL_ALREADY_EXCLUDED
The channel has already been excluded for the specified attribute and cannot be re-included.
bffa0049
IVI_ERROR_MISSING_OPTION_NAM
The option string parameter contains an entry without a name (nothing before the '=').
bffa004a
IVI_ERROR_MISSING_OPTION_VALUE
The option string parameter contains an entry without a value (nothing after the '=').
bffa004b
IVI_ERROR_BAD_OPTION_NAME
The option string parameter contains an entry with an unknown option name.
bffa004c
IVI_ERROR_BAD_OPTION_VALUE
The option string parameter contains an entry with an unknown option value.
bffa004d
IVI_ERROR_NOT_CREATED_BY_CLASS
This operation is valid only on a sesssion created by a class driver.
bffa004e
IVI_ERROR_IVI_INI_IS_RESERVED
You cannot create a configuration file named "ivi.ini". That filename is reserved.
bffa004f
IVI_ERROR_DUP_RUNTIME_CONFIG_ENTRY
There already is an entry of the same name in the run-time configuration.
bffa0050
IVI_ERROR_INDEX_IS_ONE_BASED
The index parameter is one-based. You must pass a number greater than or equal to 1.
bffa0051
IVI_ERROR_INDEX_IS_TOO_HIGH
The index exceeds the number of items available.
bffa0052
IVI_ERROR_ATTR_NOT_CACHEABLE
You cannot set the cache for an attribute that has the IVI_VAL_NEVER_CACHE flag.
bffa0053
IVI_ERROR_ADDR_ATTRS_MUST_BE_HIDDEN
An instrument driver cannot export a ViAddr attribute to the end-user. Use the IVI_VAL_HIDDEN flag macro to make it a private
attribute.
bffa0054
IVI_ERROR_BAD_CHANNEL_NAME
Channel or repeated capability strings must contain only alphanumerics, underscores, or an exclamation point
bffa0055
IVI_ERROR_BAD_PREFIX_IN_CONFIG_FILE
The Prefix item in the configuration file does not match the specific driver's prefix
bffa0056
IVI_ERROR_OUT_OF_MEMORY
The necessary memory could not be allocated.
bffa0057
IVI_ERROR_OPERATION_PENDING
Operation in progress.
bffa0058
IVI_ERROR_NULL_POINTER
Null pointer passed for parameter or attribute.
bffa0059
IVI_ERROR_UNEXPECTED_RESPONSE
Unexpected response from the instrument.
bffa005a

Unknown status code
bffa005b
IVI_ERROR_FILE_NOT_FOUND
File not found.
bffa005c
IVI_ERROR_INVALID_FILE_FORMAT
The file format is invalid.
bffa005d
IVI_ERROR_STATUS_NOT_AVAILABLE
The instrument status is not available.
bffa005e
IVI_ERROR_ID_QUERY_FAILED
Instrument ID Query failed.
bffa005f
IVI_ERROR_RESET_FAILED
Instrument reset failed.
bffa0060
IVI_ERROR_RESOURCE_UNKNOWN
Insufficient location information or resource not present in the system.
bffa0061
IVI_ERROR_ALREADY_INITIALIZED
The driver is already initialized.
bffa0062
IVI_ERROR_CANNOT_CHANGE_SIMULATION_STATE
The simulation state cannot be changed.
bffa0063
IVI_ERROR_INVALID_NUMBER_OF_LEVELS_IN_SELECTOR
The number of levels in the selector is not valid for the repeated capability.
bffa0064
IVI_ERROR_INVALID_RANGE_IN_SELECTOR
The range is not valid for the repeated capability.
bffa0065
IVI_ERROR_UNKOWN_NAME_IN_SELECTOR
Unknown name in selector.
bffa0066
IVI_ERROR_BADLY_FORMED_SELECTOR
The repeated capability selector is badly-formed.
bffa0067
IVI_ERROR_UNKNOWN_PHYSICAL_IDENTIFIER
Unknown physical repeated capability selector.
How did we do?
0 out of 0 people found this helpful.