LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need help with ActiveX

I have got an evaluation version of LabVIEW 5.0 and I need to get an
ActiveX component to work with it but don't know how to set it up
properly.

I have added and ActiveX container and put my control in it but don't
know how to access the methods and properties therin. I downloaded an
example - Container Example (Airbag Impact Testing) - from the National
Instruments LabView pages and that works. I can see Invoke Nodes and
Property Nodes and when I right-click on them I can select a different
Method. However I can't get one of these node things on the form for any
ActiveX components (mine or the existing ones in this demo). When I
right click on the component I have a pop-up that includes create but
only allows me to create an Attri
bute Node or a Local Value.

What do I have to do here? I am pulling my hair out.

PS. I was able to install the ActiveX component in Visual Basic 5 and HP
VEE 5 easily - just not in LabVIEW.
PPS. Also the control uses events to return data so I would have to end
up using 5.1 but there doesn't seem to be demos available for that.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
0 Kudos
Message 1 of 2
(2,718 Views)
> I have added and ActiveX container and put my control in it but don't
> know how to access the methods and properties therin. I downloaded an
> example - Container Example (Airbag Impact Testing) - from the National
> Instruments LabView pages and that works. I can see Invoke Nodes and
> Property Nodes and when I right-click on them I can select a different
> Method. However I can't get one of these node things on the form for any
> ActiveX components (mine or the existing ones in this demo). When I
> right click on the component I have a pop-up that includes create but
> only allows me to create an Attribute Node or a Local Value.
>
> What do I have to do here? I am pulling my hair out.
>

I don't know if you have looked in the help yet, but you need
to go to the A
ctiveX palette. Either show the function palette
or right click in open space to get a function palette, then
go to the communications palette and under that ActiveX. That
is where you will find the Property and Invoke Nodes.

In the future LV will have a Create ... Node for ActiveX, but
for now, you drop it from the palette.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,718 Views)