Good Morning All,
I built a test system concept around a little quirk in LabVIEW that has been around for several generations, that if you changed the extension from .exe to .llb on a LabVIEW built application that you could see the vi's in that executable. The reason that I chose this path was that my customer is building a test system, that essential can test one of four possible different products. As there are four test "centers", which are loaded with the appropriate part and then signalled over tcp/ip what type of part they are testing, they wanted a way to launch the appropriate test program. Each of these programs is large, running to 350+ sub-vi's. I suggested that we use a trick that I had seen before, of building each of the test programs into a .exe, with modifications to make them all have matching connector panes, changing the extension to .llb, then calling the respective "main" vi within that ".llb". The reason for this is that it will then "bundle" everything for that specific test program into one bunch, and if they change any of their four programs they don't have to requalify the others. It also means that in the runtime environment everything that program needs to run is present. They were working in LabVIEW 7.1 and it worked within that environment in my experiements. We did a lot of development (in 7.1.1), then I traveled to where they were having the Test Center built to get the TCP/IP part working with the machine builders control program. Part of the overall package is a rack with 4 PXI systems in it, and lo and behold, they are all perloaded with LabVIEW 8.2.1. Well, great, wanted to get this customer to upgrade, and they agreed that there wasn't a good reason to have me wipe the installs and spend hours (days, no CD drives on the PXI boxes) reinstalling 7.1.1 (which I had brought along). Unfortunately, it wasn't until a month later (yesterday) with the test system in their plant and the first of four test programs mostly wrung out, that I got a chance to build it into an .exe, change the extension, etc. It doesn't work! Apparently LabVIEW 8.x (I haven't checked before v 8.2.1) app builder no longer leaves access to the sub-vi's. If you change the extension to .llb and then open with Windows Explorer (with the LabVIEW extension) you get a blank "directory".
I'm at a loss to how I am going to proceed, luckily (?) have a long weekend to ponder the error of using "quirks", but really liked having each of the programs a seperate, complete, entity. It has been a week!
PutnamCertified LabVIEW Developer
Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5

LabVIEW Champion