|
-
July 21st, 2010, 08:52 AM
#1
real time charting..
Hi. I am working with a simple data acquisition project that reads data once every x seconds, where x is user control (1 to 5 seconds). I would like to graph each data as it is received by VB6 and not have to wait to build an array before graphing. so a sample data (x,y) would be:
time data
1 4.5 --> chart on graph
2 4.4 --> chart on graph
3 4.3 --> chart on graph
4 4.4 --> chart on graph
and so on.
is there a simple component to do this. MSChart and Excel chart don't.
Thanks.
-
July 21st, 2010, 10:29 PM
#2
Re: real time charting..
Are you wanting to do something like task manager's CPU usage graph, or something that fills and then wipes itself only to redraw itself as new data comes in? Because, I think you could use the picture/forms line method not only to draw the grid but the lines that graph the data...
Good Luck
-
July 22nd, 2010, 01:35 AM
#3
Re: real time charting..
Sure. A quick look to draw from point x,y to the next point, then draw a line to connect. Wait a second or two at the end, and refresh.
-
July 22nd, 2010, 08:02 AM
#4
Re: real time charting..
Hello all. thanks for your feedback. The system I am using tests run time for any flash light. One could die after 4 hours while others will die after 3 days. This run time duration is easily caculated and it will be used as X-axis data. As such, I would like to use a software that automatically update the x-axis data that could contain anywherer from 1000 to 1,000,000 data points. The form/line method is a manual method that could not easily accommodate my requirement. Do you know of any cheap or better still free charting/graphing software? thanks.
-
July 29th, 2010, 02:08 AM
#5
Re: real time charting..
Go to planetsourcecode.com and look for Charting - One of the monthly winners a few months back produced a stunning charting system which creates beautiful 3D Bar Charts
http://www.planet-source-code.com/vb...71430&lngWId=1
another
http://www.planet-source-code.com/vb...70778&lngWId=1
If you need line graphs then search for CHART under VB Classic and you'll find bundles
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|