Waveform Min Max.vi sample rate

So here’s a really simplified version.  So when I run this, it gives the min max of the wave as its running at 10Hz perfectly as I want it, when I change the frequency, it then takes the min max from only part of the wave. 

 

So (since I’ve offset it) with an amplitude of 1, the min,max is 0,2 and this is shown in the min max when it’s running at 10Hz, but when I change it to say 5Hz, it will only take the Min Max from whatever 1/2 of the pulse it’s checking.

 

I just want it to take the min max at a rate equal to the frequency so I can see the min max of each pulse.

Read more here: Source link