From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sbRIO (cRIO) reboots into safe mode (software error)

Solved!
Go to solution

Hi there,

 

I've used the sbRIO-9612 for year on the project, recently it sometimes reboots into safe mode. In MAX I may find the status of the sbRIO is "Safe Mode with software error". Can anyone tell me, how can I find out where is the problem. I have the error log as attachment.

 

Regards,

Wilbur

0 Kudos
Message 1 of 9
(6,177 Views)
0 Kudos
Message 2 of 9
(6,174 Views)

Hi,

 

I read again the log file. There're something that should help:

 

Exception code: 0x00000700
...
Thread ID: 0x02E270B8   Thread name: niserial
Thread stack base: 0x02E270B8  stack size: 32768

Call Stack:
0x1de9170+0xe93cc: _dtors () in module niserial.out
0x1ddd83c+0xdda98: _dtors () in module niserial.out
0x1dc840c+0xc8668: _dtors () in module niserial.out
0x1df3a34+0xf3c90: _dtors () in module niserial.out
0x1db2154+0xb23b0: _dtors () in module niserial.out
0x1dc6a2c+0xc6c88: _dtors () in module niserial.out
0x1dc68a0+0xc6afc: _dtors () in module niserial.out
0x1dc67b0+0xc6a0c: _dtors () in module niserial.out
0x3dbc80+0x8: Virtual function table for __cxxabiv1::__si_class_type_info () in module 0x0
0 Kudos
Message 3 of 9
(6,155 Views)

Here is the program for controlling the serial port on sbRIO.

 

(The missing subVI is used to build up the frame for communication. The wait until 3ms was added according to specification of the component, which the serial controls.)

0 Kudos
Message 4 of 9
(6,148 Views)

Can it be a software mistake for the controlling of the RS232 serial interface?

0 Kudos
Message 5 of 9
(6,118 Views)

Hello,

please follow the instructions in the manual “Getting Started with CompactRIO and LabVIEW” to reinstall the software on your NI sbRIO-9612.
It’s explained in detail in the chapter “Installing Software on and Configuring the Controller” on page 6

Getting Started with CompactRIO and LabVIEW
http://digital.ni.com/manuals.nsf/websearch/C9721DD0A5F989CE8625760A007D4D1B

Regards
Ulrich
AE NI-CER

0 Kudos
Message 6 of 9
(6,107 Views)
Solution
Accepted by topic author wilburwu

Hi,

 

here is how I did to solve the problem:

I replaced all the timed loops in sbRIO with the while loops (time interval inclusive)

 

And that's it! It looks like the timed loop cause the problem in some unknown way. The same thing I've also seen on the FPGA. 

 

My LabVIEW is 8.6 and NI RIO is 3.1.

0 Kudos
Message 7 of 9
(6,049 Views)

Hi, Wilburwn

 

I have a PXI RT target, and I also use timed loop for determining application. I recieved the same error as you.Do you have any other method for repairing this problem except removing all timed loop? Because I really need the timed-loop.

 

 

Best regards,

0 Kudos
Message 8 of 9
(5,009 Views)
 
0 Kudos
Message 9 of 9
(3,395 Views)