EasyManua.ls Logo

Rohde & Schwarz ZNB - Page 1404

Rohde & Schwarz ZNB
1498 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
1404User Manual 1173.9163.02 ─ 54
// Reset the analyzer
*RST
:SYSTEM:DISPLAY:UPDATE ON
// 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
9.2.4.3 Retrieving the Results of Previous Sweeps
The commands CALCulate<Ch>:DATA:NSWeep...? SDATa,
<Trace_Hist_Count> retrieve the results of any sweep within a previously defined
single sweep group. This means that, in single sweep mode, you can first measure a
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
Condensed Programming Examples

Table of Contents

Other manuals for Rohde & Schwarz ZNB

Related product manuals