®
Remote commands
R&S
FPL1000
Configuring and performing measurements
TRIG:LEV:IFP -10dBm
TRIG:SLOP POS
TRIG:DTIM 50ms
TRIG:IFP:HYST 5dB
TRIG:HOLD 10ms
//Defines triggering when the second intermediate frequency rises to a level
//of -10 dBm, with a dropout time of 50 ms, a hysteresis of 5 dB and a delay
//of 10 ms.
SWE:EGAT ON
SWE:EGAT:TYPE EDGE
SWE:EGAT:LENG 5ms
//Defines gating. Values are measured for 5 ms after triggering.
//--------------Configuring the Trace--------------------------
DISP:TRAC2:MODE AVER
DISP:TRAC3:MODE MAXH
//Configures 3 traces: 1 (default): clear/write; 2: average; 3: max hold
SENS:DET1 POS
SENS:DET2 RMS
SENS:DET3 POS
//Configures traces 1 and 3 to use the positive peak detector; trace 2 uses
//the RMS detector.
TRAC:COPY TRACE4,TRACE1
//Copies trace 1 to a new trace 4 which will then be averaged.
SENS:AVER:STAT4 ON
SENS:AVER:COUN 10
SENS:AVER:TYPE LIN
//Configures trace 4 to be averaged linearly over 10 sweeps.
CALC:MATH:STAT ON
CALC:MATH:MODE LIN
CALC:MATH (TRACE1-TRACE2)
CALC:MATH:POS 75
//Calculates the linear difference between the measured and average values.
//The resulting trace is displayed at the top of the diagram.
//--------------Performing the Measurement---------------------
INIT;*WAI
//Initiates a new measurement and waits until the last sweep has finished.
//---------------Retrieving Results----------------------------
TRAC:DATA? TRACE1
TRAC:DATA? TRACE2
TRAC:DATA? TRACE3
Manuel d'utilisation 1179.5860.09 - 12
748
748