07-17-2008 03:16 AM
07-18-2008 09:11 AM
A,
Since your device only measures voltage, you must use software algorithms to convert those measurements to frequency. Keep in mind that the DAQmxReadAnalogF64 returns an array of samples and not a waveform. You can take 1/sampling rate to find dt (the time between samples). You will then need to find the number of samples that make up one period of the signal and multiply it by dt. If you then take 1/period time you should recieve the frequency of the signal. This is an algorithm that you will have to implement, though.