Error and Status Codes

NI Switches

Error and Status Codes

NI-SWITCH Codes

Hexadecimal CodeError and Status CodeDescription
0xBFFA4001NISWITCH_ERROR_SESSION_ALREADY_OPEN Another process has already opened a session to this switch module.
0xBFFA4002NISWITCH_ERROR_INVALID_RESOURCE_DESCRIPTOR Invalid resource name.
0xBFFA4003NISWITCH_ERROR_SCANNING_NOT_SUPPORTED You have set an attribute or called a function that is only used for scanning, and this switch module does not support scanning (or this module does not support scanning in the current topology).
0xBFFA4004NISWITCH_ERROR_MUST_SPECIFY_MODULE You have indicated that a non-cabled module should get its trigger from the rear connector, and the niSwitch software could not automatically detect which cabled module to route the trigger from. Be more specific (ie, specify Rear Connector of Module X).
0xBFFA4005NISWITCH_ERROR_MODULE_FIFO_LENGTH_EXCEEDED The scan list commands exceeds the size of memory on the switch module.
0xBFFA4006NISWITCH_ERROR_HW_COMMUNICATE_TMO Error communicating with hardware. Internal timeout occurred waiting for hardware response.
0xBFFA4007NISWITCH_ERROR_TTL_BUS_REQUIRED Expecting trigger or scan advanced bus to be one of the TTL lines (ttl0-ttl7).
0xBFFA4008NISWITCH_ERROR_MODULE_IS_BBM_ONLY This module requires scan mode to be Break Before Make.
0xBFFA4009NISWITCH_ERROR_1127_TTL1_CONFLICT TTL 1 conflict detected. SCXI 1127 modules constantly use the TTL 1 line. Use a different line, or power down the chassis and remove all 1127 modules from it.
0xBFFA400BNISWITCH_ERROR_INVALID_DRIVER_SETUP_STRING The driver setup string is invalid.
0xBFFA400CNISWITCH_ERROR_TOPOLOGY_NOT_SUPPORTED No legacy device supports the specified topology. Use a different topology, or configure the device under DAQmx and use the DAQmx resource descriptor.
0xBFFA400DNISWITCH_ERROR_INVALID_TOPOLOGY The specified topology string is invalid.
0xBFFA400ENISWITCH_ERROR_HARDWARE_UNEXPECTEDLY_RESET The device was unexpectedly power cycled. Close and re-open the session.
0xBFFA400FNISWITCH_ERROR_HANDSHAKING_INITIATION_CONFLICT The values for Handshaking Initiation and Trigger Input are incompatible. An Immediate Trigger Input is not compatible with Measurement Device Initiated (or DMM Initiated) Handshaking Initiation.
0xBFFA4010NISWITCH_ERROR_LEGACY_DESCRIPTOR_DAQMX_RSC_TYPE A legacy resource descriptor was specified, but the driver setup string specifies a DAQmx resource type.
0xBFFA4011NISWITCH_ERROR_DAQMX_DESCRIPTOR_LEGACY_RSC_TYPE A DAQmx resource descriptor was specified, but the driver setup string specifies a Legacy resource type.
0xBFFA4012NISWITCH_ERROR_AMBIGUOUS_MODEL_CODE Model code specified in the driver setup string is ambiguous. Multiple switches match the specified model code.
0xBFFA4013NISWITCH_ERROR_TRIGGER_INPUT_NOT_SUPPORTED The trigger input specified is not supported by the device.
0xBFFA4014NISWITCH_ERROR_INVALID_TERMINALBLOCK_FOR_TOPOLOGY The configured terminal block is invalid for current topology.
0xBFFA4015NISWITCH_ERROR_CANT_INVERT_WHEN_SOURCE_EQUALS_DEST Signal cannot be inverted when the signal source equals the destination.
0xBFFA4016NISWITCH_ERROR_CONFLICTING_TRIGGER_ROUTE_EXISTS Requested trigger route cannot be made because a conflicting trigger route already exists.
0xBFFA4017NISWITCH_ERROR_INVALID_VALUE_FOR_DEVICE This device does not support the specified value for this attribute or operation.
0xBFFA4018NISWITCH_ERROR_TRIGGER_POLARITY_CONFLICTTrigger input polarity and scan advanced output polarity must be the same on this particular switch device.

IviSwtch Codes

Hexadecimal CodeError and Status CodeDescription
0xBFFA1001IVISWTCH_ERROR_TRIGGER_NOT_SOFTWAREThe trigger source is not software trigger.
0x3FFA2001IVISWTCH_WARN_PATH_REMAINSSome connections remain after disconnecting.
0x3FFA2002IVISWTCH_WARN_IMPLICIT_CONNECTION_EXISTSThe channels are implicitly connected.
0xBFFA2001IVISWTCH_ERROR_INVALID_SWITCH_PATHInvalid path string.
0xBFFA2002IVISWTCH_ERROR_INVALID_SCAN_LISTInvalid Scan List string.
0xBFFA2003IVISWTCH_ERROR_RSRC_IN_USEOne of the channels is a configuration channel that is in use or is a common multiplexer channel that is in use.
0xBFFA2004IVISWTCH_ERROR_EMPTY_SCAN_LISTThe scan list string is empty.
0xBFFA2005IVISWTCH_ERROR_EMPTY_SWITCH_PATHThe path string is empty.
0xBFFA2006IVISWTCH_ERROR_SCAN_IN_PROGRESSThe switch module is currently in scanning mode, and the operation cannot be performed at this time.
0xBFFA2007IVISWTCH_ERROR_NO_SCAN_IN_PROGRESSThe switch module is not currently in scanning mode, and the operation cannot be performed at this time.
0xBFFA2008IVISWTCH_ERROR_NO_SUCH_PATHNo explicit path exists between the two channels.
0xBFFA2009IVISWTCH_ERROR_IS_CONFIGURATION_CHANNELYou cannot make an explicit connection to a configuration channel.
0xBFFA200AIVISWTCH_ERROR_NOT_A_CONFIGURATION_CHANNELOne of the non-terminal channels in the path is not a configuration channel.
0xBFFA200BIVISWTCH_ERROR_ATTEMPT_TO_CONNECT_SOURCESYou cannot make a connection between two different sources.
0xBFFA200CIVISWTCH_ERROR_EXPLICIT_CONNECTION_EXISTSAn explicit connection between the channels already exists.
0xBFFA200DIVISWTCH_ERROR_LEG_MISSING_FIRST_CHANNELA leg in the path does not begin with a channel name.
0xBFFA200EIVISWTCH_ERROR_LEG_MISSING_SECOND_CHANNELA leg in the path is missing the second channel.
0xBFFA200FIVISWTCH_ERROR_CHANNEL_DUPLICATED_IN_LEGThe first and second channels in the leg are the same.
0xBFFA2010IVISWTCH_ERROR_CHANNEL_DUPLICATED_IN_PATHA channel name is duplicated in the path string.
0xBFFA2011IVISWTCH_ERROR_PATH_NOT_FOUNDNo path was found between the two channels.
0xBFFA2012IVISWTCH_ERROR_DISCONTINUOUS_PATHThe first channel of a leg in the path is not the same as the second channel in the previous leg.
0xBFFA2013IVISWTCH_ERROR_CANNOT_CONNECT_DIRECTLYThe path contains a leg with two channels that cannot be directly connected.
0xBFFA2014IVISWTCH_ERROR_CHANNELS_ALREADY_CONNECTEDA leg in the path contains two channels that are already directly connected.
0xBFFA2015IVISWTCH_ERROR_CANNOT_CONNECT_TO_ITSELFA channel cannot be connected to itself.
0xBFFA2016IVISWTCH_ERROR_MAX_TIME_EXCEEDED Maximum time exceeded before the operation completed.