
Remote Commands
R&S
®
FPL1000
631
User Manual 1178.3370.02 ─ 03
SWE:EGAT ON
SWE:EGAT:TYPE EDGE
SWE:EGAT:LENG 5ms
//Defines gating. Values are measured for 5 ms after triggering.
OUTP:TRIG2:DIR OUTP
OUTP:TRIG2:OTYP UDEF
OUTP:TRIG2:LEV HIGH
OUTP:TRIG2:PULS:LENG 100us
OUTP:TRIG2:PULS:IMM
//Configures a high trigger signal with a pulse length of 100 us to be output at
//the front TRIGGER INPUT/OUTPUT connector once.
//--------------Configuring the Trace--------------------------
DISP:TRAC2 ON
DISP:TRAC2:MODE AVER
DISP:TRAC3 ON
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 100
//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
Configuring and Performing Measurements