Performing Measurement Tasks - Programming Examples
R&S
®
NRPxxS(N)
144
User Manual 1177.5079.02 ─ 10
10
Performing Measurement Tasks - Program-
ming Examples
If you install the optional software development kit (SDK) of the R&S NRP Toolkit, pro-
gramming examples are provided. See
Chapter 5.1, "R&S NRP Toolkit"
Under Windows, these examples are installed under:
C:\ProgramData\Rohde-Schwarz\NRP-Toolkit-SDK\examples
Programming example for performing measurement tasks with the series power sen-
sors are given in the following chapter.
10.1
Performing the Simplest Measurement
The simplest way to obtain a result is to use the following sequence of commands:
*RST
INITiate
FETCh?
The
*RST
sets the Continuous Average mode.
INITiate
initiates the measurement.
After
*RST
, the trigger system is set to
TRIGger:SOURce IMMediate
so that the
trigger system state changes to the measuring state via the waiting for trigger state.
After the measurement has been completed,
FETCh?
delivers the result to the output
queue from which it can be fetched.
10.2
Performing the Fastest Measurement in Continuous
Average Mode
The fastest way to obtain results for different continuous measurements is described in
this chapter.
Fastest Measurement for Continuous Measurements
*RST
//Set the aperture time to 10 us
SENSe:POWer:AVG:APERture 10e-6
//Set the averaging filter length to 1
SENSe:AVERage:COUNt 1
Performing the Fastest Measurement in Continuous Average Mode