LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FFT 관련하여 도와주세요.

Solved!
Go to solution

yeers_0-1724317233417.png

 

yeers_1-1724317283865.png

FFT 구성중 문제점이 있어서 남깁니다.

 

 FFT 실행시 0 에 피크점이 찍혀 배열잘라내기로 인덱스 1을 잘라낸 상태입니다.

그런데 dt가 맞지않아서 실제 주파수랑 차이가 많이납니다.

이를 수식으로 어찌 맞췃는데, 정확하지않습니다.

dt 를 웨이브폼만들기로 만들어도 피크점찾아내기 에서는 적용이 안됩니다.

 

저의 목표는 실제 주파수와 피크점이 찾아낸 주파수를 맞추고 싶습니다.

 

0 Kudos
Message 1 of 4
(464 Views)

Google Translate:

I am leaving this because there is a problem while configuring FFT.

When executing FFT, the peak point is marked at 0, so I cut off index 1 by slicing the array.

However, dt is not correct, so there is a big difference from the actual frequency.

I matched this with a formula, but it is not accurate.

Even if dt is created by creating a waveform, it is not applied in finding peak points.

My goal is to match the actual frequency and the frequency found by the peak point.

Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration
0 Kudos
Message 2 of 4
(435 Views)

Rather than paste screenshots, paste code! When you attach a VI, include a VI snippet, reference an example, you give us the chance to run your code and offer directed suggestions. 

Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration
0 Kudos
Message 3 of 4
(434 Views)
Solution
Accepted by topic author yeers

Try this code:

Measure Frequency of Peak.png

Note: Hanning is the default window for the FFT Spectrum (Mag and Phase) VI.

Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration
Message 4 of 4
(424 Views)