Difference Between Set As Startup and Run As Startup in My Real-Time Target

Updated Jan 3, 2018

Reported In

Programming Language

  • LabVIEW G

Issue Details

I want to deploy a stand-alone VI or application to my Real-Time target. Should I use Run as Startup or Set as Startup? How are these settings different?

Solution

Both options serve a purpose. In general, it's fewer clicks to deploy to a RT target using Run as startup. Set as startup may require more steps, but is a better option if you don't want your application to begin running on your target device without having to force a reboot manually. Directions for both methods and a detailed description can be found below. Regardless of which option you select for deploying and running your application, you must first create an RT build specification. See the image below and you can also follow this link for more details.
 
Set As Startup
Once you have created a Real-Time Application Build Specification, you must right-click on the it and left-click on Set as Startup. You still need right-click on the Real-Time Application again and choose Deploy. At this point, the application is laying dormant in your RT controller.
To run it, you must either use your host computer to reboot the device in MAX or your project or manually reset the RT target using the built-in reset button.
This method does take more steps in comparison. However, for a situation where you need to deploy the code in one location and run it in a different location, this may be your only choice. A good example would be programming and deploying the software to the target in your office, but waiting to reboot until after the target is physically connected into control or test system on the factory floor.

Run As Startup
Once you have created a Real-Time Application Build Specification, you can simply right-click on the Build Specification and left-click the Run as Startup option. The project will deploy according to your build specification, ask if you want to reboot the RT Target, and run it automatically.  

WAS THIS ARTICLE HELPFUL?

Not Helpful