The Ethernet RIO expansion chassis is intended to be connected to a switch, router, or existing Ethernet network; however, you can connect it to the secondary port of a real-time controller. When using real-time controllers with two Ethernet ports, Ethernet port 1 is used for communication between the real-time controller and the host PC. This includes communicating with the controller via NI LabVIEW system design software and Measurement & Automation Explorer (MAX). Ethernet port 2 is used to communicate with a private network, which is not visible to the host PC. In this tutorial, learn how to communicate with an Ethernet RIO expansion chassis when you connect it to the secondary port of a dual Ethernet port LabVIEW real-time controller.
Note that connecting an Ethernet RIO expansion chassis to the secondary Ethernet port of a real-time controller is not the intended use case for the Ethernet RIO expansion chassis as a connection to the primary Ethernet port can be achieved by using a network switch. If you wish to use this configuration, you should consider using the NI EtherCAT RIO slave chassis.
See more information on EtherCAT RIO.
This example uses NI cRIO-9074 for the dual-port LabVIEW real-time controller; however, you can use this process for any dual-port LabVIEW real-time controller. The NI 9149 was used for the Ethernet RIO expansion chassis, but the process is the same for all Ethernet RIO expansion chassis.
Requirements
- Any dual Ethernet port LabVIEW Real-Time controller
- LabVIEW 2014 or later1
- LabVIEW 2014 Real-Time Module or later (only required for the real-time controller)
- LabVIEW 2014 FPGA Module or later2
- NI-RIO 14.0 or later1
- Ethernet crossover cable
Note: Software should be installed in the order listed.
- LabVIEW 2014 and NI-RIO 14.0 are the minimum software versions that you can use with the NI 9149 Ethernet RIO. If you’re using a different Ethernet RIO expansion chassis, you will need to consult your documentation for the minimum software requirements.
- The LabVIEW FPGA Module is necessary only if you plan to write your own FPGA program for the FPGA target on the Ethernet RIO expansion chassis. It is possible to use the Scan Mode Interface without the FPGA module.