LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating an XY graph with history

Hello,

 

I'm looking to create an XY graph in LabView 2013 that keeps a history of points visually on the graph. I created a simple VI to do a simple export to excel data log but it would be helpful to be able to see the point that I am saving in a graph format as well as with indicators. I have the indicator part well oiled but the graph is giving me a problem.

 

Idealy I would like to be able to just run a wire from Signal A to an X axis and a wire from signal B to a Y axis (from DAQ assist select signal function), with the ability to keep all previous points through the entire test. All the examples I have come across do not use DAQ Assist, which makes me wonder if this graph is even possible. Being a novice in labview I would love a solution that just uses signals from DAQ assist.

 

The points I am recording should be linear(ish) in nature

 

Thanks.

 

mtgeotech

0 Kudos
Message 1 of 3
(4,104 Views)

Use a shift register, or feed back node to keep a history which you build.  But be aware that you need an upper limit.  You can't let your array reach infinite size, because we don't have infinite memory.  Have it check the size and then if it is greater than some size, get a subset.

0 Kudos
Message 2 of 3
(4,098 Views)
Or use the Express XY Graph since you are using the DAQ Assistant. That has an input for x and y and retains a history.
0 Kudos
Message 3 of 3
(4,078 Views)