LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

active x

I have been advised that my CVI c program will run in a Internet Explorer if I make an Active X control out of it and drop it on a page. Is this true and can you outline the steps?
0 Kudos
Message 1 of 8
(3,428 Views)
CVI 6.0 does not allow you to create ActiveX controls out of your project. It does, however, allow you to create ActiveX servers and ActiveX clients.
But it is true that if you have an ActiveX control, any ActiveX container should be able to host it.

Regards,
Azucena Perez
NI
0 Kudos
Message 2 of 8
(3,428 Views)
Hello

If you are interested in publishing your CVI app in a browser window, you might consider the Internet Toolkit for CVI. That uses image mapping to let you control your application via a web browser

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 3 of 8
(3,428 Views)
That is a question. Let's say I have 70 people on the system, each using my software configured with InetToolkit. How do they each see their own screen panel, not each other's? I realize that speed could be an issue, but I don't really have any strip charts or other fast moving parts on the panel, but I do have a bunch of string controls, some list boxes, etc.
0 Kudos
Message 4 of 8
(3,428 Views)
Hello

i was thinking more in line with a server client app.
When you have the program running on a server, the users will be able to view your program by going to your machine thru a browser window.This was meant more for distributed execution.

But if you thinking more in the line of creating a activex control that the user would only run in a browser (not really related to a client talking to a single machine), the internet toolkit is not what you would need.

i hope this clears up your doubts
Bilal Durrani
NI
0 Kudos
Message 5 of 8
(3,428 Views)
Hi Woolie,

Just wanted to let you know that if you have Measurement Studio for Visual Basic and/or for Visual C++ along with your CVI package, it should be relatively easy to create an ActiveX control (from VB) that can be viewed on Internet Explorer.
There's an Application Note that walks you through creating an ActiveX control in VB that contains a DataSocket control and a CWGraph control. Then it shows you how to create the HTML file to host the control on the web and even interact with the live data.

Check it out at:

http://zone.ni.com/devzone/conceptd.nsf/webmain/1785A9030B2FA7FB86256869007B2EE8?OpenDocument#3

Please let me know if you have any questions about Measurement Studio's controls.

Regards,
Azucena
NI
Message 6 of 8
(3,428 Views)
Thanks. I do have VC 6.0 and I believe that Measurement Studio consists(ed) of the VB tools and the tools for C++. Using VC++, can you outline the steps that I need to do to get from a CVI application which uses many of the .fp such as the one that reads/writes/ ini files -to- an program that I can build into an ActiveX control? Sorry to ask so many questions, but I need to be sure that I am not wasting valuable time.
0 Kudos
Message 7 of 8
(3,428 Views)
Hi Woolie,

Since you seem to have a pretty elaborated CVI application already, I'm hesitant to recommend migration to Visual Basic. I think I first need to understand exactly what is your end goal. Is it to display the user interface on a web page and have your colleagues interact with it?
With Visual Basic and Measurement Studio ActiveX controls (not CVI) this is relatively easy to do as you read in the app note in the previous post. However CVI does not have built-in functionality to either create an ActiveX control or expose its UIR as a web page.
Because you already have a CVI application, your only option is to build it into a DLL and call it from a VB ActiveX control that you can then expose. See link below:

http://digital.ni.com/public.ns
f/3efedde4322fef19862567740067f3cc/2803f8307f5c5889862568bd006a96e7?OpenDocument

Without knowing much about your application and what you are trying to accomplish, it's a bit difficult to speculate about what you can and cannot do. But keep in mind that if you are in CVI, you cannot create an application that can be easily exposed on a webpage.

Regards,
Azucena
0 Kudos
Message 8 of 8
(3,428 Views)