R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Command Reference
SCPI Command Reference
Operating Manual 1145.1084.12 – 30 798
MMEMory:STORe:TRACe:PORTs '<channel no.>','<file_name>', COMPlex |
LINPhase | LOGPhase, <Port 1>[, <Port 2>, ...]
Generates a Touchstone file for the specified ports. Corresponds to Export S-Matrix.
The Touchstone file (.s<n>p where <n> is the number of ports) contains a full set of <n>
2
single-ended S-
parameters for the selected ports. If the port configuration contains balanced ports, the Touchstone file will
contain the converted single-ended S-parameters.
For the Touchstone file export, a full multiport system error correction must be available. It is not
necessary to measure the full set of S-parameters.
Traces are created using the CALCulate<Ch>:PARameter:SDEFine... command. To export
uncalibrated, incomplete sets of S-parameters, use MMEMory:STORe:TRACe:PORTs:INComplete.
Renormalization rules
– In automatic renormalization mode (MMEMory:SETTings:RENorm:MODE AUTO), the analyzer uses the
common reference impedance of the physical ports as the target impedance (or 50 Ω, if different port
impedances are defined). The Reference resistance written to the file header of a Touchstone file is set
according to the target impedance; the configured reference impedance
(MMEMory:SETTings:RENorm:RIMPedance) is ignored.
– In explicit renormalization mode (MMEMory:SETTings:RENorm:MODE EXPLicit), renormalization is
enabled if and only if the renormalization state (MMEMory:SETTings:RENorm:STATe) is ON. If enabled,
S-parameters are renormalized to the configured reference
impedance (MMEMory:SETTings:RENorm:RIMPedance). The Reference resistance written to the file
header of a Touchstone file is set according to the configured reference
impedance (MMEMory:SETTings:RENorm:RIMPedance) - irrespective of the renormalization state.
Channel number in the active setup.
String parameter to specify the name and directory of the created Touchstone file.
The file extension *.s<n>p for a n-port Touchstone file is mandatory.
If no path is specified the analyzer uses the current directory, to be queried with
MMEMory:CDIRectory?.
COMPlex – Complex values (real and imaginary part)
LINPhase – Linear magnitude and phase
LOGPhase – dB-magnitude and phase
<Port 1>, <Port 2>... – First, second... port number
.
– (the default export format in manual control is COMPlex)
Device-specific, no query.
Suppose that a full four-port calibration for ports 1 to 4 and channel 1 has been
performed, and that a DUT with two balanced ports is connected. The analyzer
measures an arbitrary mixed mode S-parameter.
MMEM:STOR:TRAC:PORT 1, 'Test.s4p', COMPlex, 1,2,3,4
Calculate all single-ended S-parameters and store them to a four-port
Touchstone file.