12-12-2011 02:50 PM
Im trying to plot the data since the start of the data acquisition until the end. I kind of have it working but there are gaps in the data, and the colors of the grpahs change. How can i modify my VI to plot the data correctly?..Also i would like to know how to plot the data as im getting it without the old data dissapearing, meaning my timescale would just grow and grow until i stop my vi, can i do this??
12-12-2011 03:03 PM
that looks as if you have presented an array of waveforms to a graph and it is interpretting each element in the array as a seperate plot so sperate colors.
You will have to connect all of those waveforms into a single waveform.
To be able to accumulate more data as you go you will have to buffer the data yourself or use a chart.
Ben
(another but more ornery bear)
12-12-2011 03:42 PM - edited 12-12-2011 03:44 PM
I just dont see why my code is separating the data in the first place. I thought building an array via indexing concatenates new data to the array
12-13-2011 07:30 AM
Rather than looking up stream, cast your eyes down stream and ask yourself what does the chart think you are giving to it. Read the help and experiment with the chart since that is the part that is tricking you.
Have fun!
Ben