Primary Software: LabVIEW Development Systems>>LabVIEW Base Package |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||
Problem:
I use Call Library Function Node VI to access a dll from my LabVIEW code. If I create an executable from my VI, LabVIEW automatically copies the dll to the
data subfolder of my executable’s folder. However, I do not need the extra dll copy. Solution:
By default, LabVIEW copies external code called by the Call Library Function Node VI when creating an executable. LabVIEW assumes the application will be used on a different target, so it makes sure all supporting files are available. Starting with LabVIEW 8.2, it is possible to hardcode the path to an external dll on the block diagram. This prevents copying the specified dll during the executable generation process. There is no way to bypass the automatic dll copying in LabVIEW 8.0 and earlier. Steps to enable the Specify path on diagram option:
- Double click on the Call Library Function Node VI after you place it on the block diagram.
- A configuration dialog box pops up.
- Select the Function tab.
- Check the Specify path or path box.
Related Links:
Product Manuals: LabVIEW 8.2 Help
Attachments:
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||
Report Date: 01/27/2007
Last Updated: 01/27/2007
Document ID: 45Q2C6LA
