LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to write values to an array and call these to produce an xy graph

Hi, Hopefully someone can help. I have attahced my VI.
 
I am happy with how to write data to a file, which I have already done. The next thing I want to do, is write the pressure and acoustic values to an array for the duration of my testing (Testing is when the log switch is on). Once I switch the log button on my front panel off, I want to be able to call another VI which will display an XY graph of the Pressure and acoustics Vs Time. This will be populated from the array I create. Can anyone please help.
 
Thanks in advance.
0 Kudos
Message 1 of 2
(2,359 Views)

Since you are acquiring one point at a time, use a shift register and build an array of points , bundle it and display on XY graph

As shown in attached VI

0 Kudos
Message 2 of 2
(2,338 Views)