LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

adxl 345 fft frequency

Hello Guys
I have one question...
I am doing fft analysis of the received signal using the adxl345 accelerometer and labview, but the maximum frequency is strange.
I know that the maximum frequency is half the sampling rate, but the sampling rate listed in the adxl345 catalog is up to 3200hz.
So, shouldn't it be displayed up to 1600hz when fft is performed?
However, when measuring at a sampling rate of 3200hz, the maximum frequency is only about 25hz.
And if you lower the sampling rate and measure, the maximum frequency goes up...
If you look at the time graph, you can clearly see that the sampling rate has changed.

fft_00000.jpg

This is the program I wrote. 
Is there something wrong with the program?
Uh... the frame rate might look weird, but it's just for changing the maximum frequency number displayed on the graph...

 

0 Kudos
Message 1 of 4
(1,314 Views)

Hello lsh1103

There are many problems, that can cause this issue, for instance you have a lot of Coercion Dots, because of that you might resave a wrong data, also, I suggest connecting arrays with simple wires, besides local variables (in this case I think it isn't causing problem, but local variables use a lot of memory which you don't need in). 

I don't have any accelerometer in my side to check, so try to correct that and use some FFT examples given from NI to be surer, that you are resaving correct data. 

 

 

Regards)

0 Kudos
Message 2 of 4
(1,214 Views)

sorry i can't help you, but i want to ask about these value 0,28125 and 5,1875. what do these values mean? Thanks 

sasa_one_0-1686987908742.png

 

0 Kudos
Message 3 of 4
(917 Views)

@sasa_one wrote:

sorry i can't help you, but i want to ask about these value 0,28125 and 5,1875. what do these values mean? 


Calibration offsets?

0 Kudos
Message 4 of 4
(884 Views)