12-18-2019 06:50 AM
Hi,
I am curious to know, How I can invoke the LabVIEW ADE installed on my computer automatically using a .net code written in C#?(what if multiple LabVIEW versions are installed)?. Also, using this .net code i want to select and load a VI dynamically, obtain its connector pane information and display its icon image in a .net image display control. The .net code should also recognize the LabVIEW version for this selected VI. Any idea, on how i can implement this? (I am beginner to .net and C#)
12-27-2019
08:51 AM
- last edited on
03-07-2025
02:06 PM
by
Content Cleaner
You can invoke LabVIEW through ActiveX automation, which can be accomplished in .NET. I recommend starting with this guide to understand the basics:
Cheers,
Ryan Curtis
Product Support Engineer
Automated Test Software R&D
05-02-2023 05:35 AM
Hi Ryan,
I'm facing a similar situation. Could you post the correct & current link to the tutorial, since the link you had posted then has been broken/deleted now. 😞
05-04-2023
03:33 PM
- last edited on
03-07-2025
02:07 PM
by
Content Cleaner
https://www.ni.com/en/shop/labview/activex-and-labview.html
Read the part about LabVIEW as Automation Server. LabVIEW comes with a type library that most Automation capable software should be able to parse and use.
https://www.ni.com/docs/en-US/bundle/labview/page/activating-labview-as-an-activex-server.html
How to enable it.
https://github.com/l-johnston/autolv
And this is a python project about how to access the LabVIEW VI Server interface through ActiveX. If you don't use Python you can still use it to see how it is generally supposed to work. Of course you need to understand some basic Python code and also how to access an ActiveX Automation Server in .Net/C#.