Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Reboot CompactRIO

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

0 Kudos
Message 11 of 17
(2,492 Views)

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

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


  
0 Kudos
Message 12 of 17
(2,476 Views)

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)?

0 Kudos
Message 13 of 17
(2,464 Views)

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.

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


  
0 Kudos
Message 14 of 17
(2,447 Views)

Here is system's report:

 

Dibujo.JPG

0 Kudos
Message 15 of 17
(2,426 Views)

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.

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


  
0 Kudos
Message 16 of 17
(2,399 Views)

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.

Mensaje editado por Oiane
0 Kudos
Message 17 of 17
(2,383 Views)