05-28-2020 02:10 PM
Hi
I have an instrument (pressure sensor) sending a constant analog data (pressure waves) - the data is refreshed in a while loop. I'd like to measure the frequency using 'extract tone information.vi'. The way i have it connected it returns '0' as frequency.
I tried to use the 'Tone measurements express.vi' and have the same problem.
I think the problem is since the data is constantly refreshed and there is no 'bin' or buffer to collect them over a certain period of time, the frequency cannot be measured.
So, how do i go and collect them in a buffer or a bin so it can be fed into the tone information vi and refreshed every so often?
Thanks !
MX
05-28-2020 07:44 PM
Can you attach the VI instead? Your FOR loop spins once, thus your 1D array will have one element. There is no way to determine a frequency from a single value, right?
(The FOR loop serves no purpose! What determines the loop rate?)