LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open LLB VI Server

Solved!
Go to solution

Is there a way to programatically open an LLB, in the LLB manager, using VI Server?

 

Opening a VI, Library, Project, etc all can be done relatively easily using VI Server but I didn't see a method for opening an LLB.  Looking at the LLB Manager in the <LabVIEW>\project\llbedit.llb\LLBMgr User Interface.vi  I see that I can provide the path to an LLB in on the Path control (not on the connector pane) and run the VI and it will work, but using this method has a problem when you try to open a second LLB because this VI is non-reentrant, and it won't open a second window.

 

One method that does work is using the command line with the full path to the LabVIEW.exe and the LLB path being the first argument.  The problem with this method is it doesn't work consistently with multiple versions of LabVIEW open.  It will often open in the wrong version.  But using VI server I can specify the port to open an application instance on, and make sure that the version I want it opened in, is the version 

0 Kudos
Message 1 of 2
(2,873 Views)
Solution
Accepted by topic author Hooovahh

Okay this may simplify things dramatically, going through the VI Server methods I found a Open >> LabVIEW Document which appears to do exactly what I want, for all supported LabVIEW file types.

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