05-07-2015 03:52 PM
Hi everyone,
unfortunatelly i'm a newbie with labview, i've just started using it.
I'm receiving from an arduino serial coordinates X and Y using a Advanced Serial Read and Write and i would like to plot them in realtime in a XY Graph.
How could i proceed? I need to split the input strings in order to distinguish X and Y values.
Thank you
Stefano
Solved! Go to Solution.
05-07-2015 04:10 PM
05-07-2015 04:19 PM
Hi, i'm not using LINX neither the add-on "Interface for Arduino". That's too difficult and complicated for my scope.
I'm just sending via serial strings from arduino using the command
Serial.println(xvalue);
Serial.println(yvalue);
then i'm reading (and it works) the strings with the file.vi attached
in this .vi i'm sending via serial only one value and i was trying to plot it with a waveform but i don't know why it doesn't work.
My aim is to send x and y values consecutively, separate them, and to plot a XY graph in real time.
Thank you again
Stefano
05-07-2015 05:10 PM
05-07-2015 05:14 PM
I could do it, nice idea!
But as i am a newbie with LabView however i don't know how to separate them and how to plot them.
Could you help me in doing this?
05-07-2015 05:23 PM
05-07-2015 05:31 PM
Thank you for your advice. I'm going to try.
05-08-2015 07:36 AM - edited 05-08-2015 07:37 AM
Hi,
could you have a look at file.vi attached?
The Express XY Graph works, now i need to plot a each of the two values (x and y) in function of time with a Waveform struct, but if a connect the outputs of the scan directly to the waveform it appears an error. How could i fix it?
Thank You
Stefano