03-17-2010 09:35 AM
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
03-17-2010 09:57 AM
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 ![]()
Why not just connect errorcode directly with BundleByName? You don't need the Select function here...
03-17-2010 10:53 AM
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).
03-17-2010 12:14 PM
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...