07-22-2009 05:38 AM
07-22-2009 08:37 AM
07-22-2009 08:45 AM
07-22-2009 10:23 AM - edited 07-22-2009 10:26 AM
08-04-2009 05:45 AM
No it doesn't work, as NI document above says.
I just tried it again, both VI and EXE formats
08-07-2009 05:04 AM
08-10-2009 12:31 PM - edited 08-10-2009 12:31 PM
I retested my code again on a cRIO-9012 controller and it will indeed reboot that controller programmatically, either from itself, or from another system on the network.
Based on your latest comment I think you're running into a different problem where you are locking up the cRIO controller with code running on the controller which is blocking the background task which would respond to the remote reboot request. Try the reboot operation without any other code running on the controller.
08-11-2009 02:46 AM
My controller is a cRIO-9014 and i tried with no other code running (and retried this morning). No error message, it just doesn't reboot. When rebooting manually form the project, i get "An error occurred while attempting to reboot the target".
Maybe there's something wrong with my system, however if your code works for you but NI documentation says it won't work, there's something wrong elsewhere too...
08-11-2009 09:15 AM
Snamprogetti wrote:When rebooting manually form the project, i get "An error occurred while attempting to reboot the target".
Because of this behavior I think that there may be some other issue, such as a corrupt installation of software on your cRIO controller. Rebooting the controller from the project should work in any case.
Can you try reformatting the controller from MAX (must boot into Safe mode first) and then reinstalling the software (LV RT and drivers) on the cRIO controller from MAX. Afterwards try connecting to the controller in the LV project and rebooting from the project.
Snamprogetti wrote:
Maybe there's something wrong with my system, however if your code works for you but NI documentation says it won't work, there's something wrong elsewhere too...
What is the network configuration of your cRIO system? Are you using a DHCP server and automatically assigning an IP address to the controller or do you have it configured for a static IP address? What about your host system? Are the host and cRIO controller located on the same subnet?
I will check with R&D and verify this other document about the Reboot function working on VxWorks cRIO.
08-12-2009 11:27 AM
I checked with R&D and some of the information in that KB entry is incorrect. It will be udpated shortly.
In general the Reboot VI (RT Restart Target in LabVIEW 2009) using the IP address to identify the target system does work in VxWorks (cRIO-901x).