Remote Commands
R&S
®
FSVA3000/ R&S
®
FSV3000
1201
User Manual 1178.8520.02 ─ 01
//--------------Triggering-------------------------------------
TRIG:SOUR IFP
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.
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: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 100
//Calculates the linear difference between the measured and average values.
Programming Examples