Command reference
R&S
®
ZNA
1212
User Manual 1178.6462.02 ─ 20
Usage:
Setting only
Manual operation:
See
MMEMory:STORe:TRACe
<TraceName>, <TraceFile>[, <FormatInd>[, <Format>[,
<DecSeparator>[, <FieldSeparator>]]]]
Stores the trace data of a specified data trace to a trace file. Traces are created using
the
CALCulate<Ch>:PARameter:SDEFine
command.
Tip:
*.s<n>p
Touchstone files (<n> = 1, 2, 3, ...) are intended for a complete set of
<n>-port S-parameters. Data export fails if the active channel does not contain the full
set of <n>
2
traces or if the involved ports are not numbered consecutively, starting with
port 1. If the necessary traces are available,
'<trc_name>'
can be the name of any
of the traces. To create Touchstone files while less than <n>
2
single-ended traces are
available, use
.
Setting parameters:
<TraceName>
Name of an existing data trace in the active recall set (string
parameter).
<TraceFile>
String parameter to specify the name and directory of the cre-
ated trace file. Several file formats for trace files are supported.
The file extensions
*.s<n>p
,
*.csv
, and
*.dat
for Touch-
stone, ASCII, and Matlab files are mandatory. To generate a
multiport Touchstone file
*.s2p
,
*.s3p
..., the channel must
contain traces for the full set of S-parameters; the '
<trc_name>
'
is ignored. If no path is specified the analyzer uses the current
directory, to be queried with
MMEMory:CDIRectory?
.
<FormatInd>
FORMatted | UNFormatted
UNFormatted - unformatted data export specified by the second
optional parameter.
FORMatted - formatted data export (for
*.csv
and
*.dat
files
only).
If the first optional parameter is omitted, the command stores
unformatted data.
<Format>
COMPlex | LINPhase | LOGPhase
COMPlex - complex values (real and imaginary part)
LINPhase - linear magnitude and phase.
LOGPhase - dB-magnitude and phase.
If the second optional parameter is omitted, the command stores
complex data.
<DecSeparator>
POINt | COMMa
POINt - decimal separator: point.
COMMa - decimal separator: comma.
If the third optional parameter is omitted, points are used.
<FieldSeparator>
SEMicolon | COMMa | TABulator | SPACe
SEMicolon - field separator: semicolon
SCPI command reference