EasyManua.ls Logo

Rohde & Schwarz R&S ZNA Series - Page 1746

Rohde & Schwarz R&S ZNA Series
1849 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
®
ZNA
1746User Manual 1178.6462.02 ─ 29
// Reset the analyzer
*RST
:SYSTEM:DISPLAY:UPDATE ON
// Create a second channel with a second trace
:CALCULATE2:PARAMETER:SDEFINE "Trc2","S11"
:CALCULATE2:PARAMETER:SELECT "Trc2"
:DISPLAY:WINDOW2:STATE ON
:DISPLAY:WINDOW2:TRACE1:FEED 'Trc2'
// Select active trace for the created channel 2. Adjust the number of sweep
points.
:CALCULATE2:PARAMETER:SELECT "Trc2"
:SENSE1:SWEEP:POINTS 3
:SENSE2:SWEEP:POINTS 4
// Set sweep time and sweep count for the channels
(3 traces per single sweep in channel 1, 4 traces in channel 2)
:SENSE1:SWEEP:TIME 1 S
:SENSE2:SWEEP:TIME 1 S
:SENSE1:SWEEP:COUNT 3
:SENSE2:SWEEP:COUNT 4
// 1st Alternative: Reverse reading with command synchronization
Select single sweep mode and measure a single sweep group for channels no. 1 and 2
:INITIATE:CONTinuous:ALL OFF
:INITIATE:IMMEDIATE:ALL; *WAI
Read trace data (without history, i.e. the last trace acquired in each channel)
:CALCULATE1:DATA? SDATA
:CALCULATE2:DATA? SDATA
Read last and previous trace data in channels 1 and 2
:CALCULATE1:DATA:NSWEEP? SDATA, 1 // last trace data
:CALCULATE1:DATA:NSWEEP? SDATA, 3 // previous trace data
:CALCULATE2:DATA:NSWEEP? SDATA, 1 // last trace data
:CALCULATE2:DATA:NSWEEP? SDATA, 4 // previous trace data
// 2nd Alternative: Forward reading (no command synchronization necessary)
Select single sweep mode and measure a single sweep group for channels no. 1
:INITIATE1:CONTinuous OFF
:INITIATE1:IMMEDIATE
Read the first and the following trace data in channel 1
Condensed programming examples

Table of Contents

Related product manuals