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 IviSwtch_error_message function. To obtain additional information about the error condition, use the IviSwtch_GetError and IviSwtch_ClearError functions.
Error Codes |
Value |
Description |
IVISWTCH_ERROR_INVALID_SWITCH_PATH |
0xBFFA2001 |
Invalid path list string. |
IVISWTCH_ERROR_INVALID_SCAN_LIST |
0xBFFA2002 |
The given scan list string does not have the correct syntax. |
IVISWTCH_ERROR_RSRC_IN_USE |
0xBFFA2003 |
One of the channels in the path is a configuration channel that is in use. |
IVISWTCH_ERROR_EMPTY_SCAN_LIST |
0xBFFA2004 |
No scan list specified. |
IVISWTCH_ERROR_EMPTY_SWITCH_PATH |
0xBFFA2005 |
The specified path list string is empty. |
IVISWTCH_ERROR_SCAN_IN_PROGRESS |
0xBFFA2006 |
The switch module is currently scanning through the scan list. |
IVISWTCH_ERROR_NO_SCAN_IN_PROGRESS |
0xBFFA2007 |
The switch module is not currently scanning through the scan list. |
IVISWTCH_ERROR_NO_SUCH_PATH |
0xBFFA2008 |
No explicit path exists between the channels. |
IVISWTCH_ERROR_IS_CONFIGURATION
_CHANNEL |
0xBFFA2009 |
An explicit connection to a configuration channel is not allowed. |
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 |
A connection between two different sources is not allowed. |
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 the 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_CANNOT_CONNECT_TO_ITSELF |
0xBFFA2015 |
A channel cannot be connected to itself. |
IVISWTCH_ERROR_TRIGGER_NOT_SOFTWARE |
0xBFFA1001 |
The switch trigger attribute is not set to software trigger. |