LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Active X Application Build

I have built a simple VI to act as a global variable/handshaking activeX point between a robot control written in VB and a camera imaging written in LabVIEW. I believe I built the application correctly (i.e., wiring the controls/indicators that I want public to the connector pane). I then install the activeX using the installer created, run it once so it can be registered into the system as a valid activeX control and then try to first access these controls/indicators through LV (I am using 7.1). I use the open automation command and select the executable. Two items show up as "creatable objects". Under Application: "_Application" and "_iApplication" - I don't know what these stand for put tried them both. I then tried using invoke
node and property node and nothing appeared clear on how to access the active X controls and/or indicators. If it was a virtual instrument then I believe it would be fine - because I can call a GetControlValue using an invoke node.

Any help or assistance would be appreciated. I have attached the bare VI that I tried to compile to activex control.
0 Kudos
Message 1 of 2
(2,543 Views)
Hi fermier,

The _Application and _iApplication ActiveX objects are solely ActiveX objects, and a better resource to learn about the difference would be from an ActiveX programming reference, or the microsoft website. Depending on the "big picture" of your project, would it be possible to eliminate the need for this activeX point and create a DLL out of your LabVIEW application? If you are trying to pass data to and from your VB application, you can access your LabVIEW application in VB just like any DLL. There are several references available on our website about creating LabVIEW DLLs. If this is not an option, can provide some more details about the functionality that you are trying to achieve? Thanks!

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 2 of 2
(2,543 Views)