VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Programs deployed with Veristand are removed after cRIO reboot

After designing Logic using Matlab Simualink, I created it as an .out file and deployed it to cRIO using Veristand.
However, if you reboot cRIO, the deployed program will not be used by cRIO.
Is there any way to force the deployed program to continue running before reboot even if I reboot to cRIO? plz~~

Veristand is using version 2013.

0 Kudos
Message 1 of 6
(3,810 Views)

Your answers are not obvious at some points. Please explain more details about your system and goal. 

 

First of all, I know VeriStand needs a Host PC to control and monitor the Real-Time OS Controller. If RT target is disconnected, VeriStand in the host PC stops working. You have to re-deploy it every time you test. 

 

Do you just want to make the cRIO as stand-alone? If so, It would be better to make RT application build to deploy.

In this case, you don't have to use VeriStand, instead, you can use LabVIEW.

 

Why do you want to "force the deployed program to continue running until reboot"?

Message 2 of 6
(3,770 Views)
Hi.
Thanks for the answers first.
Yes, I want to make cRIO stand-alone.

I have installed Veristand on my laptop computer and I am using a laptop computer to connect the cRIO.
I am designing and simulating complex control logic using MATLAB simulink.
I used the MATLAB code generation toolbox to create the '.out' file.
I have deployed these '.out' files to cRIO using Veristand.
If I disconnect the cRIO from the laptop computer after deploying it, cRIO will run the deployed control logic.
BUT If I reboot cRIO, the deployed control logic will disappear so connect the cRIO and the laptop computer again and deploy the '.out' file again using Veristand.
And I made complex control logic using matlab simulink and I have to use Veristand to use it.
I'd appreciate it if you had another way.
Thanks!
0 Kudos
Message 3 of 6
(3,759 Views)

This is how to use the model made at Simulink in LabVIEW. 

http://www.ni.com/white-paper/7436/en/ 

 

This is a general guide to make Real-Time system application. 

http://www.ni.com/white-paper/4040/en/

 

To make Stand-alone applications, please refer the paragraph named "Building the Stand-alone Executable with Embedded UI" of this example. 

https://forums.ni.com/t5/Example-Program-Drafts/LabVIEW-Real-Time-Sample-Template-Embedded-UI/ta-p/3...

Message 4 of 6
(3,750 Views)

It sounds like you want this option right here, settable from the system explorer.  When it's set, it will restart the system after a reboot.

 

Message 5 of 6
(3,740 Views)

Thank you for your reply first.

I tried it in the way you answered it, but the deployed program does not work when restart cRIO...

Is there any way to solve this problem?

0 Kudos
Message 6 of 6
(3,694 Views)