LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to run RT target VI at power-up?

I have a project that has a VI running on cRIO controller 9004.  When project is opened, I need to open the VI and select "deploy" to load the VI to the cRIO controller and then click Run to start the execution.  However, I would need to run the application without Labview development environment, so the question is:
1. Do I need to "deploy" the vi after each power-up?
2. How do I start the vi execution on cRIO automatically, or start it from other vi? 
0 Kudos
Message 1 of 2
(4,428 Views)
Hello Leiyuan,
 
To run your application when the cRIO is powered on and without the LabVIEW development environment, you will need to build your VI into a Real-Time executable.  After your VI is built into an executable, you can deploy this application to the cRIO target.  You can then set this application to Run at Startup.  When the cRIO is powered on, the application will already be stored on the target and will launch immediately.  See this help link to get started with this.
 
Regards,
 
Clint M
National Instruments
0 Kudos
Message 2 of 2
(4,296 Views)