How Will Replacing My NI DAQ Hardware Affect My DAQmx Tasks and VI's?

Updated May 15, 2020

Reported In

Driver

  • NI-DAQmx

Issue Details

I am using some NI DAQ hardware and want to replace it with the same model(s). Can my DAQmx Tasks and/or DAQmx LabVIEW VI's still run once I do this or will I need to make any edits within the software?

Solution

DAQmx Tasks and VI's reference devices by their alias as it appears in NI-MAX. As long as the replacement device aliases match that of the original devices', any DAQmx Tasks or VI's will correctly use the replacement device without any additional needed edits.

 

Additional Information

If you want your LabVIEW code to programmatically find the replacement device's name rather than manually checking and changing it via NI-MAX, refer to Programmatically Finding Device Name of DAQ Device in System in LabVIEW.