EasyManua.ls Logo

Rohde & Schwarz R&S ZNA Series - Page 1749

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
1749User Manual 1178.6462.02 ─ 29
// Reset the analyzer
*RST
////////////////////////////////////////////////////////////////////////////////
// Connect to the cal unit
:SYSTem:COMMunicate:RDEVice:AKAL:ADDRess 'ZN-Z51::999002'
////////////////////////////////////////////////////////////////////////////////
// Prepare the multi cal
// create the first calibration:
// with full multi port and factory calkit
:SENSe1:CORRection:COLLect:AUTO:CONFigure FNPort, ''
// the first cal addresses test ports 2,3 and 4 and explicitly
// assigns them to cal unit ports 2,3 and 4, respectively
:SENSE1:CORRECTION:COLLECT:AUTO:ASSignment1:DEFine 2,2,3,3,4,4
// get the number of port assignments of the current calibration
// expected result: 1
:SENSE1:CORRECTION:COLLECT:AUTO:ASSignment:COUNt?
// explore port assignment 1
// expected result: 2,2,3,3,4,4
:SENSE1:CORRECTION:COLLECT:AUTO:ASSignment1:DEFine?
// create the second calibration:
// full one port and factory calkit
:SENSe1:CORRection:COLLect:AUTO:CONFigure FOPort, ''
// the second cal addresses test port 1
// and explicitly assigns it to cal unit port 1
:SENSE1:CORRECTION:COLLECT:AUTO:ASSignment2:DEFine 1,1
// get the number of port assignments of the current calibration
// expected result: 1
:SENSE1:CORRECTION:COLLECT:AUTO:ASSignment:COUNt?
// get the number of port assignments of all calibrations
// expected result: 2
:SENSE1:CORRECTION:COLLECT:AUTO:ASSignment:ALL:COUNt?
// explore port assignment 2
// expected result: 1,1
:SENSE1:CORRECTION:COLLECT:AUTO:ASSignment2:DEFine?
////////////////////////////////////////////////////////////////////////////////
// Acquire error correction data
:SENSE1:CORRECTION:COLLECT:AUTO:ASSignment1:ACQUire
:SENSE1:CORRECTION:COLLECT:AUTO:ASSignment2:ACQUire
////////////////////////////////////////////////////////////////////////////////
Condensed programming examples

Table of Contents

Related product manuals