![Rohde & Schwarz NRPM OTA Power Measurement Solution Manual Download Page 196](http://html.mh-extra.com/html/rohde-and-schwarz/nrpm-ota-power-measurement-solution/nrpm-ota-power-measurement-solution_manual_1477859196.webp)
Programming examples
R&S
®
NRPM
196
Mannual 1425.8663.02 ─ 08
WriteCmd(session, "STAT:OPER:ENAB 16");
//===================================================================
// Setup the Measurement...
//
// Configure Averaging
strCmd = "SENS:AVER:COUNT " + str(uiAvgCount);
WriteCmd(session, strCmd);
WriteCmd(session, "SENS:AVER:STAT ON");
// Aperture time
strCmd = "SENS:POW:AVG:APER " + str(dAperture);
WriteCmd(session, strCmd);
// Prepare the triggering of the measurement start
// (= start of execution of the configured freq. list)
//
// The execution of the configured frequency list shall
// start with an RF pulse from the DUT with a certain
// minimal length (here 950 us). The sensor setting
// 'trigger dropout' time is used to recognize this,
// and the execution shall start after the FALLING edge
// of this initial 'start burst':
// _________________...__________________
// | |
// |<--- min. length of start burst --->|
// _____| |_______...
//
//
// Trigger on falling edge (= neg. slope)
WriteCmd(session, "TRIG:SLOP NEG");
// Minimal length of start burst (= Trigger Dropout)
strCmd = "TRIG:DTIM " + str(dMinLengthOfStartBurst);
WriteCmd(session, strCmd);
// Trigger on the signal level on a selected antenna
strCmd = "TRIG:SOUR BURST " + str(iTriggerAntenna);
WriteCmd(session, strCmd);
// Trigger Level
strCmd = "TRIG:LEV " + str(dTriggerLevel);
WriteCmd(session, strCmd);
Performing measurements in list mode