Command reference
R&S
®
ZNB/ZNBT
1158
User Manual 1173.9163.02 ─ 62
Setting parameters:
<Destination
TraceName>
Name of an existing data trace in the active recall set (string
parameter). The trace data is loaded into a memory trace asso-
ciated with the specified data trace. If one or more memory
traces are already associated with the specified data trace, the
last generated memory trace is overwritten.
<TraceFile>
String parameter to specify the name and directory of the trace
file to be loaded. Several file formats for trace files are suppor-
ted. The file extensions
*.s<n>p
,
*.csv
, and
*.dat
for Touch-
stone, ASCII, and Matlab files are mandatory.
If no path is specified the analyzer searches the current direc-
tory, to be queried with
<SParam
OrTraceName>
Optional string parameter: For imported Touchstone files for
more than one port (
*.s2p
,
*.s3p
,
*.s4p
), the parameter
denotes the imported S-parameter ('S11', 'S12', ...). For ASCII
(
*.csv
) and Matlab (
*dat
) files, the parameter references a
trace name in the file (case sensitive). If the parameter is omit-
ted, the first trace in the specified file is imported.
Example:
Assume that the current recall set contains a trace named Trc1.
MMEM:STOR:TRAC 'TRC1', 'C:\Users\Public
\Documents\Rohde-Schwarz\Vna\Traces\Trc1.s1p'
Store the current trace data of Trc1 to a trace file.
MMEM:LOAD:TRAC 'TRC1', 'C:\Users\Public
\Documents\Rohde-Schwarz\Vna\Traces\Trc1.s1p'
Load the previously created trace file and create a memory trace
assigned to Trc1.
CALC:PAR:DEF:SGR 1,2
Create four traces to measure the two-port S-parameters S
11
,
S
12
, S
21
, S
22
. The traces are not displayed.
MMEM:STOR:TRAC 'TRC1', 'C:\Users\Public
\Documents\Rohde-Schwarz\Vna\Traces\Trc1.s2p'
Store the four S-parameter traces to a two-port Touchstone file.
MMEM:LOAD:TRAC 'TRC1', 'C:\Users\Public
\Documents\Rohde-Schwarz\Vna\Traces\Trc1.s2p'
Load the previously created Touchstone file and overwrite the
previously generated memory trace assigned to Trc1 with the
S
11
trace.
Usage:
Setting only
Manual operation:
See
MMEMory:LOAD:TRACe:AUTO
<TraceFile>
Loads the specified trace file and automatically distributes the imported S-parameter
traces S
ij
to all diagrams in the active channel that are currently displaying S
ij
.
SCPI command reference