LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX and Labview

Hi!

I am trying to use Some ActiveX Controls with Labview (Beckhoff ADSOCX
Control for Profibus Systems). I dont understand how to implement ActiveX
Controls under Labview.

Is there a documentation on using ActiveX with Labview somewhere? I dont
have any Labview experience, but I have to use Labview and ActiveX.

Or can somebody post an example how to implement a simple ActiveX usage?
There are so many things about ActiveX, that I dont understand.

Please help!
0 Kudos
Message 1 of 2
(3,098 Views)
> I am trying to use Some ActiveX Controls with Labview (Beckhoff ADSOCX
> Control for Profibus Systems). I dont understand how to implement ActiveX
> Controls under Labview.
>
> Is there a documentation on using ActiveX with Labview somewhere? I dont
> have any Labview experience, but I have to use Labview and ActiveX.
>
> Or can somebody post an example how to implement a simple ActiveX usage?
> There are so many things about ActiveX, that I dont understand.
>

First, you should probably look for examples. There are lots of Excel
examples that ship with LV and available from the ftp/web site. These
will not specifically help with your control, but they will show how to
use ActiveX nodes with an Automation Server Interface. The next thing
to do is to gain acces
s to your Profibus object. It may really be a
control, in which case you drop an OLE/ActiveX Container on the panel,
popup and insert your control. The terminal of this control is the
refnum for the Automation interface, and you can immediately start
setting/getting properties or invoking methods. Most likely, the object
isn't a control, but a server, then the only thing that changes is that
you will need to use the Open node to get a refnum, and you can do
properties and methods on that.

Greg McKaskle
0 Kudos
Message 2 of 2
(3,098 Views)