LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I install and use an ActiveX OCX control in CVI?

I have an instrument which was provided with a .ocx file. I looked at some of the other ocx related questions here but none helped much.

How do I get the control's functions into CVI? I have tried to create an ActiveX Automation Controller using CVI but CVI does not recognize the file. BTW I have CVI version 5.

Thanks.
0 Kudos
Message 1 of 2
(3,300 Views)
Hello,

An OCX is an ActiveX Control. The ActiveX Automation Controller available in CVI 5 was for controlling servers, not controls. It was not until later (CVI 6.0 but I am not sure) that CVI added an ActiveX Container, which will allow you to use the OCX file within CVI.

Jeff
NI
0 Kudos
Message 2 of 2
(3,300 Views)