34
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:
More Hints & Tips
For more information about optimizing measurement speed using X-Series instruments, see Keysight Application Note
1583.
Step Command Action
1 :CONF:WAV Switch to Waveform measurement
2 :WAV:BAND 300khz Set resolution bandwidth to 300 kHz
3 :WAV:SWE:TIME 5ms Set sweep time to 5 milliseconds
4 :WAV:BAND:TYPE FLAT Select flat filter type
5 :WAV:DEC 4;DEC:STAT ON Select a decimation of 4, and turn on decimation.
This reduces the amount of data that must be transferred.
6 :INIT Initiate measurement and acquire data
7 :CALC:DATA2:COMP?
MEAN,25us,526us,579.6us,8
Retrieve the desired data