I am unsing the LabView sound input example.
I am measuring a 1 kHz tone on the microphone input.
I get Error -20308 which I suspect is a error due to the sampling rate.
How can i modify the program so if enough samples are not ready the VI will load more and not error out.
There are a few options:
The bottom two are based on the number of samples, the top one uses the dt to get the duration of the waveform in seconds. Because you have an array of waveforms (two channels), you'll need to index out one of the waveforms first (I think).
The program works as long as there is a signal to measure.
But if the signal goes away the program errors out.
I need the program to keep running and report the frequency as 0 Hz.
Is that possible useing the Express VI?
I was thinking it was a sample problem?
Any ideas guys?