Concepts and features
R&S
®
ZNA
150
User Manual 1178.6462.02 ─ 20
●
ASCII ("*.csv") files
●
Matlab ("*.dat") files are ASCII files which can be imported and processed in Mat-
lab.
The trace file formats complement each other; see
Chapter 4.4.2.3, "Finding the best
●
When exporting traces to a file, it is recommended to set the analyzer to single
sweep mode (Channel – [Sweep] > "Sweep Control" > "All Channels on Hold").
This mode ensures that a complete sweep is exported.
●
The number of decimal places of stimulus and data values in export files is configu-
rable.
4.4.2.1
Touchstone files
The Touchstone file format is a standard for the transfer of frequency-dependent net-
work data. Based on information from Agilent Corporation (the originator of Touch-
stone), formal specifications were produced by the EIA/IBIS Open Forum.
●
Touchstone File Format Specification Rev 1.1
●
Touchstone File Format Specification Version 2.0
The R&S
ZNA supports Touchstone file versions 1.1 and 2.0.
By convention, Touchstone files use file extensions
.snp
, where
n
is the number of
network ports. The following displays an
s1p
export file in "Version 1.1 (ZNx)" format:
# HZ S RI R 50.00
! Rohde & Schwarz Vector Network Analyzer
! Rohde-Schwarz,ZNA26-4Port,1332450024100005,2.20
! Created: UTC 12/24/2020, 5:20:26 PM
! My Comment
! freq[Hz] re:S11 im:S11
1.000000000000000E7 5.067533850669861E-1 -4.535870999097824E-2
1.424500000000000E8 4.869025051593781E-1 -1.263110041618347E-1
...
1
3
4
5
2
6
1 = option line
2 = VNA identification comment
3 = timestamp comment
4 = user-defined comment
5 = network data table header comment
6 = network data table
General syntax rules
Among others, the following general syntax rules apply:
●
Touchstone files are ASCII files, 8-bit encoded using ISO/IEC 8859-1:1998. Only
the graphical characters 0x20 to 0x7E, the tab character 0x09, and the three line
termination sequences LF (0x0A), CR+LF (0x0D + 0x0A), and CR (0x0Dh) are
allowed.
●
Touchstone files are case-insensitive.
Operations on traces