Jury is still out on my attempts to use PPL for dynamically loading vis but some new facts have come to light that muddy the water! I tried "commenting out" code, and it launched ok with all the code commented out, just momentarily showed the front panel, as it should. Added a bit of code, DAQmx initialization "stuff" and bam! No go. So I decided to try a different test of the target, built an exe where the two sub-vi's were actually in the Main, in a case statement that chose which to run. No go!!! A few weird things, on my dev machine and the target I suddenly got a "Windows Firewall" alert that the program was trying to "call out" on the net work, though there is nothing that does anything other than acquire data and save it to a file. Can't find anything that would cause that, no files inadvertently linked from the network drive, definitely no calls to the "cloud", so that one is a mystery. But more relevant is that on the target machine the main was majorly broken, missing a number of built in DAQmx vis. Hmmm, ok realized that the machine has, drum roll, Vista as its OS. And it can't be upgraded, either OS or DAQmx, so going to try on one of our newer Toughbooks, running Win 7 and with upgraded NI stuff. What was on there wasn't terribly old, it has LVRT 2015, but going to call this one for the moment until I have the new machine. It will really annoy me if it turns out that the initial attempts worked ... But that was how the whole week went.
PutnamCertified LabVIEW Developer
Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5
LabVIEW Champion