Forum
Please or Register to create posts and topics.

How to set the trace points in sweep mode?

Try to get the trace data in sweep mode using AARTSAAPI_GetPacket.

I tried mode "Bins" and "Step Frequency" of  "fftsizemode" and several values of "fftbinsize" and "fftstepfreq", but that didn't work.

It seems that the data size was only influenced by the span.

Can I set the size directly?

"main/rbwfreq" should do the trick, see the SweepStressText example.
Quote from DevUS on 08/06/2021, 09:33
"main/rbwfreq" should do the trick, see the SweepStressText example.

Got it, I ran the example and tried several "rbwfreq", but still no idea about the way  rbw, span and data size coupling.

Any methods to calculate the data size with particular rbw and span value?

The step frequency (size of a bin) is at maximum half the rbw frequency.  The spectrum size is thus at least twice the span frequency divided by the rbw frequency