Concepts and Features
R&S
®
ZNB/ZNBT
138
User Manual 1173.9163.02 ─ 38
4.4.2.2
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;
...
The header consists of the following data elements:
●
<Stimulus> stimulus variable: freq for Frequency sweep, power for Power sweep,
time for Time sweep, trigger for CW Mode sweep.
●
<reTrace1> first response value of first trace: re<Trace_Name>,
mag<Trace_Name> or db<Trace_Name> for output format Re/Im, lin. Mag-Phase
or dB Mag-Phase, respectively. The data format for export files can be selected in
the Export Data dialog.
●
<imTrace1> second response value of first trace: im<Trace_Name> for output for-
mat Re/Im, ang<Trace_Name> for output formats lin. Mag-Phase or dB Mag-
Phase. The data format for export files can be selected in the Export Data dialog.
●
<reTrace2> first response value of second trace: re<Trace_Name>,
mag<Trace_Name> or db<Trace_Name> for output format Re/Im, lin. Mag-Phase
or dB Mag-Phase, respectively. The data format for export files can be selected in
the Export Data dialog.
●
<imTrace2>... second response value of second trace: im<Trace_Name> for out-
put format Re/Im, ang<Trace_Name> for output formats lin. Mag-Phase or dB
Mag-Phase. The data format for export files can be selected in the Export Data dia-
log. first response value of second trace. HZ / KHZ / MHZ / GHZ allowed for impor-
ted files. The analyzer always uses HZ for exported data. second response value
of first trace: im<Trace_Name> for output format Re/Im, ang<Trace_Name> for
output formats lin. Mag-Phase or dB Mag-Phase. The data format for export files
can be selected in the Export Data dialog.
The trace data is arranged as described in the header. Different values are separated
by semicolons, commas or other characters, depending on the selected "Decimal Sep-
arator" in the "Export ... Data" dialogs. A semicolon is inserted before the end of each
line.
The stimulus values are arranged in ascending order.
4.4.2.3
Finding the Best File Format
The file format depends on how you want to use the exported data.
Use a
Touchstone
file format to export single-ended S-parameter data traces to a file
that can be evaluated with applications such as Agilent's Microwave Design System
(MDS) and Advanced Design System (ADS), and to convert mixed mode parameters
Operations on Traces