02-17-2010
02:56 PM
- last edited on
04-30-2025
02:55 PM
by
Content Cleaner
Background: I created a LabVIEW ActiveX server. I can access it with my external application (Matlab). I have a control variable in my LabVIEW executable. I want to use Active X to set the value of my control variable from my external application.
Documentation: The only reference in the documentation for this task is in the Using ActiveX with LabVIEW in the LabVIEW 2009 help. It simply says "Use the variant control and indicator to pass data to or from ActiveX controls." I also went through all the ActiveX examples in the example finder and did not find any vis that passed variables using ActiveX.
Questions:
Thank you.
02-19-2010
12:51 PM
- last edited on
04-30-2025
02:56 PM
by
Content Cleaner
Hello Lyn,
The control variable should be a refnum and it would have to be wired to Automation Open with the correct reference.
Here are some great examples of using ActiveX Server in LabVIEW
LabVIEW Executable Used as ActiveX Server in LabVIEW
Calling ActiveX Code from LabVIEW
https://forums.ni.com/t5/Developer-Center-Resources/Calling-ActiveX-Code-from-LabVIEW/ta-p/3522394