
R&S ZVL
Command Reference
Instrument-Control Commands
Operating Manual 1303.6580.32-05
467
MMEMory:LOAD:TRACe '<trc_name>','<file_name>'[,'<parameter_name>']
Loads trace data from a specified trace file and assigns it to a trace with a specified name. Traces are
created using the
CALCulate<Ch>:PARameter:SDEFine...
command.
'<trc_name>'
Name of an existing data trace in the active setup (string parameter). The
trace data is loaded into a memory trace associated 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.
'<file_name>'
String parameter to specify the name and directory of the trace file to be
loaded. Several file formats for trace files are supported. If no path is
specified the analyzer searches the current directory, to be queried with
MMEMory:CDIRectory?
.
The file extensions *.s<n>p, *.csv, and *.dat for Touchstone, ASCII, and
Matlab files are mandatory.
'<parameter_name>'
Optional string parameter for imported Touchstone files for more than one
port (*.s2p, *.s3p, *.s4p), denotes the imported S-parameter ('S11', 'S12', ...).
If nothing is specified, the first trace in the specified file is imported.
*RST value
–
SCPI, Command
Types
Confirmed, no query.
Example:
Assume that the current setup contains a trace named
Trc1.
MMEM:STOR:TRAC 'TRC1',
'C:\R_S\Instr\user\Nwa\Traces\Trc1.s1p'
Store the current trace data of Trc1 to a trace file.
MMEM:LOAD:TRAC 'TRC1',
'C:\R_S\Instr\user\Nwa\Traces\Trc1.s1p'
Load the previously created trace file and create a
memory trace assigned to Trc1.
C
ALC: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:\R_S\Instr\user\Nwa\Traces\Trc1.s2p'
Store the four S-parameter traces to a two-port
Touchstone file.
MMEM:LOAD:TRAC 'TRC1',
'C:\R_S\Instr\user\Nwa\Traces\Trc1.s2p'
Load the previously created Touchstone file and
overwrite the previously generated memory trace assigned
to Trc1 with the S
11
trace.