Opening and Running a VI automatically When Booting a Computer
Primary Software: LabVIEW Run-Time Engine
Primary Software Version: 7.1
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Full Development System
Problem: A VI needs to open up automatically and start running when I boot up my computer, without my having to open LabVIEW manually.
Solution: Follow the steps below to automatically launch a VI at boot-up:
- Go to
C:\Program Files\National Instruments\LabVIEW 7.1\LabVIEW.exe.
- Create a shortcut of this exe on your desktop.
- Open the properties of this exe, and change the target from
C:\Program Files\National Instruments\LabVIEW 7.1\LabVIEW.exe to C:\Program Files\National Instruments\LabVIEW 7.1\xyz.vi, where xyz.vi is the VI that you want to run on startup.
- Copy this particular xyz.vi into your National Instruments folder under LabVIEW 7.1 where the LabVIEW.exe is present.
- Open that VI, and select File»VI Properties from the drop-down menu.
- Under Execution, check the box for Run when opened.
- Go to the block diagram and include an option for Quit LabVIEW from Functions»All Functions»Application Control»Exit LabVIEW.
- Save the VI.
- Copy the Shortcut of the LabVIEW.exe which is on your desktop to the Startup Folder on
C:\Documents and Settings\Desktop\Start Menu\Programs\Startup.
- Reboot your computer.
Related Links: KnowledgeBase 257EMOSG: Running a VI when Windows Boots
Attachments:
Report Date: 05/22/2005
Last Updated: 12/10/2008
Document ID: 3LLMRAN6