IviSwtch Error and Warning Codes

LabVIEW IVI Class Driver

IviSwtch Error and Warning Codes

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

Status Code Ranges

Status Code Type Numeric Range (in Hex)
IviSwtch Errors 0xBFFA2001 to 0xBFFA3FFF
IviSwtch Warnings (Scroll down to see these values.) 0x3FFA2001 to 0x3FFA3FFF
IVI Specific Driver Errors 0xBFFA4000 to 0xBFFA5FFF
IVI Specific Driver Warnings 0x3FFA4000 to 0x3FFA5FFF
IVI Errors BFFA0000 to BFFA1FFF
IVI Warnings 3FFA0000 to 3FFA1FFF
Common Instrument Driver Errors BFFC0000 to BFFCFFFF
Common Instrument Driver Warnings 3FFC0000 to 3FFCFFFF
VISA Errors BFFF0000 to BFFFFFFF
VISA Warnings 3FFF0000 to 3FFFFFFF

IviSwtch Error Codes

Error Value Message
IVISWTCH_ERROR_INVALID_SWITCH_PATH 0xBFFA2001 Invalid path string.
IVISWTCH_ERROR_INVALID_SCAN_LIST 0xBFFA2002 Invalid Scan List string.
IVISWTCH_ERROR_RSRC_IN_USE 0xBFFA2003 One of the channels is a configuration channel that is in use or is a common multiplexer channel that is in use.
IVISWTCH_ERROR_EMPTY_SCAN_LIST 0xBFFA2004 The scan list string is empty.
IVISWTCH_ERROR_EMPTY_SWITCH_PATH 0xBFFA2005 The path string is empty.
IVISWTCH_ERROR_SCAN_IN_PROGRESS 0xBFFA2006 The switch module is currently in scanning mode and the operation cannot be performed at this time.
IVISWTCH_ERROR_NO_SCAN_IN_PROGRESS 0xBFFA2007 The switch module is currently not in scanning mode and the operation cannot be performed at this time.
IVISWTCH_ERROR_NO_SUCH_PATH 0xBFFA2008 No explicit path exists between the two channels.
IVISWTCH_ERROR_IS_CONFIGURATION_CHANNEL 0xBFFA2009 You cannot make an explicit connection to a configuration channel.
IVISWTCH_ERROR_NOT_A_CONFIGURATION_CHANNEL 0xBFFA200A One of the non-terminal channels in the path is not a configuration channel.
IVISWTCH_ERROR_ATTEMPT_TO_CONNECT_SOURCES 0xBFFA200B You cannot make a connection between two different sources.
IVISWTCH_ERROR_EXPLICIT_CONNECTION_EXISTS 0xBFFA200C An explicit connection between the channels already exists.
IVISWTCH_ERROR_LEG_MISSING_FIRST_CHANNEL 0xBFFA200D A leg in the path does not begin with a channel name.
IVISWTCH_ERROR_LEG_MISSING_SECOND_CHANNEL 0xBFFA200E A leg in the path is missing the second channel.
IVISWTCH_ERROR_CHANNEL_DUPLICATED_IN_LEG 0xBFFA200F The first and second channels in the leg are the same.
IVISWTCH_ERROR_CHANNEL_DUPLICATED_IN_PATH 0xBFFA2010 A channel name is duplicated in the path string.
IVISWTCH_ERROR_PATH_NOT_FOUND 0xBFFA2011 No path was found between the two channels.
IVISWTCH_ERROR_DISCONTINUOUS_PATH 0xBFFA2012 The first channel of a leg in the path is not the same as the second channel in the previous leg.
IVISWTCH_ERROR_CANNOT_CONNECT_DIRECTLY 0xBFFA2013 The path contains a leg with two channels that cannot be directly connected.
IVISWTCH_ERROR_CHANNELS_ALREADY_CONNECTED 0xBFFA2014 A leg in the path contains two channels that are already directly connected.
IVISWTCH_ERROR_CANNOT_CONNECT_TO_ITSELF 0xBFFA2015 A channel cannot be connected to itself.
IVISWTCH_ERROR_TRIGGER_NOT_SOFTWARE 0xBFFA1001 The switch trigger property is not set to software trigger.

IviSwtch Warning Codes

Warning Value Message
IVISWTCH_WARN_PATH_REMAINS 0x3FFA2001 Some connections remain after disconnecting.
IVISWTCH_WARN_IMPLICIT_CONNECTION_EXISTS 0x3FFA2002 The channels are implicitly connected.

Related Topic

IVI Status Codes