09-16-2015 09:51 AM
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
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
Solved! Go to Solution.
09-16-2015 09:55 AM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord