EasyManua.ls Logo

Rohde & Schwarz R&S ZNA Series - 8.2.4.4 Exporting S-parameters; 8.2.5 Calibration; 8.2.5.1 One and two-port calibration

Rohde & Schwarz R&S ZNA Series
1849 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming examples
R&S
®
ZNA
1747User Manual 1178.6462.02 ─ 29
if (CALCULATE1:DATA:NSWEEP:COUNT? > 2)
:CALCULATE1:DATA:NSWEEP:FIRST? SDATA, 1 // first trace data
:CALCULATE1:DATA:NSWEEP:FIRST? SDATA, 3 // third trace data
8.2.4.4 Exporting S-parameters
The calibration defines which S-Parameters are allowed to be exported to a Touch-
stone file. In the following example, a default (TOSM) calibration is created to make all
S-Parameters available.
// Reset the analyzer
*RST
:SYSTEM:DISPLAY:UPDATE ON
:SENSe1:CORRection:COLLect:METHod:DEFine 'Test', TOSM, 1, 2, 3, 4
:SENSe1:CORRection:COLLect:SAVE:SELected:DEFault
// Initiate a complete sweep
:INITiate1:CONTinuous OFF; :INITiate:IMMediate;*WAI
:MMEMory:STORe:TRACe:PORTs 1, 'ParserTouchstonePorts.s1p', COMPlex, 2
:MMEMory:STORe:TRACe:PORTs 1, 'ParserTouchstonePorts.s2p', COMPlex, 3, 2
:MMEMory:STORe:TRACe:PORTs 1, 'ParserTouchstonePorts.s4p', COMPlex, 1, 4, 3, 2
8.2.5 Calibration
The following programming examples are related to system error correction and power
calibration.
8.2.5.1 One and two-port calibration
The following example calibrates one or two analyzer ports.
// Reset the analyzer
*RST
:SYSTEM:DISPLAY:UPDATE ON
// Set cal kit as active kit for N50
:SENSE:CORRECTION:CKIT:N50:SELECT 'ZV-Z121'
// Select connectors for the ports
:SENSE1:CORRECTION:COLLECT:CONNECTION1 N50MALE
:SENSE1:CORRECTION:COLLECT:CONNECTION2 N50MALE
// Don't save the cal standard measurements with apply cal, i.e. with the commands
// :SENSE1:CORRECTION:COLLECT:SAVE or
// :SENSe1:CORRection:COLLect:SAVE:SELected
Condensed programming examples

Table of Contents

Related product manuals