LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using advanced math functions in plugins

I have an application built in LabVIEW 8.5 that calls external VIs as PlugIns. Normally adding any subVIs of these PlugIns in the same directory as the plugin is located in (or a sub-directory of that) will enable the plugin to execute (I have several such plugins that do run properly).
 
The problem now however is that one of these PlugIns use a few math functions (linear fit etc.) and, although all the subVIs and dlls (including the ones from the vi.lib etc.) are located in the same directory - and the application is run on a machine that actually has the full professional LV 8.5 installed on it, it is still not executable (I've built a source distribution to get all the code it depends on out, with no exclusions). If I hit the broken run-button it says the full development system is required to resolve the issue.
 
The same plugin works fine in LV 7.1.1 (although then it is distributed as a top level VI in an llb with the support-VIs in it instead).
 
Is there still a way in LV 8.5 to distribute a plugin that uses the math functions without having to include the functions in the built application that will launch the plugin?
0 Kudos
Message 1 of 3
(2,859 Views)
Hi, Mads,
My "Quick and Dirty" test shows that it should be no any problems. Just deselect "Exclude vi.lib" Vis in the Distribution, and select that dependecies should be deployed with PlugIn. See attachment, hopefully its will be helpful for you. Such distribution way produced huge llb (because not only linear fit embedded into library, but all math library), but at least it works.
---
best regards,
Andrey.
 
0 Kudos
Message 2 of 3
(2,850 Views)
Strange phenomenon - I had done the exact same thing...but it did not work. I could get your example to work though - so I made a new project and set up a source distribution once again...and now it works. The old project still gives me the problem (no visual difference in the settings).
 
Thanks for showing me that it could work though, great jobSmiley Happy
0 Kudos
Message 3 of 3
(2,838 Views)