EasyManua.ls Logo

R&S ZNB Series - 8.2.4.2 Modeling a max hold function

R&S ZNB Series
1611 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming examples
R&S
®
ZNB/ZNBT
1512User Manual 1173.9163.02 ─ 62
specified number of sweeps (SENSe<Ch>:SWEep:COUNt <sweeps>) and then read
any of the data traces acquired.
This feature has no equivalent in manual control where always the last data trace is
displayed.
// Reset the analyzer
*RST
:SYSTEM:DISPLAY:UPDATE ON
// Create a second and third channel with new diagrams and traces.
:CALCULATE2:PARAMETER:SDEFINE "Trc2","S11"
:CALCULATE2:PARAMETER:SELECT "Trc2"
:DISPLAY:WINDOW2:STATE ON
:DISPLAY:WINDOW2:TRACE1:FEED 'Trc2'
:CALCULATE3:PARAMETER:SDEFINE "Trc3","S11"
:CALCULATE3:PARAMETER:SELECT "Trc3"
:DISPLAY:WINDOW3:STATE ON
:DISPLAY:WINDOW3:TRACE1:FEED 'Trc3'
// Select sweep time for the channels.
:SENSE1:SWEEP:TIME 1 S
:SENSE2:SWEEP:TIME 1 S
:SENSE3:SWEEP:TIME 1 S
// Enable single sweep mode for all channels so that channel-specific
// sweep count settings are used
:INITIATE:CONTINUOUS:ALL OFF
// Select single swep mode with channel-specific sweep count settings
// Set sweep counts and start measurement in all channels
: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
8.2.4.2 Modeling a max hold function
The following example shows you how to emulate a max hold function.
Condensed programming examples

Table of Contents

Related product manuals