![Rohde & Schwarz FSW13 User Manual Download Page 786](http://html.mh-extra.com/html/rohde-and-schwarz/fsw13/fsw13_user-manual_1477847786.webp)
Remote Commands
R&S
®
FSW
786
User Manual 1173.9411.02 ─ 19
Manual operation:
See
See
11.5.8.7
Programming Example: Measuring Statistics
This example demonstrates how to determine statistical values for a measurement in a
remote environment using the gated statistics example described in
"APD and CCDF Basics - Gated Triggering"
//-----------Configuring the measurement ------------
*RST
//Reset the instrument
TRIG:SOUR EXT
//Defines the use of an external trigger.
TRIG:HOLD 25us
//Defines a trigger offset of 25 μs.
CALC:STAT:APD ON
//Activates APD measurement.
CALC:STAT:NSAM 1000
//Sets the number of samples to be included in the statistical evaluation to 1000.
//-------------Defining Gate ranges -----------------
SWE:EGAT:TRAC1:COMM 'GSM - useful part'
//Defines a comment for the gate
SWE:EGAT:TRAC1:PER 4.61536ms
//Sets the gate period to 4.61536ms.
SWE:EGAT:TRAC1:STAR1 15us
//Sets the start of range 1 to 15 μs.
SWE:EGAT:TRAC1:STOP1 557.8us
//Sets the end of range 1 to 15 μs (start time) + 542.77 μs (useful part) = 557.8 μs.
SWE:EGAT:TRAC1:STAT1 ON
Configuring and Performing Measurements