LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement of frequency of acquired data using NI 9250 and cRIO-9043

Solved!
Go to solution

Hello,

 I am trying to measure the frequency of an acquired sinusoidal signal using NI 9250 & cRIO 9043 combination. For that I have used "tone measurements vi" & "spectral measurement vi"  but none of them is showing the actual frequency of the applied signal. I have applied the signal from  a signal generator to the BNC analog input port of the NI 9250 module. I have used  the example program " getting started with NI 9250 ".

 

Please suggest a possible solution.

 

 

Thanks.

data.png

spectrum.png

  

0 Kudos
Message 1 of 3
(1,193 Views)
Solution
Accepted by topic author dmtd

how should the DFT or the tone detection vi measure the correct frequency, if you don't feed them with the samplerate(dt) ?

try to avoid the 'dynamic' datatype and the express vis... much better to debug 😉

 

providing the vi with some sample data also help others to help you 😉

 

 

edit: read the property of the DAQ to get the actual samplerate!  The driver will coerce the requested SR to the next higher possible one the actual DAQ hardware supports. If you havn't RTFM and spec of your DAQ, it's a common pittfall to request a not supported samplerate 😉

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 3
(1,181 Views)

Henrik,

 

Thanks for the guidance. I am getting the right result now.

 

 

Thanks again,

DMTD

0 Kudos
Message 3 of 3
(1,156 Views)