03-25-2016 11:20 AM
Is there any way to plot a graph that keeps it's history with each set of loop iterations or plot a chart using xy points?
Thanks,
James
Solved! Go to Solution.
03-25-2016 11:32 AM
A chart will keep the history automatically for you. For a graph, you will have to keep the history in a shift register and add onto it when you have new points.
03-25-2016 11:32 AM
No. Only charts maintain history. Graphs do not. And charts do not have XY capability.
There is an Express VI that buffers XY data for graphs. On the front panel drop the EX XY Graph. It drops an XY graph on the block diagram along with the Build XY Graph Express VI.
03-25-2016 02:23 PM
JCG77 a écrit :Is there any way to plot a graph that keeps it's history with each set of loop iterations or plot a chart using xy points?
Thanks,
James
If your data is not monotonic on the x-axis and you have lines between data points the graph display can get very messy if the history lenght is significative.
Here is an example using shift registers (as suggested by Gregory). A single XY point is added every iteration.
Ben64