LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement Com-Objects?

Hello,
I use an ActiveX software which should be implemented in LabView. Now I want to know, if it is possible to implement Com-Objects from this ActiveX software in my LabView Application. When it is possible, where can I find this Com-Objects? Of course the ActiveX components are already implemented in LabView.
0 Kudos
Message 1 of 4
(2,888 Views)
hello mobmon,

create an "Automation refnum" - control on your frontpanel (can be found under the "Refnum" palette), then select your object or browse for it (right klick "Select ActiveX class"). after that you have to wire the control with the "Automation open" and "Close Reference" functions from the "ActiveX" palette. After that you have access to methods an properties.

hope it works
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 4
(2,888 Views)
I tried to do this, but in my Refnum palette I only have Application RefNum, ActiveX RefNum and some other RefNums. Automation Refnum is not available. Is the ActiveX RefNum the same? But when I use this, I get an error message. The same problem I have in my ActiveX palette. There is only an "ActiveX open" available, but no "Automation open".
0 Kudos
Message 3 of 4
(2,888 Views)
Hello,

i send you a screenshot from my palettes (LabView 7.0 PSD, "Advanced" Palette View)

also, try this example, they are using ActiveX-Automation:
\LabVIEW 7.0\examples\comm\axevent.llb

Greetings
Chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 4 of 4
(2,888 Views)