09-10-2019 03:06 PM
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?
09-10-2019 03:12 PM
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.
09-10-2019 04:02 PM
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.