08-20-2009 02:41 AM
I have code running on my CRIO-9012 controller and I need to reboot it programmatically from my PC and have the same code running after the reboot. How can I do?
Thank you!
Oiane
08-20-2009 09:29 AM
Oiane,
For your requirement you should build your VI/application into an RT EXE and deploy it to the RT target and set it to run automatically on startup. The following documents have detailed information on this process.
http://zone.ni.com/reference/en-XX/help/370622F-01/lvrthowto/rt_setting_startup_app/
http://digital.ni.com/public.nsf/allkb/E2F8C8D4270CCC62862574440054E894?OpenDocument
08-20-2009 10:03 AM
Thanks for your answer!
I have tried to build the startup executable but it works only if I do the reboot with the hardware reset button. Why doesn´t it work if I try the reboot programatically (rightclick on target -> utilities -> reboot or with de RT Reboot Controller.vi)?
08-21-2009 09:51 AM
Oiane,
This problem seems to be related to specific configurations of SW on an RT target. I'd like to get more information about your system to be able to determine what is causing the programmatic reboot not to work.
Please go into MAX and right-click on your RT target and choose Create Report... . Then select the Simple Report. This will generate an HTML report. Please attach this report on your next reply.
Snamprogetti,
If you are reading this reply, could you also generate this report for your system and provide it here? Thank you.
08-24-2009 01:35 AM
Here is system's report:
08-25-2009 11:30 AM
Oiane,
Would you be able to upgrade your LV version and associated drivers to 8.6.1? This requires that you have SSP or Premier support. (SSP is included by default with most LabVIEW licenses.)
Update drivers (e.g. NI-RIO 3.2) can be downloaded from ni.com.
08-26-2009 09:30 AM - edited 08-26-2009 09:30 AM
Christian,
Yesterday I tried again to build the startup executable and reboot it programatically, and the first time I tried I achieved my purpose, but only once. Since then, I tried a lot of times and today I have spent all the time with it but I have not been able to achieve it again.
I will upgrade my LV version tomorrow but maybe the problem I have explained give you an idea of what is happening.