R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT GUI Reference
Trace Menu
Operating Manual 1145.1084.12 – 30 195
The trace data section corresponds to a set of single-ended S-parameters. It depends on the number of
ports <n> and the data format. For real and imaginary values (data format = Real-Imag) 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; 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)
3-port files (*.s3p)
Freq Re(S11) Im(S11) Re(S12) Im(S12) Re(S13) Im(S13)
Re(S21) Im(S21) Re(S22) Im(S22) Re(S23) Im(S23)
Re(S31) Im(S31) Re(S32) Im(S32) Re(S33) Im(S33)
(values arranged in 3 lines)
4-port files (*.s4p)
Freq Re(S11) Im(S11) Re(S12) Im(S12) Re(S13) Im(S13) Re(S14) Im(S14)
Re(S21) Im(S21) Re(S22) Im(S22) Re(S23) Im(S23) Re(S24) Im(S24)
Re(S31) Im(S31) Re(S32) Im(S32) Re(S33) Im(S33) Re(S34) Im(S34)
Re(S41) Im(S41) Re(S42) Im(S42) Re(S43) Im(S43) Re(S44) Im(S44)
(values arranged in 4 lines)
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.
When exporting traces to a Touchstone file, it is recommended to set the analyzer to single sweep
mode (Channel – Sweep – Single (All Chans)). This will ensure that a complete sweep is exported.
ASCII (*.csv) files
ASCII files may be used to persist/load the data of one or more traces, sharing the same stimulus values.
The following example shows the content of an ASCII trace file, as generated by the Export Complex Data
function:
# Version 1.00
#
# Ref Impedances: Z01: 50, Z02: 50, Z03: 50, Z04: 50
#
freq[Hz];re:Trc1_S21;im:Trc1_S21;
3.000000000000000E+005;4.982868071198834E-001;-4.830951655465065E-002;
4.029850000000000E+007;4.960284141557844E-001;-4.770717265691336E-002;
8.029700000000000E+007;4.945932794558519E-001;-7.198394844983427E-002;
...