LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to represent Frequency in Hertz rather than Frequency bin.

Setting the offset, does not result to a spectrum with a negative and positive frequency.

 

 I want a spetrum that is centeret at 0 and showing both positive and negative frequencies.

 

I dont know what to connect in my offset, to achieve it.

0 Kudos
Message 11 of 18
(1,283 Views)

Then what did you get?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 12 of 18
(1,281 Views)

It just multiplied the x-axis to a larger number.

Here's the result

 

offset2.png

0 Kudos
Message 13 of 18
(1,268 Views)

Hi gijude,

 

when you just multplied the x axis values you most probably changed the X-Axis.Range.Multiplier. You need to change the X-Axis.Range.Offset value!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 18
(1,244 Views)

Hi Sir GerdW,

 

I dont understand. Can you tell me what particular setting do i need to have in my offset. ? Please refer to my screenshot

0 Kudos
Message 15 of 18
(1,237 Views)

Hi gijude,

 

all this has been told to you before:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 16 of 18
(1,228 Views)

@jamison.suade wrote:

It just multiplied the x-axis to a larger number.

Here's the result

 

offset2.png


That looks like you made a positive offset instead of a negative one.

GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 17 of 18
(1,220 Views)

@GerdW wrote:

Hi gijude,

 

all this has been told to you before:

check.png




there's also a built in functionality of the fft.vi

 

https://forums.ni.com/t5/LabVIEW/how-can-i-implement-fftshift-in-LabVIEW/m-p/3077671#M879128

 

0 Kudos
Message 18 of 18
(1,204 Views)