Command reference
R&S
®
ZNL/ZNLE
1057
User Manual 1178.5966.02 ─ 19
Markers and limit lines...
Programming task:
Display two traces in a single diagram area, use markers to read
results, and perform a limit check.
Important remote control features for this program example
The following command sequence illustrates the structure of the remote commands
discussed in section Basic Remote Control Concepts. In particular it shows that:
1. Traces are referenced by trace names. The active trace of a channel is often refer-
enced by the channel suffix. This simplifies the program syntax, e.g. in the com-
mands for marker settings and for the limit check.
2. Diagrams are referenced by a window suffix
<Wnd>
. An additional suffix
<WndTr>
in the
DISPlay:WINDow<Wnd>:TRACe<WndTr>...
commands numbers the dif-
ferent traces in a diagram.
3. The analyzer provides several commands allowing a smooth transition between
remote and manual control.
// 1. Create one channel, two traces, one diagram
// Reset the instrument, creating the default trace Trc1 in channel 1.
// The default measured quantity is the forward transmission S-parameter S21.
// The default format is dB Mag.
*RST
// Create a second trace in channel 1, assign the format Phase,
// and display the new trace in the same diagram.
// the trace becomes the active trace but is not displayed
CALCulate1:PARameter:SDEFine 'Trc2', 'S21'
// the trace is referenced by the channel suffix 1
CALCulate1:FORMat PHASe
// display the second trace, numbering it the second trace in diagram no. 1
DISPlay:WINDow1:TRACe2:FEED 'Trc2'
// Check the result on the local screen
// Go to local
SYSTem:DISPlay:UPDate ONCE
// 2. Marker settings
// Adjust the sweep range to consider an interesting segment of the trace and
// re-scale the diagram.
SENSe1:FREQuency:STARt 4.5 GHz; STOP 5.5 GHz
// in the autoscale command the trace is referenced by its number in the diagram
DISPlay:WINDow1:TRACe1:Y:SCALe:AUTO ONCE
VNA programming examples