05-23-2013 07:26 PM
I'm creating a labview interface to a large dll, so I use the Tools->Import->Shared library, and it works GREAT! I have a user library I can call from the palette. So I keep adding to the dll, and now have over 100 function calls. I would like to keep the dll's in a single library, but I am constantly updating them as our drivers change (still under development). So each time I create the library, i need to edit all the connectors, and the palette is getting unwieldy. I've googled and looked through NI-DZ and Lava with no help, so I expect I just need to do a lot of manual cleanup after the import function. But, if i missed something:
Is there a way to control the Import Shared Library wizard? (command file-like?)
- define what are inputs and what are outputs? define the terminal patterns and connections?
How can I modify the palette menu created by the process (sub-menu's, rename items, sort items?)
- the "Tools->Advanced->Edit Palette Set" seems really akward.
Any pointers to tutorials or white papers on creating libraries from a large dll?
Thank You!
05-24-2013 12:15 PM
Hi brimcd,
Concerning editing the connections of the VI generated, when importing the updated DLL and header file, I would imagine that the unchanged bits of the header file would create connections in the same way you had created them for previous versions. As for editing the palettes, you can also access the editor by pinning the specific palette to the block diagram, and then selecting Customize.
It seems like you've got a great handle on the process, but in case you want a reference, here's a very complete tutorial on creating wrapper VIs for DLLs using the Wizard. I hope this helps!