Imaging your cRIO

Before imaging your cRIO, you must have completed installation of the the development environment and language updates for the appropriate programming language (C++, Java, LabVIEW).You must also complete the NI FRC Update installation. You also must have the cRIO power properly wired to the Power Distribution board (see this document for instructions)

Configure computer IP address

Configure computer IP address

To image the cRIO, the IP address of your computer should be set to 10.xx.yy.5 where XXYY is your 4 digit team number (see chart for examples). The instructions below detail how to set this on Windows 7, there may be slight differences on Vista or XP. Note: If you are planning on running the Driver Station software on a separate PC, you should use an address ending in .6 instead of .5 as the Driver Station uses .5

Network Adapter Properties

Network Adapter Properties

To set the IP address, click on Start > Control Panel > View Network Status and Tasks > Change Adapter Settings, then double-click on Local Area Connection to display the Local Area Connection Properties dialog.

TCP/IP Properties

TCP/IP Properties

Click on Internet Protocol Version 4 (TCP/IPv4) to highlight it, then click Properties.

Set IP address

Set IP address

On the TCP/IP properties page:

  1. Click the bubble next to Use the following IP address
  2. Enter your 10.xx.yy.5 or .6 address into the IP address box
  3. Change the Subnet mask to 255.255.255.0
  4. Click OK. Then click Close on the Local Area Connection Properties dialog box,

Note: For proper operation on the playing field at competition the subnet mask should be set back to 255.0.0.0 after imaging is complete if this PC will be used as a Driver Station.

Connect cRIO Ethernet to PC

Connect cRIO Ethernet to PC

Connect the ethernet cord from the cRIO to the PC. It is sometimes helpful to use a network switch between the cRIO and PC to prevent the PC from disabling the ethernet port when the cRIO reboots. It is NOT recommended to try re-imaging over WiFi. The imaging tool will begin searching for your cRIO automatically.

Select Options and Image cRIO

Select Options and Image cRIO

Once your cRIO is detected, it should be displayed in the box near the top of the Imaging Tool. Select the options you wish to use, then image the cRIO:

  1. Select the programming language to use. LabVIEW teams are strongly recommended to check the Always run deployed code at startup checkbox.
  2. Select whether to enable NetConsole (Java teams will have NetConsole enabled automatically)
  3. Select a CAN plugin if appropriate. Note that if you select a CAN plugin with the Console Out feature enabled, on a 4-slot cRIO-FRCII the Console Out will be disabled automatically, on an 8-slot cRIO-FRC you will see a prompt to flip the switch to disable Console Out.
  4. Check the box next to Format Controller.
  5. Verify that the image listed is FRC_2014_v52.zip (Note: The picture above shows 2013_v46). If there is no image listed in this box or the image is not v52, make sure you have installed the latest update for your programming language.
  6. Enter a name for the cRIO device.
  7. Enter your FRC team number in the Team ID box.
  8. Click Apply. The cRIO imaging tool will begin imaging your cRIO, after it is complete, you should see a message indicating that the imaging is complete and you need to load code in order to use the cRIO.

Note: For proper operation on the playing field at competition the subnet mask should be set back to 255.0.0.0 after imaging is complete if this PC will be used as a Driver Station.

For instructions on connecting the Driver Station to the cRIO for the first time and verifying connectivity see Using the Classmate with your cRIO.

For instructions on writing and loading your first program see one of these documents or manuals: C++, Java, LabVIEW.

Other Features of the Imaging Tool

Other Features of the Imaging Tool

The cRIO Imaging Tool contains two other features you may find useful:

  1. Module Validation: The cRIO Imaging Tool will show the modules currently detected by the cRIO and highlight valid slots in green and invalid slots in red. Hover over any invalid or empty slot for more information about the correct module to install there.
  2. cRIO Switches: On the 8-slot cRIO-FRC this box will show the status of the hardware DIP switches, no changes can be made to the 8-slot switch configuration using this tool. For the 4-slot cRIO-FRC the hardware dip switches have been removed and replaced by virtual software switches which can be configured using the cRIO Imaging Tool.

Troubleshooting cRIO Imaging

If the cRIO Imaging Tool is unable to locate the cRIO, or a Timout error message is displayed during cRIO Imaging, the issue is likely with the network configuration. One or more of the following steps may be necessary in order to image your cRIO:

  1. Disable all other Network Adapters on the computer. Open the Network Connections window from the Control Panel (see Network Adapter Properties step above), then for each adapter other than the Local Area Connection you are using to image the cRIO, right-click on the adapter and select Disable.
  2. Try using a network switch between the cRIO and computer: Some computers have issues reconnecting to the cRIO after the cRIO reboots as part of the imaging process. Placing a switch between the two devices, such as the D-Link DAP-1522 provided in the Kit of Parts typically mitigates this problem.
  3. Disable Windows Firewall or other firewalls: Windows Firewall may be blocking the cRIO Imaging Tool, preventing it from detecting the cRIO. If possible, temporarily disable the Firewall by following the steps below.
  4. Check that the adapter is set to a single IP address. To do this open the Network Properties as shown in the Configure Computer IP Address steps above. When you reach the last step, click the Advanced button and verify that only one address is listed in the top box. If multiple addresses are present, select the extra addresses and click Remove.
  5. If the cRIO is still not detected, try rebooting the cRIO in Safe Mode. To reboot in Safe Mode on an 8-slot cRIO, flip the Safe Mode DIP switch, then reset the cRIO. To reboot in Safe Mode on a 4-slot cRIO, hold the reset button for 5 seconds, then release. If the cRIO is detected by the imaging tool attempt to format. The tool will prompt you to take the cRIO out of Safe Mode, then try again.
  6. Try a different PC: If none of the above steps work, try using a different computer to image the cRIO.

Disabling Windows Firewall

Disabling Windows Firewall

Browse to Start > Control Panel > System and Security > Windows Firewall > Turn Windows Firewall on or off. Make sure to turn the firewall off for all locations listed, then click OK.

If the Firewall cannot be disabled, make sure that the FRC cRIO Imaging Tool is allowed through by selecting Allow a program or feature through Windows Firewall from the Windows Firewall screen, then click Change Settings and make sure that FRC CRIO Imaging Tool is listed and has a checkmark for all three network locations. If it is not listed you will have to add it using the Allow another program... button and browsing to the imaging tool location C:\Program Files\National Instruments\LabVIEW 2013\project\CRIO Tool