LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

RebootRTSystem returns 0 even when unsuccessful

i am trying to use the RebootRTSystem function to reboot my RT PC using the following code:

status = RebootRTSystem (RTSystemIP, AddressType_IP, 180, NULL, NULL);  
  if (status)
      display(DISP_ERROR, "Could not restart the RT system");

 

I sometimes get a message on the screen on my RT PC "[SYSTEM_MESSAGE] System is shutting Down ..." and then my application running on the RT PC continues to run. Sometimes i get no message on the RT screen. In either case the RebootRTSystem function call in Windows always returns 0 which according to the documentation means success. What is causing this behavior?

0 Kudos
Message 1 of 2
(2,824 Views)
did you use GetRTUtilErrorString function to see the description?
0 Kudos
Message 2 of 2
(2,802 Views)