Command Reference
R&S
®
ZNA
864
User Manual 1178.6462.02 ─ 12
Example:
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 no. 1.
INIT2:CONT OFF; :INIT2:IMMediate; *OPC
Perform a complete speep in channel no. 2 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 com-
plete S
11
trace, followed by the S
12
, S
21
, and S
22
traces.
CALC2:PAR:DEL:SGR
Delete the previously created port group.
Manual operation:
See
CALCulate<Ch>:PARameter:DELete
<TraceName>
Deletes a trace with a specified trace name and channel.
Suffix:
<Ch>
.
Channel number.
Setting parameters:
<TraceName>
Trace name, e.g. 'Trc4'. See "Rules for trace names" in
ter 6.5.1.3, "Trace Manager Dialog"
Example:
CALCulate4:PARameter:SDEFine 'Ch4Tr1', 'S11'
Create channel 4 and a trace named
Ch4Tr1
to measure the
input reflection coefficient S
11
.
CALCulate4:PAR:CAT?
Query the traces assigned to channel 4.
Ch4Tr1
is the only
trace assigned to channel 4, so the response is
'CH4TR1,S11'
.
CALCulate4:PARameter:SDEFine 'CH4TR2', 'S21';
SDEFine 'CH4TR3', 'S12'; SDEFine 'CH4TR4',
'S22'
Create three more traces for the remaining 2-port S-parameters.
CALCulate4:PARameter:DELete 'CH4TR1'
Delete the first created trace.
CALCulate4:PARameter:DELete:CALL
Delete the remaining three traces in channel 4.
CALCulate:PARameter:DELete:ALL
Delete all traces, including the default trace
Trc1
in channel 1.
Usage:
Setting only
Manual operation:
See
SCPI Command Reference