LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i create an OCX file from LabWindows/CVI

I need to control intruments via a browser and be able to communicate with the pages as well. Thus I need to create .ocx files instead of stand-alone .exe files in order to achieve this functionality. I am currently using LabWindows/CVI and I'm trying to figure out a way around this situation. Thank you.
0 Kudos
Message 1 of 3
(3,422 Views)
LabWindows/CVI doesn't provide any facilities for building ocx files, only ActiveX Automation Server dlls and exes (in v6.0 and later only). However, if you have Measurement Studio which contains LabWindows/CVI, you also have ComponentWorks, a set of ActiveX controls similar in nature to the UI controls in CVI for use in Visual Basic. With Visual Basic and ComponentWorks, you can easily build a custom Measurement and Automation ActiveX control for use in a webpage.

For an example of using ComponentWorks to build an interactive Measurement and Automation webpage view application note 127 at http://zone.ni.com/devzone/conceptd.nsf/appnotebynumber/1785A9030B2FA7FB86256869007B2EE8?OpenDocument&node=dz52000_us

For more information about Measurement Studio visit
the www.ni.com/mstudio site.

For Measurement Studio purchasing information visit http://sine.ni.com/apps/we/nioc.vp?cid=1411〈=US

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 3
(3,422 Views)
Hello,

I have exactly the same problem, although I wish to use C++, and not VB.

1. I have allready made a panel in CVI 6.0, can I use Visual C++ to convert it into an ActiveX contol (.ocx), or do I have to build the panel from the start as an ActiveX control in C++? (I know there is a way to convert cvi developed code into the Visuall C++ environment).

2. Is it true that a Cvi panel ActiveX control on a webpage, can only have a poor interface if developed in C++, while if developed in VB it can have a much richer interface (knobs, slides etc) ?

PS! I don't have access to the Internet connectivity toolkit.

Regards

Roy Ivar Moe
Norwegian student
0 Kudos
Message 3 of 3
(3,422 Views)