This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Disable Automatic Safe Boot on cRIO or Real-Time Controller

Updated Sep 26, 2018

Reported In

Hardware

  • CompactRIO Controller

Software

  • LabVIEW Real-Time Module

Issue Details

  • I have an application that requires my cRIO to run autonomously. In the event of two or more successive crashes, I do not want the controller rebooting into safe mode since it will not be possible to physically attend to it. How can I prevent my controller from automatically booting into safe mode?
  • My deployed Real-Time application crashes unexpectedly. Are there any settings on the cRIO I can change to help troubleshoot the crash?

Solution

By default, a Real-Time controller will automatically reboot into safe mode if it crashes twice or more without rebooting or cycling power between crashes. 

In LabVIEW Real-Time 7.0 and later, you can disable safe mode by modifying the ni-rt.ini configuration file, which is located in /etc/natinst/share. You can access the file by connecting to the Real-Time controller through FTP

The following lines will need to be added to the ni-rt.ini file on the Real-Time controller:

[StartUp]
YouOnlyLiveTwice = FALSE