I have a collection of VI's that relate to a machine. I would like to compile all of these to a DLL and be able to call each one via an invoke node. Something like a .net class or an activeX object. In the app builder I can build a dll but I dont want to use the call library function.
I'd like to be able to use property nodes and invoke nodes to interact with the machine.
I have several machines that use these and a single library would make life much easier.
I am a bit confused with exactly what you want to do. Do all these Vis just call commands to execute actions on another (specific) machine on your network? If you can explain your application a little more, it would help.
As far as bundling all your Vis to make it easy to distribute, you can make the all sub Vis with properly wired connector blocks and save them to a single Labview library LLB.
Thanks for the reply Eric.
Each VI executes a specific function. One connects to the machine, one issues move commands, etc.
They are in an LLB now. The goal is to interact with the machine using invoke nodes, not VI's.
I can make them into a class (as suggested in another forum) but I still dont know how to
use the property/invoke nodes to execute each method.
Did you use the app builder to create a .NET Assembly? If so, where are you having problems with the invoke node. You should be able to simply right click on it and select the method.
I tried that once before and LV just threw up on me (maybe it was because there was a vi with an active front panel).
I tried again and I was able to use the assembly dll in a project. However, when I run a node, LV just freezes with no indication
of whats happening.
Here are the projects. Assembly is the dll and AssemblyTest is the project that calls the dll.