LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

xy plot displayed in real time

I have written my program to plot torque (analog input to DAQ)versus revolutions (from an event counter on the DAQ), but am not sure how to display the data in real time instead of when the program is halted??
0 Kudos
Message 1 of 3
(2,788 Views)
You can use a waveform chart to 'real-time' update the display one point at a time. Or, if you still desire to use the XY Graph, you can use shift registers to save the x and y arrays, add the next point to the end of the arrays, and then display them back on the graph. This will be a bit more time and memory intensive. What is your torque sampling rate?
0 Kudos
Message 2 of 3
(2,788 Views)
It is essential that I use an XY graph.I have currently achieved this through indexing my analog channel, then feeding this and the counts(revolutions) into a bundle.Then I have placed the graph outside my while loop, and indexed each of the pts from the bundle at the edge,and used this array as the input to the graph.I will have a go at the shift registers.My sampling rate is 10ms.
0 Kudos
Message 3 of 3
(2,788 Views)