How Do I Find My Ethernet cDAQ with DAQmx for Linux?

Updated Sep 26, 2019

Reported In

Hardware

  • cDAQ-9189
  • cDAQ-9185

Driver

  • NI-DAQmx

Operating System

  • Linux

Issue Details

I have an Ethernet cDAQ chassis and I want to use it in LabVIEW for Linux. How can I find the chassis and the modules to use in LabVIEW?

Solution

Open a terminal window and type nidaqmxconfig --add-net-dev "IP ADDRESS OF THE cDAQ". This adds the chassis to your system. To see the modules, type nidaqmxconfig --reserve "cDAQ CHASSIS NAME". You may have to add the --force flag at the end if it's reserved by another system. The devices should be available now.

To list the devices available on your system, you'll use nilsdev from the command line. Then you will see your chassis and modules.

Additional Information

If you don't know the IP address of your cDAQ, you can scan your network using the arp-scan command.

To see all of the available functions of nidaqmxconfig, just type nidaqmxconfig --help in the terminal window.