LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to create a modular application with dll files ?

It would create a main application, that could use additional modules.

In fact I thought to have the build application (main.exe) and a directory (modules/). In this directory, I could place one or more DLL files (or something else), according to the needs. Like if you have a software to communicate to different instruments, you could then add a dll file to communicate with a new instrument with its own protocol defined in this dll.

Have you ever done something like this ?

Many thanks in advance.
Best regards
Gerald
0 Kudos
Message 1 of 3
(2,930 Views)

You can compile LV code as DLLs and do what you want, but if you want to do this from LV, the much preferred option is using dynamic VI calls through what's known as the VI server interface. Basically, you can call VIs dynamically using the functions in the Application Control palette. Try searching the example finder (Help>>Find Examples) for "dynamic" or "VI server" to see some examples.

More specifically, try searching the site for "plug in" or similar derivatives. You should be able to find some information on the architecture you want to implement.


___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,921 Views)
Thank you tst,

I found exactly what I searched under "examples\viserver\plugins.llb\Plug In Example.vi". I didn't think to search with "plugin" !!!

Best regards,
Gerald
0 Kudos
Message 3 of 3
(2,899 Views)