Hi? First of all greate graphic library/tool and magnificent job done by zedgraph creator.
Secondly, I'm working on my final year project that requires real-time plot/display of data from microprocessor PIC from serial port. I've successfully read in data using serial port components but find it harder to plot data dynamically using ZedGraph. Has anyone done this before?
Can someone help me please?
Kind regards
Keinsteinz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What you need to do is use a timer and create a timer tick event. In the timer tick event clear your point lists, then recreate them. at the end use the
functions. This means that every time the timer ticks the graph is refreshed, my data is coming from a fujitsu processor, and I am storing the data in a text file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi? First of all greate graphic library/tool and magnificent job done by zedgraph creator.
Secondly, I'm working on my final year project that requires real-time plot/display of data from microprocessor PIC from serial port. I've successfully read in data using serial port components but find it harder to plot data dynamically using ZedGraph. Has anyone done this before?
Can someone help me please?
Kind regards
Keinsteinz
I'm also doing somethings similar..
Are you using database for your data ?
Thank you guys for all your responses,Any C# code example?
Secondly data are sent by PIC processor to the PC every 1 second.
Kind regards,
Keinsteinz
Here's an example that you might have a look at:
http://zedgraph.org/wiki/index.php?title=Display_Dynamic_or_Real-Time_Data
John
I am doing this as we speak.
What you need to do is use a timer and create a timer tick event. In the timer tick event clear your point lists, then recreate them. at the end use the
zedGraphControl1.AxisChange();
zedGraphControl1.Refresh();
functions. This means that every time the timer ticks the graph is refreshed, my data is coming from a fujitsu processor, and I am storing the data in a text file.
i also want to solve this ,if you known ,please tell me .