SCPI Programming Fundamentals
Techniques for Improving Measurement Performance
By sending :CALC:DATA2:COMP? MEAN,25us,526us,579.6us,8 you can measure the mean power in those bursts.
This single command measures the data across all 8 frames, locates the first slot/burst in each of the frames, calculates
the mean power of those bursts, then returns the resulting 8 values. The sequence of commands is as follows:
Step
Command
1
:CONF:WAV
2
:WAV:BAND 300khz
3
:WAV:SWE:TIME 5ms
4
:WAV:BAND:TYPE FLAT
5
:WAV:DEC 4;DEC:STAT ON
6
:INIT
7
:CALC:DATA2:COMP?
MEAN,25us,526us,579.6us,8
More Hints & Tips
For more information about optimizing measurement speed using X-Series instruments, see
1583.
Action
Switch to Waveform measurement
Set resolution bandwidth to 300 kHz
Set sweep time to 5 milliseconds
Select flat filter type
Select a decimation of 4, and turn on decimation.
This reduces the amount of data that must be transferred.
Initiate measurement and acquire data
Retrieve the desired data
34
Keysight Application Note