![Rohde & Schwarz ZVL series Operating Manual Download Page 171](http://html.mh-extra.com/html/rohde-and-schwarz/zvl-series/zvl-series_operating-manual_1477904171.webp)
R&S ZVL
GUI Reference
Trace Menu
Operating Manual 1303.6580.32-06
156
•
Touchstone (*.s<n>p) files
•
ASCII (*.csv) files
•
Matlab (*.dat) files are ASCII files which can be imported and processed in Matlab.
The trace file formats complement each other; see
Selecting an appropriate file format.
Touchstone files
All Touchstone files contain a header, a comment section, and the actual trace data:
# HZ S RI R 50.0000
! Rohde & Schwarz ZVL
! Measurement: S11
! 2003-07-07
!
60297750.000000 0.498113 -0.054290
80297000.000000 0.504888 -0.081229
...
The header consists of the following data elements:
# specifies beginning of header line (required at top of file). <Frequency unit> HZ / KHZ / MHZ / GHZ
allowed for imported files. The analyzer always uses HZ for exported data.
<Data file type> at present: S for S-parameter files.
<Data format> RI for Re/Im, MA for lin. Mag-Phase, DB for dB Mag-Phase. The data format for export
files can be selected in the Export Data dialog.
<Normalizing impedance> Impedance system in which the data was defined. The analyzer uses
50.0000
V
.
Comment lines start with the exclamation mark (!) and may contain any text used for documentation of the
trace data file. Any number of comment lines may be inserted before or after the header line.
The trace data section depends on the number of ports <n> and the data format. For real and imaginary
values (data format = RI) the trace data for each stimulus frequency is arranged as follows:
•
1-port files (*.s1p)
•
Freq Re(S11) Im(S11)
•
S11 can be replaced by an any S-parameter, so the *s1p format is suitable for exporting an
arbitrary data trace representing an S-parameter.
•
2-port files (*.s2p)
•
Freq Re(S11) Im(S11) Re(S21) Im(S21) Re(S12) Im(S12) Re(S22) Im(S22)
•
(all values arranged in 1 line)
The stimulus frequencies are arranged in ascending order. If a
lin. Mag-Phase (MA)
or
dB Mag-Phase
(DB)
data format is selected the real and imaginary S-parameter values Re(S
ij
), Im(S
ij
) are replaced by lin
Mag(S
ij
), phase(S
ij
) or dB Mag(S
ij
), phase(S
ij
), respectively.
According to Touchstone file specifications, no more than four pairs of network data are allowed per data
line. The entries in the data lines are separated by white space, and a data line is terminated by a new line
character. All data sets are arranged in increasing order of frequency.
ASCII (*.csv) files
An ASCII file contains a header and the actual trace data:
freq;reTrc1_S21;imTrc1_S21;reMem2[Trc1]_S21;imMem2[Trc1]_S21;
300000.000000;0.000000;0.000000;0.000000;0.000000;
40499497.487437;0.000000;0.000000;0.000000;0.000000;
80698994.974874;0.494927;-0.065174;0.500833;-0.074866;
120898492.462312;0.497959;-0.111724;0.488029;-0.107375;