R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Command Reference
SCPI Command Reference
Operating Manual 1145.1084.12 – 30 668
<Ch_name>_SG_S<log_port<n>><log_port2>...
<Ch_name>_SG_S<log_port<n>><log_port<n>>,
e.g. Ch1_SG_S11, Ch1_SG_S12, Ch1_SG_S21, Ch1_SG_S22 for <Ch_name> =
Ch1, <log_port1> = 1, <log_port2> = 2.
The trace names are displayed in the Trace Manager
(DISPlay:MENU:KEY:EXECute 'Trace Manager') and Channel Manager
dialogs where they can be changed manually. The <Ch_name> is defined via
CONFigure:CHANnel<Ch>:NAME '<Ch_name>'.
Trace names are important for referencing the generated traces; see program
example below.
1 to 4 [–] (depending on instrument model)
Device-specific, with query. The query returns the port numbers of the current S-
parameter group, NONE if no S-parameter group has been defined.
CALC2:PAR:DEF:SGR 1,2
Create channel 2 and four traces to measure the two-port S-parameters S
11
, S
12
,
S
21
, S
22
. The traces are not displayed.
DISP:WIND:TRAC2:FEED 'Ch2_SG_S11'
DISP:WIND:TRAC3:FEED 'Ch2_SG_S12'
DISP:WIND:TRAC4:FEED 'Ch2_SG_S21'
DISP:WIND:TRAC5:FEED 'Ch2_SG_S22'
Display the four traces in the diagram area no. 1.
INIT:CONT OFF
INIT:IMMediate *OPC
Perform a complete speep to ensure the traces are completely "filled" with data.
CALC2:DATA:SGR? SDAT
Retrieve all four traces as unformatted data (real and imaginary part at each
sweep point). The analyzer first returns the complete S
11
trace, followed by the S
12
,
S
21
, and S
22
traces.
CALC2:PAR:DEL:SGR
Delete the previously created port group.
CALCulate<Ch>:PARameter:DELete '<trace>'
Deletes a trace with a specified trace name and channel.
Trace name, e.g. 'Trc4'. See Rules for trace names in the Trace Manager
description.
Device-specific, no query.