LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI myRIO fast fourier transform (FFT) for microphone

Solved!
Go to solution

Hello guys,

 

I want to run a FFT using the A0/I of the NI myRIO 1900 to measure the frequency of the input which is acquired with a microphone. Previously, a myDAQ was used and the FFT worked perfectly but I can't make it work on the myRIO. I am a beginner and have been stuck with this for a while now, that's why I would appreciate your help.

 

1. Question: Do I need to change the personality of the myRIO to high throughout with n-samples for creating a spectral analysis FFT or is 1-sample sufficient using arrays?

 

I tried to use the default FPGA personality of the myRIO with the following labview blocks but the input signal frequency is not detected... 

Screenshot 2021-12-13 182133.png

 

 

 

 

 

 

 

 

 

 

 

2. Question: If using the 1-sample personality and the labview blocks shown above should give me the desired result... Am I still missing something that is causing the FFT to fail?

 

Thank you in advance for your help.

 

 

 

 

 

 

 

0 Kudos
Message 1 of 2
(2,039 Views)
Solution
Accepted by topic author lpfy

I found the solution in the mean time.

N-samples were required and here is the working FFT block diagram.

 

FFT_VI.png

 

BR lpfy

 

 

0 Kudos
Message 2 of 2
(1,958 Views)