LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get "The system has recovered from a serious error" after system shut down

Every time when start/restarting the computer using the attached .vi I get a window with "The system has recovered from a serious error." Although this does not seems to have any effect on application and I am able to use the test equipment but could someone explain why this is happening?

 

LV 8.2

TestStand 3.5

MAX 4.1

NI DAQ Card PXI-4461

 

Many Thanks

 

Mehran

 

Mehran Fard
0 Kudos
Message 1 of 4
(2,535 Views)

Hi Fardm,

 

how should we answer that question when you don't attach the VI, but only a picture hidden in some proprietary file format?

 

Attach the VI!

 

You also have some Rube-Goldberg in your code:

IF not zero THEN use ErrorCode ELSE use zero Smiley Wink

Why not just connect errorcode directly with BundleByName? You don't need the Select function here...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,529 Views)

GerdW,

 

Thanks for your reply!

 

The VI image I've attached is from "NI Developer Zone" please use attached link to see the actual .vi. We have been using this vi for a while and could be the reason behind "The system has recovered from a serious error" message we recive on reboot. 

 

Please be ware running this vi will shut down your PC (as expected). 

 

 

http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=C95C015B6BCA7302E034080020E74861&p_...

Mehran Fard
0 Kudos
Message 3 of 4
(2,506 Views)

Hi Mehran,

 

you have noticed this VI and it's sources were released for LV6.1 and uses a special DLL compiled for WinNT/2000.

 

The problem may come with that DLL, but I'm not experienced in writing DLLs supporting current WinOS versions.

You may ask someone who is able to do this or you may dig into MSDN to read about WinOS kernel calls to replace this old DLL with correct kernel calls...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,502 Views)