In this section, learn how to configure the network settings of your CompactRIO controller. Before beginning this process, you should have the proper software installed on your computer and your CompactRIO system should be connected to your development computer.
Once you find your device, install NI software on your CompactRIO controller. If you cannot find your device, complete the following troubleshooting steps.
NI System Configuration 15.0 introduced a troubleshooting utility called Troubleshooting Remote System Discovery Wizard to assist with device discovery issues. This utility automates some of the troubleshooting process and generates a set of additional procedures tailored for your device and configuration. Complete the following steps to launch the utility.
LabVIEW 2015 or Later
LabVIEW 2014 and Earlier
If you are not able to install the latest version of NI System Configuration or the utility is not able to discover your device, complete the following troubleshooting procedures:
Your device driver must explicitly support the hardware you are trying to configure in MAX, and the device driver must be compatible with your installed LabVIEW version. For more information on determining software compatibility refer to this document.
All software must be installed in the correct order as outlined this document. For a CompactRIO target the following software should be installed in the following order:
To confirm what versions of software your are using refer to this document.
If a firewall is blocking communication, temporarily disabling it should allow you to successfully connect to the RIO through MAX.
If the connection is successful, both the Windows firewall and third-party firewalls must be configured to allow the device discovery network traffic.
You can apply firewall exceptions for a software application or for specific network ports (Refer to the attachment Network Ports Used for Device Discovery).
To configure the Windows firewall, perform the following steps:For Windows XP
See Configuring Software and Hardware Firewalls to Support National Instruments Products for more information.
Many newer devices are equipped with a USB port you can use to configure the device with Ethernet (link-local) over USB.
If your device came with a USB cable, use it to directly connect to your host PC.
If MAX now recognizes the device, you can configure the network settings.
Some devices have a display port and print network information on the display.
Display ports on embedded targets will only be functional if they have previously been enabled through MAX or the Web Interface (WIF).
Connect a display using Mini DisplayPort adapter and then restart the device. Refer to Blank Monitor Display When Connected to a cRIO Controller for more information on supported display cable options.
Some devices only support discovery protocols on the primary (lowest numbered) Ethernet port.
Check the device's User Manual for more information about which Ethernet port is primary.
Connect the Ethernet cable to the primary port and then restart the device.
Running safe-mode ensures the software on the device is stable and also disables the startup application.For Devices With DIP Switches
Most devices have an RS-232 serial port, which you can enable to print system information during boot.
Console Out can only be used if the device was previously enabled, either through MAX, the WIF, or by switching on the Console Out DIP switch (if available on your device).
Ensure you have a null modem serial cable and a serial client software like PuTTY and then complete the procedure in the following document: How Do I Enable the Console Out on CompactRIO, Single-Board RIO, CompactFieldPoint Controllers?
Resetting the IP address can help resolve IP address conflicts and allows the system to obtain a new IP address.
Older targets default to a static 0.0.0.0 address. Newer targets attempt to obtain a DHCP / Link-Local address.For Devices With DIP Switches
For automatic discovery, both the host PC and the RIO should have the following settings:
Contact your IT Department to determine what subnets are in use on your network and for assistance adjusting your network settings.
If your device is on another subnet and you know its IP address, you can manually add the target in MAX by right-clicking Remote Systems»Create New... and entering the IP address of your device.
Devices with a 0.0.0.0 IP address cannot be configured from a remote subnet. In this situation you will need to manually add your host computer to the same subnet as the device, configure it and then return your host computer to its original subnet.
See Subnetting for more information.