12-08-2009 12:21 PM
How do I configure my Source Distribution build so that the LabVIEW Shared Variable Engine is loaded and all my shared variables are deployed? I need to build my code into a LLB file, which when opened, automatically launches the top level vi and deployes all the shared variables.
I can do this for code that is compiled into an EXE file, but I cannot figure out how to do it for code compiled into an LLB file.
I am using LabVIEW 2009.
Also, how come when I click on the "Shared Variable Deployment" listbox item under my .EXE build settings, my software launches? For some reason, the LabVIEW compiler launches my software while it is being built. This only happens when my EXE uses the Shared Variable Engine.
Thanks,
Richard
Solved! Go to Solution.
12-08-2009 03:09 PM
12-08-2009 03:54 PM
I already know about the "useLLBManager=false" LabVIEW.ini setting -- that works fine. The problem I have is that the Shared Variable Engine isn't deploying my shared variables automatically. Is there a VI I can call inside my program to force the Shared Variable Engine to deploy my variables?
Thanks,
Richard
12-08-2009 03:57 PM - edited 12-08-2009 04:00 PM
I thought the problem is starting the top-level VI, not the deploying, sorry.
You can deploy the library using a invoke node with the "deploy library" or "deploy libraries" method under the application class. You simply need to give the path to the library then.
Christian
12-08-2009 05:03 PM