R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Command Reference
SCPI Command Reference
Operating Manual 1145.1084.12 – 30 797
Channel number in the active setup.
ALL – A separate file is created for each channel in the active setup.
String parameter to specify the name and directory of the created trace file.
Several file formats for trace files are supported. The file extensions *.s<n>p,
*.csv, and *.dat for Touchstone, 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.
If no path is specified the analyzer uses the C:\Program
Files\Rohde&Schwarz\Network Analyzer\Traces directory.
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.
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.
POINt – Decimal separator: point
COMMa – Decimal separator: comma
If the third optional parameter is omitted, points are used.
SEMicolon – Field separator: semicolon
COMMa – Field separator: comma
TABulator – Field separator: tabulator
SPACe – Field separator: space
If the third optional parameter is omitted, semicolons are used.
– (the default export format is UNFormatted)
*RST; :CONF:TRAC:NAME?
Reset the instrument, creating a default channel no 1 and a default trace 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:CHAN 1, 'C:\Program
Files\Rohde&Schwarz\Network Analyzer\Traces\Chn1.csv'
Store all trace data of channel 1 to a trace file.
MMEM:STOR:TRAC:CHAN 1, 'C:\Program
Files\Rohde&Schwarz\Network Analyzer\Traces\Chn1.s2p'
Store the four S-parameter traces to a two-port Touchstone
file. The Touchstone file will not contain the default trace
Trc1.