LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Autorun - VI and Labview

So,

 

I run a VI on a computer that collects data for 48hr periods. However, my computer will sometimes crash (this is because of some firmware on one of the devices connected to the system) and restart, leaving me in the log in page of windows.

 

I already have a way of autologging on.... but now I need a way to open a Specific Labview VI and have it autorun.

 

I know that both labview can be set to autostart up on boot up, and that a VI can be told to automatically start running when its opened, but how do I get the computer to automatically open the file on boot?

 

Do I need to convert the VI into a stand alone application (I have the pro-build) and have it just run that .exe on boot up? or is there another way to achieve this through labview without needing to build it as an app?

0 Kudos
Message 1 of 3
(2,341 Views)

I would build it as an application and have that autostart. Alternatively if you are not interacting with the UI you can run it as a service. That way you don't even have to login for it to start running.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 3
(2,333 Views)

Running as an application would work well, but you can also make a .bat file and run that on startup. You can launch VI's from the command line.

0 Kudos
Message 3 of 3
(2,307 Views)