LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform not recording all data

I created a simple VI model which intends to use waveform to plot all the data captured in a FOR loop.  Somehow only the last data was plotted out (the array2 only stored the last value).  I don't understand why it is not working.

Thanks.

0 Kudos
Message 1 of 2
(1,853 Views)

Wow those wires are crooked!

 

You'll need to enlarge your build array to two element and then place the output of it into a shift register.  The wire from the shift register on the lefthand side of your loop should go to the top input of the build array and your new value should go to the bottom of the build array.  You might have to click on build array and select to concatenate inputs.

 

 Capture.PNG

 

If you don't want to see the output until after the loop has run you can put the indicator on the outside of the loop.

0 Kudos
Message 2 of 2
(1,848 Views)