09-09-2007 12:37 PM
09-09-2007 03:16 PM
i stopped using llb when i discovered that not all vis where saved in it. it happens often when i call the reference to the subvi, and not the sub itself.
since then i am working under "labview project" environment. in this case all vis are saved in the HD in designated folders that are not affected by the project. the files can be moved in the project from library to library or project folder, without changing any property on the HD. that allows to use subvis in different projects, and to easily keep track of changes.
now i have never made executables in such configuration, but it seems it worth a try.
09-10-2007 03:45 AM
Well, I am doing that too, but it is not the issue I am trying to solve here. When I build a program that is to function as a plugin, I want it to be one file (maybe with a support directory). This means it will have to be an llb or executable.
I am now looking into using TCP/IP for communication and build all plugins into executables, but it makes the plugins somewhat slow to pop up.
I am using LV8.2.1 Hopefully moving on to 8.5 this week.
09-10-2007 05:03 AM
Note - I don't have any experience with this type of architecture, so this is just a thought.
How about namespacing each LLB (including the vi.lib VIs in it) so that you can load them at the same time? That would make them individual entities which means you can move them around as much as you like. I believe the OpenG builder can build LLBs like this, but I don't know how nicely it plays with 8.x.
Some disadvantages:
You get large LLBs with multiple copies of the same VIs in memory.
If you have dynamic calls by name, you will have a problem.
09-10-2007 09:13 AM
09-10-2007 12:28 PM
@DFGray wrote:
If you have version 8.0 or higher, putting the VIs in a uniquely named library will do it.
I was thinking of mentioning libraries, but I was under the impression that once you put a VI into a library, you can't use it in any other library. Is this impression wrong?
Also, do libraries work the same in the RTE?
09-10-2007 05:33 PM - edited 09-10-2007 05:33 PM
Message Edited by aartjan on 09-11-2007 12:41 AM
09-10-2007 05:47 PM
09-11-2007 02:25 AM
09-11-2007 08:29 AM