LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running an EXE on Windows Startup

I was wondering if anyone could help me out trying to make a Labview executable startup when Windows boots up, and run the program. Also the program is supposed to stop running when a certain voltage is read. If this happens, the program won't start again will it? Only if the computer is rebooted will it start again? When the program stops it saves a file to the harddrive. Every time the program is run it overwrites the same file, so I don't want the file overwritten until the next time the computer is restarted.

 

Any help is greatly appreciated.

 

Thanks

0 Kudos
Message 1 of 6
(5,665 Views)

The first thing to do is make an executable version of your LabVIEW program.

 

Then, add it to the startup folder. See

 

http://www.computing.net/answers/windows-xp/adding-programs-to-startup-list/145475.html

 

for more details.

-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




0 Kudos
Message 2 of 6
(5,658 Views)
Will that start the program though without me having to hit the run button at the top?
0 Kudos
Message 3 of 6
(5,656 Views)

You make the Main vi property, 'Run when opened' as true. So that the application will run when it is launched.

 

 

Regards,

 

Raja 

0 Kudos
Message 4 of 6
(5,647 Views)

Put the shortcut of the exe in teh windows Startup folder(*Start Menu\Programs\Startup, * is your desktop path in windows folder). By this the exe will execute as soon as the windows is started. Yes, again the program will not start once its quit. Why do you want to restart the application when you have quit the same on reading the specified voltage?On rebooting the system, your application will start. 

 

Create a windows registry for your application and store a variable in the same. By checkin this variable you can come to know, the system shutdown. So, accordingly you can append the file or replace the file. If you have problem with this, let me know. I think this solve your problem.

 

Yogesh. 

0 Kudos
Message 5 of 6
(5,640 Views)

PSUstudent wrote:

I was wondering if anyone could help me out trying to make a Labview executable startup when Windows boots up, and run the program. Also the program is supposed to stop running when a certain voltage is read. If this happens, the program won't start again will it? Only if the computer is rebooted will it start again? When the program stops it saves a file to the harddrive. Every time the program is run it overwrites the same file, so I don't want the file overwritten until the next time the computer is restarted.

 

Any help is greatly appreciated.

 

Thanks


 

Put the shortcut of the exe in teh windows Startup folder(*Start Menu\Programs\Startup, * is your desktop path in windows folder). By this the exe will execute as soon as the windows is started. Yes, again the program will not start once its quit. Why do you want to restart the application when you have quit the same on reading the specified voltage?On rebooting the system, your application will start. 

 

Create a windows registry for your application and store a variable in the same. By checkin this variable you can come to know, the system shutdown. So, accordingly you can append the file or replace the file. If you have problem with this, let me know. I think this solve your problem.

 

0 Kudos
Message 6 of 6
(5,517 Views)