Get amplitude values for specific frequencies

Quote from msa on 16/03/2023, 15:53Hello,
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
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

Quote from fw_dev on 16/03/2023, 16:12Please see https://github.com/Aaronia-Open-source/RTSA-API-Samples/blob/main/SweepSpectrum/SweepSpectrum.cpp for reference
Please see https://github.com/Aaronia-Open-source/RTSA-API-Samples/blob/main/SweepSpectrum/SweepSpectrum.cpp for reference

Quote from mm_dev on 16/03/2023, 16:32As 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.
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.

Quote from msa on 21/03/2023, 08:12Thanks 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.
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.