Command reference
R&S
®
ZNL/ZNLE
1072
User Manual 1178.5966.02 ─ 19
:SENSE1:SWEEP:COUNT 1
:SENSE2:SWEEP:COUNT 2
:SENSE3:SWEEP:COUNT 3
:INITIATE1:IMMEDIATE; *WAI
:INITIATE2:IMMEDIATE; *WAI
:INITIATE3:IMMEDIATE; *WAI
// Select single swep mode with global sweep count settings
:SENSE:SWEEP:COUNT:ALL 2
:INITIATE1:IMMEDIATE; *WAI
:INITIATE2:IMMEDIATE; *WAI
:INITIATE3:IMMEDIATE; *WAI
Modeling a max hold function
The following example shows you how to emulate a max hold function.
// Reset the analyzer
*RST
// Create a trace with the last extremum as memory trace.
:TRACe:COPY 'LastExtr', 'Trc1'
// Display this last extremum trace.
// Because it's a memory trace it must be displayed in the same diagram
// as the mother trace.
:DISPlay:WINDow1:TRACe2:FEED 'LastExtr'
:CALCulate1:MATH:SDEFine 'Max (Data, Mem)'
:CALCulate1:MATH:STATe ON
// Single sweep mode
:INITIATE:CONTINUOUS OFF
// Do a single sweep and update trace with the current extremum.
// This is the last extremum for the next sweep
:INITIATE:IMMEDIATE; *WAI
:TRACe:COPY:MATH 'LastExtr', 'Trc1'
// Loop over these 2 commands
:INITIATE:IMMEDIATE; *WAI
:TRACe:COPY:MATH 'LastExtr', 'Trc1'
:INITIATE:IMMEDIATE; *WAI
:TRACe:COPY:MATH 'LastExtr', 'Trc1'
// Continuous sweep mode
:INITIATE:CONTINUOUS ON
VNA programming examples