NI-SWITCH Error -1074097808 Could Not Load niswitchDaqmx.dll

Updated Apr 14, 2023

Issue Details

I am getting the error code Error -1074097808 at  NI-Switch Initialize.VI Could not load niswitchDaqmx.dll  when I tried to run my LabVIEW code with my NI-SWITCH device. What can I do? 




 

Solution

In order to enable smaller install of components, NI has broken apart the driver and enable dynamic loading of DLLs. This allows customers to install a smaller portion of the driver, so instead of installing the support for all the hardware, you can select which components you want. 

First, make sure that you have all the components installed on your computer (or in the PXI if you are using a controller with a Windows OS), following the instructions below. 

1) Go to NI MAX and in the Software drop-down menu search for NI-SWITCH. 
2) Make sure that you have all the components installed on your computer as is shown in the image below.  
 

 
If you don't have the SwitchCA1,2&3 Device Support or the SwitchCA4 Device Support, you will need to install them following the instructions below. 

1) Go to NI-SWITCH , and download the version of the drivers that you need. 
2) Run the executable and select all the components. 
3) Reboot your computer.  

In case that you are using a PXI controller with an RT OS make sure that you have all the components installed in the controller, you can check this information in NI MAX by going to Remote Systems>>PXI>>Software

As mentioned above if you don't have the SwitchCA1,2&3 Device Support or the SwitchCA4 Device Support, you will need to install them following the instructions below. 

1) Go to NI MAX and go to Add/Remove Software in your controller, following this article Installing Different Versions of Software on My Real-Time Target
2) Select NI-SWITCH and make sure that you include both components in the installation.  

Additional Information

This error may also manifest in NI MAX Test Panels. The Test Panel will error and state that the VISA32.dll is not installed.