
Command Reference
R&S
®
ZNL/ZNLE
941
User Manual 1178.5966.02 ─ 07
// Assign the reflection parameter S11 to the default trace.
:CALCulate1:PARameter:MEASure 'Trc1', 'S11'
// Assign the remaining S-parameters to new traces Trc2, Trc3, Tr4;
// select the Smith chart format for the reflection parameters.
CALCulate1:FORMat SMITh // Smith chart for the active trace Trc1
CALCulate1:PARameter:SDEFine 'Trc2', 'S21'
CALCulate1:PARameter:SDEFine 'Trc3', 'S12'
CALCulate1:PARameter:SDEFine 'Trc4', 'S22'
// Smith chart for the active trace Trc4, referenced by the channel number
CALCulate1:FORMat SMITh
// Display the new traces in diagrams no. 2 to 4.
DISPlay:WINDow2:TRACe2:FEED 'Trc2'
DISPlay:WINDow3:TRACe3:FEED 'Trc3'
DISPlay:WINDow4:TRACe4:FEED 'Trc4'
// Check the result on the local screen
// Go to local
SYSTem:DISPlay:UPDate ONCE
Several Traces with Different Channel Settings...
Programming task:
Create three channels with 3, 1 and 2 traces, respectively, and
display the traces in two diagrams.
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. Channels are always referenced by a channel suffix.
2. Traces are referenced by trace names. The active trace of a channel is often refer-
enced by the channel suffix.
3. 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.
4. The analyzer provides several commands allowing a smooth transition between
remote and manual control.
// 1. Create all channels and traces
// 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 two more traces in channel 1, assigning a trace name and a measured
// quantity to each of them. Choose descriptive trace names (instead of the
// short default names used above).
VNA Programming Examples
www.allice.de
Allice Messtechnik GmbH