LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to automatically deploy project at boot time

I have some LabVIEW 2009 projects with libraries that have shared variables and servers that need to be deployed in order to function. I want them to start automatically when the computer is started. I have not figured out any way to do this except to compile the target vi into an executable and put a link to the exe file in the startup directory. Is there any way that I can do this from within LabVIEW so I can skip the compile step each time I make a change?

0 Kudos
Message 1 of 2
(2,564 Views)

By default LabVIEW shared variables will stay deployed until they are undeployed. On start up the NI-PSP service starts witch hosts the variables and as soon as that is ready you should be able to read and write values to the variables. You may need to write initialization values because the variables come up uninitialized. You could right an exe in the start up folder that loads the initial values on start up.

 

-Hunter

0 Kudos
Message 2 of 2
(2,536 Views)