LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview plugins

Hi all,

Is it possible to make plug-in code with the latest version of the
application builder?
I would like to distribute labview code generated by the application builder
to my clients and in the future, provide them with updates/upgrades to the
code.

What is the best way to approach this?

Any ideas much appreciated

John
0 Kudos
Message 1 of 3
(2,616 Views)
John wrote:

> Hi all,
>
> Is it possible to make plug-in code with the latest version of the
> application builder?
> I would like to distribute labview code generated by the application builder
> to my clients and in the future, provide them with updates/upgrades to the
> code.
>
> What is the best way to approach this?
>
> Any ideas much appreciated
>
> John

John,
I BELIEVE this is possible, I have not done much with the App Builder
and I use UNIX so my knowledge is limited.

I would suggest that you start with the plugin examples provided by NI.
These should use the VI server to get and execute the plugins.

The approach would be something like this.
Have a known location for the plugins (could be sub dir of app dir)
Make the app look at the plugin dir at startu
p.
Name the top level plugins consistantly (like plug1, plug2, etc)
The name of the VI and the window do not have to be the same
so you can update functions and still have the same window name.

I think if you do it this way all you have to do is distribute the plugins
and not a complete app.

Good Luck
Kevin Kent
0 Kudos
Message 2 of 3
(2,616 Views)
Maybe you take a look at the plugin example shipped with LabVIEW. It's under
labview\examples\viserver\plugins.llb.
I wrote some (primitive) object oriented version of this using the GOOP add-on
from NI's website. I think that some sort of OO-approach is better suited to
deal with plugins since these are 'dynmic objects' which may 'come' and 'go'
during the lifetime of a running .exe
Mail me if you're interested in this OO_plugins version.


-Franz


John schrieb:

> Hi all,
>
> Is it possible to make plug-in code with the latest version of the
> application builder?
> I would like to distribute labview code generated by the application builder
> to my clients and in the future, provide them with updates/upgrades to the
> code.
>
> What is the best way to appr
oach this?
>
> Any ideas much appreciated
>
> John
0 Kudos
Message 3 of 3
(2,616 Views)