Programming examples
R&S
®
ZNB/ZNBT
1509
User Manual 1173.9163.02 ─ 62
// Alternative direct definition of the joined layout as a vertical layout
:DISPlay:LAYout:DEFine 3, VERT, '0.3,1.0;0.7,0.5,0.5'
:DISPlay:LAYout:APPLy 3
:DISPlay:LAYout:EXECute?
%(1,2,0.00,0.00,(1,1,0.3,1.00,[1.00,1.0]),(2,1,0.7,1.00,[1.00,0.5],[1.00,0.5]))
8.2.3
Using markers
The following example shows you how to define markers and use them to read trace
values.
// Reset the analyzer
*RST
:SYSTEM:DISPLAY:UPDATE ON
// Initiate a single sweep
:INITiate1:CONTinuous OFF
:INITiate1:IMMediate;*WAI
// The following marker commands have the channel no. as a numeric suffix.
// The parameter belongs to a trace, the assignment channel -> trace
// is done via a "active" trace for each channel
:CALCULATE1:PARAMETER:SELECT 'Trc1'
// Marker ON / OFF
:CALCULATE1:MARKER1 ON
:CALCULATE1:MARKER1:STATE?
// Coupled Markers
// All markers belonging to channels with the same sweep type
// (FREQUENCY, TIME, POWER, CW FREQUENCY) are coupled/decoupled
:CALCULATE1:MARKER:COUPLED ON
// Marker Continuous / Discrete
:CALCULATE1:MARKER1:MODE CONTINUOUS
// Normal / Delta / Reference / Fixed Marker
:CALCULATE1:MARKER:AOFF // all markers off
:CALCULATE1:MARKER1 ON
:CALCULATE1:MARKER1:X 1GHZ
:CALCULATE1:MARKER2 ON
:CALCULATE1:MARKER2:X 2GHZ
:CALCULATE1:MARKER3 ON
:CALCULATE1:MARKER3:X 3GHZ
:CALCULATE1:MARKER4:DELTA:STATE ON
Condensed programming examples