Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

buffered semi period measurement: discard EVERY first value?

Hello,

I perform the buffered semi period measurement. The data aquisition last very long (maybe over one day...).

I arm the counter and then I execute the "read buffer.vi" in an while loop to read the data continuously into a circular buffer.
In the 6602-manual I read the first value ist always bogus.
My question is:
Will I have to discard always the first value when the while-loop restarts? Or will I have to discard only the first value after the first iteration of the while-loop.

Regards Peter
0 Kudos
Message 1 of 3
(3,333 Views)
Peter,

You will only need to discard the first value from the first iteration of the While Loop (Counter Read Buffer.vi). Unless you implement a start trigger, the counter could begin counting in the middle of a pulse. Since the counter does not stop and start counting during each iteration of the While Loop, only the very first value buffered is bogus (great choice of words).

Good luck with your application.

Spencer S.
0 Kudos
Message 2 of 3
(3,333 Views)
Hello Spencer,

thanks a lot for your fast answer. It was very useful.

Regards Peter
0 Kudos
Message 3 of 3
(3,333 Views)