07-07-2016 01:36 AM
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.
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.
07-07-2016 05:03 AM
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?
07-12-2016 03:31 PM
"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.