Hello,
I am trying to collect the points from the trace of a spectrum element, and I am using the following method:
For some reason, this method only returns a single value in the array.
Is there any other way to get the traces from the spectrum?
Thanks in advance


Hi Maireke!
I still haven't managed to fix it. I'm still getting the same errors for certain spectrum protocols, while it works fine for others
Hi,
The SpectrumBufferDataResponseMessage is not officially documented, but I found these following properties that could further help to understand what is being returned:
double[] Values: Trace data points
double CenterFrequency: Center Frequency, in Hz
double FrequencySpan: Frequency Span, in Hz
double StartFrequency: Start Frequency, in Hz
double StopFrequency: Stop Frequency, in Hz
double VBW: Video Bandwidth, in Hz
double RBW: Response Bandwidth, in Hz,
double ReferenceScale: Amount of dB per division.
double ReferenceLevel: Reference Level. Unit can be found in AmplitudeUnit
double SweepTime: Sweep Time, in seconds
double InputAttenuation: Input Attenuation, in dB
DateTime Timestamp: Time of trace measurement
string MeasurementPoint: Name of the measurement point on which the trace was measured. empty if not measured on a measurement point
string InputPresetName: // No info available
double PreAmplifier: // No info available
double FirstMixerInput: // No info available
double DetectionMode: // No info available
double ScalarType: // No info available
bool NotCalibrated: // No info available
string AmplitudeUnit: Amplitude units to use for the ReferenceLevel, e.g. dBm, dBmV.
int AmountDivsHor: // No info available
int AmountDivsVer: // No info available
The Spectrum log file could also provide some more information with temporary increasing the log levels.
In case the properties of the SpectrumBufferDataResponseMessage is not giving a better insight of what is being returned, and the Spectrum log file is also not showing any errors, I would suggest to contact the support team to have this further investigated.
Regards,
I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer (using the ✓ icon) to indicate that no further follow-up is needed?