R&S NRPxxS Series User Manual page 145

Three-path power sensors
Table of Contents

Advertisement

®
R&S
NRPxxS(N)
//Disable auto averaging
SENSe:AVERage:COUNt:AUTO OFF
//Enable the fast unchopped continuous average measurement
SENSe:POWer:AVG:FAST ON
//Set the buffer size and enable the buffer
SENSe:BUFFer:SIZE 8192
SENSe:BUFFer:STATe ON
//Set the data format to real
FORMat:DATA REAL
//Initiate a continuous measurement
INITiate:CONTinuous ON
//Set a suitable sleep time.
//In order to achieve the maximum measurement speed,
//the buffer level should never reach the buffer size.
//But, the results should also not be fetched too fast.
//Therefore a sleep time between two consecutive
//SENS:POW:AVG:BUFF:DATA? queries is meaningful.
//Since the sensor reaches approximately 50000 measurements per second
//in this setup, 50...80 ms is a suitable sleep time.
//Then you'll get 2500...4000 measurements per SENS:POW:AVG:BUFF:DATA? query
//
//Fetch available results
SENS:POW:AVG:BUFF:DATA?
Stop the continuous measurement.
INITiate:CONTinuous OFF
Fastest Measurement for Counting Pulses
*RST
//Select the internal trigger source and set the trigger level
TRIG:SOUR INT
TRIG:LEV 0.0001
//Disable auto averaging
SENSe:AVERage:COUNt:AUTO OFF
//Enable the fast unchopped continuous average measurement
SENSe:POWer:AVG:FAST ON
//Set the aperture time
User Manual 1177.5079.02 ─ 10
Performing Measurement Tasks - Programming Examples
Performing the Fastest Measurement in Continuous Average Mode
(--sleep 60 ms--).
145

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents