Connecting to a Real-Time Controller
- Updated2025-05-30
- 4 minute(s) read
You can use the FieldDAQ device as expansion I/O from certain NI Linux Real-Time controllers. Discover and configure the NI Linux Real-Time controller in NI MAX, then discover and configure the FieldDAQ device.
To network the FieldDAQ device to a Real-Time controller, you need the following items.
- A supported Real-Time controller
- LabVIEW software, if not already installed
- LabVIEW Real-Time Module, if not already installed[2]2 LabVIEW Real-Time 2017 or later required to use the FieldDAQ synchronization features.
- Driver for the Real-Time controller, if not already installed
- NI-DAQmx driver, if not already installed
- FieldDAQ device
- 5-pin L-coded M12 power cable
- 8-pin X-coded M12 Ethernet cable[3]3 You can either use a shielded straight-through Ethernet cable or an Ethernet crossover cable to connect the FieldDAQ device directly to your computer.
- External power supply
- Install the LabVIEW, LabVIEW Real-Time Module, and controller driver software on the host machine as instructed in the getting started or quick start document for the Real-Time controller.
-
Install NI-DAQmx on the host machine if the driver was not installed in step 1.
- Download NI-DAQmx from ni.com/downloads/drivers. Complete the instructions.
- Register your NI hardware online at ni.com/register when prompted.
- Download NI-DAQmx to the target using MAX. Refer to the MAX Remote Systems Help by selecting in MAX.
- Set up your Real-Time controller hardware and install software to it as instructed in the getting started or quick start document for the Real-Time controller.
- For CompactRIO and IC controllers, perform a custom installation of the NI-DAQmx feature to the controller. In MAX, expand , and use the Add/Remove Software option. Select the custom installation option and the NI-DAQmx feature, then follow the prompts to complete the installation.
- Make signal connections for your application.
- Carefully align and connect one end of the Ethernet cable to Ethernet port 0 on the FieldDAQ device, and the other end to a switch or network connection on the same subnet as your Real-Time controller, or directly to an open network port on your Real-Time controller. For more information about the recommended configurations for networking the FieldDAQ device in a Real-Time system, refer to Topology Options.
-
Power the device by carefully aligning and connecting the power IN port on
FieldDAQ to an external 9 V DC to 30 V DC power source with the 5-pin
L-coded M12 power cable.
For information about wiring your external power source to the power connector, refer to Wiring External Power to the FieldDAQ Device. The FieldDAQ device requires an external power supply that meets the specifications listed in the FD-11637 Specifications .The Power LED lights. Refer to Power LED for information about Power LED status.
- To add the FieldDAQ to the software configuration on the Real-Time target, open NI MAX on the host computer. In the MAX configuration tree, expand .
- Click Add Network Device, and then Find Network NI-DAQmx Devices.
-
In the Find Network NI-DAQmx Devices dialog box that opens, do one of the
following:
- Check the box that corresponds to your device in the Hostname column.
- If you know the device IP address, such as 192.168.0.2, enter it into the Add Device Manually field of the Find Network NI-DAQmx Devices window, and click the + button.
- Enter the hostname of the device. The default hostname is FD11637-<serial number>.
-
Click Add Selected Devices. The FieldDAQ device is added
under the Real-Time controller in the MAX configuration tree.
Figure 25. Adding the FieldDAQ Device to the Real-Time Controller in MAX 
- If the FieldDAQ device is not reserved automatically, select the device and click the Reserve Network Device button. Refer to Reserving the Device in MAX for more information.
-
Self-test your device in MAX.
- Expand .
- Right-click your FieldDAQ device and select Self-Test.
Self-test performs a brief test to determine successful device installation. When the self-test finishes, a message indicates successful verification or if an error occurred. -
Run a Test Panel in MAX.
- Expand .
-
Right-click the bank of connectors in your FieldDAQ device and select
Test Panels.
If the test panel displays an error message, refer to ni.com/support.
- Click Close to exit the test panel.
1 The cDAQ-9138/9139 for LabVIEW Real-Time controllers will not work in this configuration.
2 LabVIEW Real-Time 2017 or later required to use the FieldDAQ synchronization features.
3 You can either use a shielded straight-through Ethernet cable or an Ethernet crossover cable to connect the FieldDAQ device directly to your computer.
Related Information
- Troubleshooting Device Connectivity
- Reserving the Device in MAX
When the FieldDAQ device is connected to a network, multiple users can access the device. To perform any DAQ functionality on the device, including reset and self-test, you must reserve the device in MAX.