Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How I can show real-time graphs in asp.net with the help of measurement studio 7.0

Sir, In the project we want to show readings taken from various instruments in graph. How it is possible to show such realtime graph in Asp.Net. Please give example in server script only. Preferablly in VB.
0 Kudos
Message 1 of 2
(3,597 Views)

You are going to need something richer on the client in order to show realtime data in a graph on the client. If realtime data in a graph on the client is what you want, you probably don't want a server control, unless the server control is going to render an <object/> tag on the client for something like an ActiveX control, Java applet, Flash, etc.

One approach would be to create a user control in VB6 that uses the Measurement Studio CWGraph ActiveX control and DataSocket, add an <object/> tag for this user control in your .aspx page, then show realtime data on the ActiveX control on the client from updates that you get from DataSocket. The article Building an Interactive Web Page with DataSocket provides more information on how to do this.

Also, you could either host the Measurement Studio .NET Windows Forms controls in IE or you could create smart client applications with the Measurement Studio .NET Windows Forms controls. Please see this previous thread [broken link removed] where I described these approaches in detail.

- Elton

0 Kudos
Message 2 of 2
(3,596 Views)