Why Do I Get Error -1074118644 Using an NI Switch?
Primary Software: Driver Software>>NI-SWITCH
Primary Software Version: 3.3
Primary Software Fixed Version: N/A
Secondary Software: Utility Software>>Measurement & Automation Explorer
Hardware: Switches
Problem: When I configure an NI switch I get the following error:
Error -1074118644 occured at niSwitch Initialized With Topology.vi
No legacy device supports the specified topology. Use a different topology, or configure the device under DAQmx and use the DAQmx resource descriptor.

I have ensured that the topology is valid and supported for the device but the error occurs with the niSwitch Initialize with Topology VI or the niSwitch_InitWithTopology function.
Why I am receiving this error and how can I fix it?
Solution: To establish a session with the correct switch module, you must pass a resource name to the niSwitch Initialize With Topology VI or the niSwitch_InitWithTopology function. The syntax of the resource name depends on whether the switch is configured as a NI-DAQmx Device or a Traditional NI-DAQ device.
There are two causes of this error.
- First, if the VISA resource name is the same as the NI-DAQmx name the error will occur.
Due to the method in which the database is searched, the NI-DAQmx instance of the resource name will typically be found before the VISA resource name, and once a match is found the NI-Switch API stops the search. The NI-DAQmx device is then incorrectly identified under the PXI System, and the above error will occur.
In order to prevent this error, it is recommended that you do not use the same NI-DAQmx device name and VISA alias for a switch device. The NI-DAQmx name can be changed in Measurement and Automation Explorer (MAX) by right clicking the device under NI-DAQmx Devices, and selecting Rename.
- The second cause of this error occurs when the device is not supported under the Traditional NI-DAQ driver and a VISA alias specified to initialize a switch session.
VISA aliases are only supported for switches that are supported with Traditional NI-DAQ. These switches include NI 2501, 2503, 2565, 2590, and 2591. Initializing one of these switches with a VISA alias causes the Traditional NI-DAQ code path to be executed. If your switch is not supported with Traditional NI-DAQ the above error occurs.
This error can be avoided by using the NI-DAQmx device name, as all switches support this naming convention.
Related Links: NI SwitchesKnowledgeBase 3ER6NTR9: Error -1074118655, -1073807343 or -1074118644 Occurs When Addressing a PXI Instrument
Attachments:
Report Date: 06/20/2008
Last Updated: 10/02/2008
Document ID: 4MJEIND4