Please enable JavaScript to view this site.

 Network Analyzers using TRVNA software

The Analyzer allows saving S-parameters to a Touchstone file. Files in this format are typical for most circuit simulator programs. The Touchstone file contains frequency values and S-parameters.

The Touchstone file saving function is applied to individual channels. Activate the channel to use this function (See Active Channel Selection).

The *.S1P files are used for saving S11 parameters of a one-port device.

The *.S2P files are used for saving all four S-parameters of a two-port device.


note

The Analyzer allows the measurement of only S11 and S21 parameters. When *.S2P is saved, the missing S-parameters S12 and S22 are filled in as zeroes.


The Touchstone file contains comments, header, and trace data lines. The header starts from the «#» symbol. Comments start from the «!» symbol. Comment contains following strings:

Model, serial number, software version.

Save date (in dd.mm.yyyy hh:mm:ss format).

The name of the saved parameters and their units.

The *.S1P Touchstone file for one-port measurements:

! Comments

# Hz S FMT R Z0

F[0]

{S11}’

{S11}”

F[1]

{S11}’

{S11}”

 

. . .

 

F[N]

{S11}’

{S11}”

The *.S2P Touchstone file for two-port measurements:

! Comments

# Hz S FMT R Z0

F[0]

{S11}’

{S11}”

{S21}’

{S21}”

0

0

0

0

F[1]

{S11}’

{S11}”

{S21}’

{S21}”

0

0

0

0

. . .

F[N]

{S11}’

{S11}”

{S21}’

{S21}”

0

0

0

0

Hz frequency measurement units (kHz, MHz, GHz);

FMT — data format:

RI real and imaginary parts;

MA — linear magnitude and phase in degrees;

DB — logarithmic magnitude in dB and phase in degrees;

Z0 — reference impedance value;

F[n] — frequency at measurement point n;

{…}’ — {real part (RI) | linear magnitude (MA) | logarithmic magnitude (DB)};

{…}” — {imaginary part (RI) | phase in degrees (MA) | phase in degrees (DB)}.

Touchstone File Saving

Touchstone typeTouchstone Type options

To select the saving type, use the following softkeys:

System > Save > Touchstone File > Type

Then select the required Touchstone type:

1-Port (s1p)

2-Port (s2p)

 

Touchstone format

Touchstone format options

To select the data format, use the following softkeys:

System > Save > Touchstone File > Format

Then select the required Touchstone format:

Real-Imaginary

Magnitude-Angle

dB-Angle

 

Unit

To select unit of Touchstone file data, use the following softkeys:

System > Save > Touchstone File > Unit

Then select the required unit.

 

 

 

Touchstone file

Save file

To save file to the hard disk, use the following softkeys:

System > Save > Touchstone File > Save

Enter the file name in the dialog that appears.

 

 

 

Touchstone File Recalling

The Analyzer allows recalling data from the Touchstone files. Data can be loaded to memory traces or to data traces. When loading data to data traces, the Analyzer switches to hold mode to avoid writing over the recalled data with current data. When loading data to the memory traces, the sweep hold does not occur.

If the frequency scale of the Touchstone file does not correspond with the current Analyzer frequency settings, the user is prompted to choose between interpolating the data on recall or changing the analyzer settings.

Warning_Recall_Touchstone

Touchstone fileRecall Touchstone

Load the data from the Touchstone file using one of the softkeys:

System > Recall > Touchstone File

Then select the required data loading method:

To Active Trace Memory loading data to the active trace memory.

To All Traces Memory loading data to the memory of all traces.

To S-parameters loading data to all data traces of the channel.

Enter the file name in the dialog that appears.

 

 

 

 

Rev.:  24.1