LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannont obtain Ocx Ref Num from knowm usable file.

We have an ocx(?) we have used on Labview 5.0 and 6.1 called DataLib.exe. I have used the AutoRefNum on Labview versions 5.0 and 6.1 successfully to connect to this ocx, as well as several other ocx's.
In Labview 7.1,  I have had NO success in doing this. Not one of my ocx's have I been able to connect using the AutoRefNum from LV7.1. However, when I open an already existent VI with the old AutoRefNum on the panel, that Ref Num (remains as black arrow) works fine, and the list of available ocx appears as well as the methods and properties.

Why does this function NOT work in Labview 7.1 using the LV7.1 Automation Ref Number ?

What steps do I need to follow to connect the ocx'x ?
In LV5.0 and 6.1 the steps in
the Index worked fine.
They DO NOT work in LV7.1 using the AutoRefNum (red arrow).
0 Kudos
Message 1 of 2
(2,513 Views)
Hello �

In LabVIEW 7.1, ActiveX Controls should never use Automation Open and Automation Close VIs. You need to Drop an ActiveX container on the front panel and select ActiveX object >> Invoke and Property Nodes.

Please take a look at this Knowledgebase.

Hope this helps!

S Vences
National Instruments
0 Kudos
Message 2 of 2
(2,513 Views)