Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Does nidaqmxconfig exist for NI-DAQmx Base 3.1 for Linux

I'm using NI-DAQmx Base 3.1 for Linux, and I have three USB 6218 devices in my system.

 

I'd like to give them meaningful names instead of 'Dev1', etc, and also be able to assign the names based upon the device-specific USB information - for example, the string'01361364' in the output from lsdaq below which is different for each box:

 

--------------------------------
Detecting National Instruments DAQ Devices
Found the following DAQ Devices:
NI USB-6218: "Dev1"    (USB0::0x3923::0x7272::01361364::RAW)
--------------------------------

I found online references to the 'nidaqmxconfig' utility which can do the renaming, but that apparently is only part of NI-DAQmx and not NI-DAQmx Base.

 

Is there a way to do this with NI-DAQmx Base 3.1 for Linux?

 

0 Kudos
Message 1 of 2
(2,878 Views)

Hi Richard-

 

No, it is not possible to rename devices in NI-DAQmx Base.  You could parse the output of lsdaq to pull out the serial number (which is the 8-digit hex octet between the product ID 0x7272 and protocol RAW) and correlate it with the device name assigned by NI-DAQmx Base.  FYI- the device names in NI-DAQmx Base are assigned dynamically so they will depend completely on which hardware is installed on your system when you run lsdaq or your application.

 

Hopefully this helps-

Tom W
National Instruments
0 Kudos
Message 2 of 2
(2,858 Views)