01-26-2011 01:50 PM
I have a main vi that dynamically launches another vi. The dynamically launched vi contains keyboard related functions that are found in the c:\Program Files\National Instruments\LabVIEW 2010\vi.lib\Utility\inputDevices.llb. Executing within the LabVIEW 2010 environment presents no problems. However, when I build the main vi to an exe and run it, the dynamically launched vi is broken. When I click the broken arrow it pops up a message saying:
Missing subvi Initialize Keyboard.vi
Missing subvi Keyboard Acquire.vi
Missing subvi Close Keyboard.vi
I have not been able to figure this one. I'm guessing I'm missing some obvious reason for it
?
01-27-2011 12:29 AM
Hi JHaas,
is your dynamically loaded vi part of your executable?
Mike
01-27-2011 04:44 AM
Yes. The executeable or main vi as I called it, dynamically launches the other vi. When I created the executeable I included the vi in the build procedure.
01-27-2011 05:09 PM
Can you validate that the Input VIs are listed under the dependencies section of you LabVIEW Project? I would have expected that they would be included with the Run-Time Engine. But if not, and if they aren't listed under dependencies, you can find and add them to the Project manually, and specify that they are Always Included within your build specification.
If that's not the case, let me know and I'll try to reproduce it as well.