09-26-2010 07:39 PM
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?
09-27-2010 04:55 PM
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