Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Reboot sBRIO

I am unable to reboot the sBRIO programmatically. If someone know how to do reboot sBRIO please help me. 

0 Kudos
Message 1 of 4
(4,020 Views)

I tried your VI here and it worked, i.e. it rebooted my sbRIO controller. Why do you have the outer While loop in the VI? I removed it as the controller can not reboot every 100 ms. It takes about 10-15 seconds to reboot, but the reboot function does not wait for the reboot process to complete. So when you call the Reboot VI again so quickly it will return an error while the sbRIO controller is still going through the reboot process.

 

What version of LabVIEW are you using? What is the network connection between the host and sbRIO controller? Wired, wireless? Are they on the same subnet or not? Do they connect through a hub, switch, or router? Are they configured for static IP addresses or use DHCP?

Message Edited by Christian L on 09-30-2009 09:25 AM
authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
0 Kudos
Message 2 of 4
(4,005 Views)

Your code also worked for me with an sbRIO, but then I rewrote it to use an event structure so users can seperately detect controllers on demand, select one, then reboot it with the push of a button.

 

How are detecting that your controller reboots? I noticed that looking at the sbRIO there is no visual indication when it reboots (the LEDs don't flash and the unit never appears to be powered down or POST).  I connected to my sbRIO from a laptop though the serial port with console out enabled (DIP switch 2 down when booting) then opened hyperterminal with a connection at 9600bps, 8 data bits, no parity, 1 stop bit, and no flow control.  Then in the hyperterminal window I can see the shutdown command arrive, and the controller reboots shortly after, and then displays its boot sequence.  Is this code by chance working for you but you aren't seeing the controller reboot?

 

Cheers

Message Edited by Spex on 09-30-2009 09:58 AM
Spex
National Instruments

To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be has a 2x safety factor...
0 Kudos
Message 3 of 4
(4,001 Views)

Spex wrote:

How are detecting that your controller reboots? I noticed that looking at the sbRIO there is no visual indication when it reboots (the LEDs don't flash and the unit never appears to be powered down or POST). 


The LEDs should indicate the reboot sequence and do so on my sbRIO. The Status LED below the Power LED should turn on during the boot sequence and then turn off or go into a blinking state depending on the configuration of the sbRIO controller.

authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
0 Kudos
Message 4 of 4
(3,979 Views)