CompactRIO Occasionally Fails to Obtain IP Address on Boot

Updated May 7, 2018

Reported In


  • sbRIO-9607
  • sbRIO-9627
  • sbRIO-9637
  • cRIO-9063
  • cRIO-9064
  • cRIO-9065
  • cRIO-9066
  • cRIO-9067
  • NI-9147
  • NI-9149
  • sbRIO-9651


  • NI CompactRIO 17.0

Issue Details

I am sometimes not able to connect to my CompactRIO (cRIO) or sbIRO (Single-Board RIO) after it powers up or restarts.  To fix the issue, I have to power cycle the RIO until it shows up or connects to my PC again.  Is there a way to make sure my RIO connects on every boot up?


There are two solutions to this behavior.  They are not mutually exclusive (you can implement both):

  • The issue around obtaining an IP address for the specific hardware targets listed in this article has been fixed in CompactRIO 17.6 driver, so please upgrade to the 17.6 version or later versions.
  • If you are not able to upgrade to CompactRIO 17.6, you can add a fix within your LabVIEW VI to check the IP address of the controller and reboot the controller if the IP address is non-existent or link local (refer to the snippet below).

    This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project.  To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW block diagram

Additional Information

This behavior has been found to affect a few CompactRIO and Single-Board RIO controllers.  It has only been found to occur when connected to a powered network switch.


Not Helpful