0.60

ReferenceHardwareNational InstrumentsConfigure a device

Configure an NI device

Connect National Instruments DAQ hardware to the Driver and configure it for tasks.

The Driver connects to National Instruments hardware that works with NI-DAQmx: CompactDAQ chassis and modules, USB and PCIe DAQ devices, and PXI. It finds them through NI-DAQmx. Before a task can use a device, you configure it.

Prerequisites

Supported
WindowsLinuxNI Linux RT
Not supported
macOSDocker

How the Driver finds devices

The Driver looks for NI devices every few seconds. A device shows in the devices toolbar with:

  • Name -> NI and the model, such as NI 9205 or NI USB-6343.
  • Location -> the name of the device in NI-DAQmx, such as Dev1 or cDAQ1Mod1. The Driver uses it to address the ports of the device, such as Dev1/ai0.

The key of an NI device is its serial number. Modules show under their chassis. The Driver skips CompactRIO controllers, but it finds the modules in them.

To stop the search, right-click the Driver in the devices toolbar and select Toggle NI device scanner.

Configure a device

Enterprise
  1. In the devices toolbar, right-click the device and select Configure. You can also click Configure in the “New … connected” notification. To list each device that the Driver found, click and select NI hardware.
  2. Enter a Name and an Identifier, or click one of the identifiers that the Console suggests.
  3. Click Save. To also open a read task for the device, click Save and create read task.

Configure each module that a task uses.

Do not create NI devices in code. A device that you create has a different key than the device that the Driver finds, and the Console cannot use it.

Troubleshooting

For other problems, see Troubleshoot hardware.