LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I implement an ActiveX object with a predefined interface in Labview 7.1?

Hi Group-

I'm using Labview 7.1. I would like to interface to ActiveX objects housed in a third party ActiveX server DLL. A server DLL ActiveX object is instantiated and passed a reference to a Labview implemented ActiveX callback object whose methods are called back into Labview as data is generated. In order to get data out of one of the objects, I need Labview to instantiate an ActiveX object that exposes an ActiveX interface defined and registered through the server DLL.

Essentially, I need to create an ActiveX callback object in Labview using a predefined ActiveX interface.

Can some one please tell me the steps I need to take to implement an ActiveX object with a predefined interface in Labview 7.1?

Thanks, JJS
0 Kudos
Message 1 of 2
(2,487 Views)
I'm not sure I fully understand the question. Are you simply trying to run a callback VI in LabVIEW whenever an event for your third party ActiveX object is fired? If so, there are a few examples that show how to do this. You can find them in the NI Example Finder under ActiveX: "ActiveX Event Callback for Excel.vi" and "ActiveX Event Callback for IE.vi".

If this is not what you are looking for, please provide some more detail on what you have done and what you are trying to do in LabVIEW and I will be happy to take a deeper look into it.
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,466 Views)