Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Do I Deploy a Startup Executable to my Real-Time Controller?

Hardware: Image Acquisition (IMAQ)>>Compact Vision System

Problem:
I believe I have properly deployed a startup executable to my real-time controller, but I am not sure. Assuming the executable is deployed properly, why does it not run when I reboot the controller?

Solution:
Executables are deployed to real-time controllers from the LabVIEW project. You must first use the Application Builder to create a stand-alone real-time application under the build specifications of your real-time target. To deploy the executable you have created, right-click its build specification and select Deploy. To set it to run as a startup application, you will need to right-click its build specification again and select Run as startup or Set as startup.

If the executable is not running when you reboot the controller, you may need to verify some additional settings. Two settings must be set in the NI-RT.ini file when an executable is deployed to a real-time controller.  The NI-RT.ini file is located in the root directory of the target, at c:\ni-rt.ini.

RTTarget.ApplicationPath=c:\ni-rt\startup\startup.rtexe
RTTarget.LaunchAppAtBoot=True


Ensure that these two flags are activated in the NI-RT.ini file. When the executable is deployed to the real-time controller using the LabVIEW Project Explorer, these two flags are automatically set. Therefore, if you are transferring the start-up executable to the controller via FTP, then these two flags will need to be set manually.

Related Links:
NI LabVIEW 8.6 Help: Building a Stand-Alone Real-Time Application (RT Module)
NI LabVIEW 8.6 Help: Running a Stand-Alone Real-Time Application (RT Module)
KnowledgeBase 3409ILOK: How Do I FTP to the Compact Vision System (CVS 145x)?



Attachments:





Report Date: 07/06/2006
Last Updated: 05/29/2009
Document ID: 3Z5BJCIZ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit