I am developing Test automation in GeoTest ATEasy and LabWindows\CVI, in the tests i measure analog and digital outputs\inputs.
In one of the test i need to measure an Analog input which contains an audio signal - and verify its Hz and Volt DC RMS.
The audio Signal is 5Hz and 2 Volt DC in RMS.
I have the possibilty to measure multiple Volt samples into an array, but i need to decide what is the sample rate
and the # of samples
i want to sample.
After measuring, i need to verify that the signal is 5Hz and 2 Volt DC in RMS.
Any suggestion on how to analyze the data to see if the signal is actually 5Hz and 2 Volt DC in RMS?
I Need an algorithm, or a library function that can do these calculations.
What should my sample rate
and # of samples
(its also the size of the array) be?