Click here to Skip to main content
15,886,014 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i am currently working on a project which need to plot the data coming from the serial port and plot them simultaneously with read in. I prefer to work with c# and if some one can help me, it will be grateful.

to give more understanding about my work,
I am getting data of human pulses from a pulse oximeter and I want to plot them in a plot.....so any body out there to help me, please help..
Posted
Comments
Sergey Alexandrovich Kryukov 18-Apr-12 13:31pm    
What do you call "real time"?

What have you done so far?
--SA

I am not familiar with Serial port communication, but I think this Code Project article may be of some help to read data from a serial port
Serial Communication using WPF, RS232 and PIC Communication[^]
After retrieving the data this Code Project article
Realtime Chart and Graph in One[^]
may be helpful to draw the graph.
I am not sure, but thought these links may give some clues to your work.
 
Share this answer
 
you must decide how much data your graph control need to show ? say if it last 500 points or like that you simply use Graphics and DrawLine functions to draw the graph right ? if your graph needed to show all data things will get complicated. you must find some mechanisam to reduce number of data points..otherwise drawing will be slow. (may be you can provide the resolution as an option to user)

jkchan
http://cgmath.blogspot.com/[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900