11-12-2014 02:07 PM
Hi,
I am very new to LabView and am having trouble right from the beginning with a graph. I am collecting data from a temperature probe and want to continously collect data. I have my graphs set up in a while loop and the graphs are collecting data fine except that the the entire line of the graph moves when temperature changes instead of previous data points staying stationary. How can I make it so that the graphed line is stationary expect for the data it is currently collecting?
Thanks!
11-12-2014 02:14 PM
From the sounds of it you are generating a graph from a single point. Try replacing your graph with a chart from the same palette you found the graph in.
11-12-2014 03:08 PM
It's always best to post your code so we don't have to guess what you're trying to do but I'm sure ogk is right. A chart is a graph with an internal history designed to do exactly what you want. If you look through the examples that ship with LabVIEW you will find many VIs to guide you in the basics. Also check this out: http://www.ni.com/academic/students/learn-labview/
BTW, the chart defaults to 1024 points of history before it starts dumping the old data off the beginning. You can change that property with property nodes programatically or right-click the chart and set it manually.