![background image](http://html1.mh-extra.com/html/rands/nrpm/nrpm_user-manual_3219371178.webp)
Programming examples
R&S
®
NRPM
178
User Manual 1425.8663.02 ─ 07
// After the initial start pulse a continuous sequence of
// measurements are executed. The number of measurements is
// selected by the length of the frequency list -- see entries
// in 'arFreqList[]' above (here 9)
//
// There very first measurement starts after a short initial delay
// (= 'trigger burst delay') to give the DUT time to setup/prepare
// its sending of the planned frequencies
// _________________ __________ __________
// | | <-initial delay-> | | | | | |
// | -start burst- | |<-X->| | |<-X->| |
// __| (see above) |________...________| |___...__| |__...
//
// <- meas. period ->
// (= trigger holdoff)
//
// 'X' is the Time for a single measurement. 'X' shall be shorter than
// the receiving pulse from the DUT.
//
// X = 2 * Average-Count * (Apertu 100us)
//
// Initial delay before the very first measurement
// (= 'trigger burst delay')
strCmd = "TRIG:BURS:DEL " + str(dInitialDelayAfterBurst);
WriteCmd(session, strCmd);
// The measurement period is timed by the 'trigger holdoff' parameter
// This is simply the distance from one measurement start to the next
strCmd = "TRIG:HOLD " + str(dMeasurementPeriod);
WriteCmd(session, strCmd);
// Freq List
strCmd = "SENS:LIST:FREQ ";
= ConvertListToString(arFreqList, 9);
WriteCmd(session, strCmd);
WriteCmd(session, "CONT:FREQ:MODE RXLIST");
// Desired Result Data Format (here ASCII)
WriteCmd(session, "FORM:DATA ASC");
// Check for any setting errors
Performing measurements in list mode