Chapter 2 SCPI Device Message Detail
2-948
number, it is rounded up to the nearest even number (Example: 35 dB
→36 dB).
After executing this command, the function and the following settings
specified by an argument are changed.
● Sets Detection to RMS
● Sets Sweep Mode to Single
● Sets Scale Mode to Log
● Sets Log Scale Unit to dBm
When using the SG offset function, switch to the SG application and set
the offset level. Set the value with offset to this command arguments,
sg_start_level
and
sg_max_level
and set
sg_offset_switch
to
On.
sg_output
and
sg_output_log_n
returns the output level with offset.
Example of Use
To execute power adjustment under the following conditions:
Frequency: 2 GHz
Analysis width: 5 MHz
Trace point: 1001
Analysis length: 500 µs
Start SG output level: –30 dBm
Max. SG output level: –5 dBm
Adjustment target level: –10 dBm
Adjustment range: 0.4 dB
Adjustment count: 6 times
Log output: On
SG Offset:On
MEAS:POW?
20000000,500US,-30,-5,-10,0.4,2000000000,1001,6,ON,ON
> 0,-9.6,-12.5,3,156,-28,-30,1,-9.5,-12.0,2,-9.6,-12.5,3