LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing data in datalogging app

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??

 

 

graph.JPG

 

 

0 Kudos
Message 1 of 4
(2,267 Views)

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.

 

WForms.PNG

 

 

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)

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(2,263 Views)

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

0 Kudos
Message 3 of 4
(2,255 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 4
(2,241 Views)