LabVIEW for FRC Shows Connection Failed to My roboRIO

Updated Oct 27, 2022

Reported In


  • roboRIO-FRC


  • LabVIEW
  • FRC Software

Issue Details

  • In the FRC Driver Station, the Communications LED is green, and the Robot Code LED is red. On the roboRIO, the Comm LED is red. How do I fix this?
  • I can't push code to my roboRIO, because it fails with the error: Failed to connect to target.
  • When I try to run Robot, or deploy with Run as Startup, I get the following conflict resolution error: 

Connection failed.  The network address might be invalid or the target is not responding.


This article is specific to the FIRST Robotics Competition. If you are not participating in FRC, please refer to: Failed to Connect to the Target When Using a CompactRIO in LabVIEW

This error indicates that LabVIEW is not able to find or communicate with the roboRIO. 
  1. Make sure the roboRIO is connected to the computer by Ethernet or USB.
  2. Make sure you have formatted your roboRIO with the new image using the roboRIO Imaging Tool.
  3. Make sure you can ping the device and/or that the Driver Station shows connection to the target.
    1. If the Driver Station does not connect to the roboRIO, please visit: Unable to Connect to roboRIO In LabVIEW or Driver Station.
  4. One possible cause for this error is a problem with resolving the DNS name of the device (.local address). In this case, the issue can be resolved by replacing the DNS name with the IP address of the device in the project properties. This can be accomplished by:
    1. Right click the Target in the project explorer and select Properties
    2. Under the General tab replace the DNS name with the IP address of the device (for USB connection, use:, other connections should be in the form of 10.TE.AM.2)
    3. Click OK
  5. Before trying to deploy code, connect to the roboRIO by right clicking the target in the project explorer and selecting Connect. Click on Apply if you receive a window asking you to stop an already running RT application.
  6. Use the roboRIO Imaging Tool to Disable the RT Startup App in the device
    1. It is important you re-enable this for competition because the RT Startup App will allow your roboRIO to load the robot code when in the competition field. If you leave disabled the RT Startup App, then your roboRIO will not show code in the field and will not run.