Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO HALT

Hello, All

 

I'm developing a real-time and fpga program with compactRIO 9014 controller.

 

After my application is running for a long time, the cRIO halts then it's automatically switched to 'safety mode because of software error' said MAX.

0607071307294121382702.jpeg

 

 

Does the cRIO controller have the function if it has software error, it is automatically swithced to saftety mode which means my application stop and remote pannel closed?

How to ignore this function? and where to change uncheck this option?

 

Any help is appreciated.

0 Kudos
Message 1 of 3
(3,047 Views)

Hi,

 

I came across this post: http://forums.ni.com/t5/LabVIEW/sbRIO-cRIO-reboots-into-safe-mode-software-error/td-p/1182687

 

Are you using timed loops? 

0 Kudos
Message 2 of 3
(3,042 Views)

"Does the cRIO controller have the function if it has software error, it is automatically swithced to saftety mode which means my application stop and remote pannel closed?"

 

That's right. On a 9014, if your application crashes repeatedly (twice in a row), on subsequent boots it won't start your startup application. My recommendation would be to track down the cause of the crash (look on your serial console for more information about what led to the crash). If you really, really don't want to fix this and just want it to keep starting your application despite the crashes, you can set YouOnlyLiveTwice as described here: http://digital.ni.com/public.nsf/allkb/41E8E448E2547CEF86256CFD00678340

 

For completeness I should note that this behavior is different on the NI Linux RT controllers (906x or 903x for example) and the target does not enter system-wide safe mode as it does on your 9014. On Linux only the LabVIEW RT process is affected by repeated crashes of the LV application.

0 Kudos
Message 3 of 3
(2,996 Views)