Connecting to a Real-Time Controller
- Updated2025-06-30
- 5 minute(s) read
Connecting to a Real-Time Controller
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.
Supplies
To network the FieldDAQ device to a Real-Time controller, you need the following items.
- Host Computer
- Supported Real-Time Controller
- LabVIEW Software, if not already installed
- LabVIEW Real-Time Module, if not already installed
- 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 Input Cable
- 8-pin X-coded M12 Ethernet Cable
- External Power Supply
- 5-pin A-coded M12 I/O Cables and Accessories
Connecting to a Real-Time Controller
Connect the FD-11634 to a Real-Time controller.
When using an NI Real-Time controller as the host, you can only use select controllers with the NI Linux Real-Time operating system that support NI-DAQmx. Supported NI Linux Real-Time controllers include the IC-317x, cRIO-9035/9039 Sync, cRIO-904x/905x, and cDAQ-9132/9133/9134/9135/9136/9137 for LabVIEW Real-Time.[1]1 The cDAQ-9138/9139 for LabVIEW Real-Time controllers will not work in this configuration.
- 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.
- 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-11634 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 FD11634-<serial number>.
-
Click Add Selected Devices. The FieldDAQ device is added
under the Real-Time controller in the MAX configuration tree.
Figure 26. 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.
Related Information
- Topology Options
Learn about the recommended topology options—line, ring, and star—land the advantages and disadvantages of each topology to choose the best option for your configuration.
- Wiring External Power to the FD-11634
Power the FD-11634 by wiring it to an external power source.
- Power LED
The green POWER LED on the front panel identifies when the device is powered.
- 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.