Forum
Please or Register to create posts and topics.

Get amplitude values for specific frequencies

Hello,

 

i want to analyze a device which has a transmitter (868Mhz).

To see the spectrum around this frequence i thought i have to set the startfrequence to 800Mhz and the stop frequence to 950Mhz.

Now, if i start the device and collect some data, i got a float array but don't know if this is the amplitude value or for which frequence this values are.

How can i get data like scannedFrequence and its amplitude value?

 

Thanks & greetings from germany.

Msa

 

Please see https://github.com/Aaronia-Open-source/RTSA-API-Samples/blob/main/SweepSpectrum/SweepSpectrum.cpp for reference

As a general rule: the main array will only contain measurement values, frequencies for those need to be calculated from the header values (startfrequency, spanfrequency, stepfrequency, num and size) by the user.

msa has reacted to this post.
msa

Thanks for your answer.

Could you provide some example calculation for the frequency of a measurementvalue from the packet float array please ?
Because i already tried to calculate but as result i got e.g. three sweeps in the packet and the measurement values are all the same for three sweeps. (start frequency sweep 1 = start frequency sweep 2 = start frequency sweep 3) and i don't think that this is correct.