Hello, I have some troubles in plotting data acquired from serial port in real time. I have a point (scalar) every 500ms (I can set this time because I read data using a while loop controlled by means of a wait (ms) function and i want to plot the data in a graph. Using chart the amplitude is correct (y axis) but the time (x) is incorrect.(I think data are displayed every 500ms but the values indicated on the x axis is not correct.
How to correct the time in x axis? Plaese help me.
Maurizio