User`s guide
Table Of Contents
- Agilent E5061A/E5062A ENA Series ENA Series RF Network Analyzers
- 1 Making Effective Use of This Manual
- 2 Overview of Remote Control
- 3 Setting Up the Analyzer
- 4 Performing a Calibration
- 5 Making a Measurement
- 6 Analyzing Data
- 7 Reading/Writing Measurement Data
- 8 Limit Test
- 9 Saving and Recalling (File Management)
- 10 Communication with External Instruments Using Handler I/O Port
- 11 Working with Automatic Test Systems
- 12 Sample Application Programs
- 13 SCPI Command Reference
- Notational conventions in this command reference
- IEEE Common Commands
- E5061A/E5062A commands
- :ABOR
- :CALC{1-4}:BLIM
- :CALC{1-4}:BLIM:DB
- :CALC{1-4}:BLIM:DISP:MARK
- :CALC{1-4}:BLIM:DISP:VAL
- :CALC{1-4}:BLIM:FAIL?
- :CALC{1-4}:BLIM:MAX
- :CALC{1-4}:BLIM:MIN
- :CALC{1-4}:BLIM:REP?
- :CALC{1-4}:CONV
- :CALC{1-4}:CONV:FUNC
- :CALC{1-4}:CORR:EDEL:TIME
- :CALC{1-4}:CORR:OFFS:PHAS
- :CALC{1-4}:DATA:FDAT
- :CALC{1-4}:DATA:FMEM
- :CALC{1-4}:DATA:SDAT
- :CALC{1-4}:DATA:SMEM
- :CALC{1-4}:FORM
- :CALC{1-4}:FUNC:DATA?
- :CALC{1-4}:FUNC:DOM
- :CALC{1-4}:FUNC:DOM:COUP
- :CALC{1-4}:FUNC:DOM:STAR
- :CALC{1-4}:FUNC:DOM:STOP
- :CALC{1-4}:FUNC:EXEC
- :CALC{1-4}:FUNC:PEXC
- :CALC{1-4}:FUNC:POIN?
- :CALC{1-4}:FUNC:PPOL
- :CALC{1-4}:FUNC:TARG
- :CALC{1-4}:FUNC:TTR
- :CALC{1-4}:FUNC:TYPE
- :CALC{1-4}:LIM
- :CALC{1-4}:LIM:DATA
- :CALC{1-4}:LIM:DISP
- :CALC{1-4}:LIM:DISP:CLIP
- :CALC{1-4}:LIM:FAIL?
- :CALC{1-4}:LIM:OFFS:AMPL
- :CALC{1-4}:LIM:OFFS:MARK
- :CALC{1-4}:LIM:OFFS:STIM
- :CALC{1-4}:LIM:REP:ALL?
- :CALC{1-4}:LIM:REP?
- :CALC{1-4}:LIM:REP:POIN?
- :CALC{1-4}:MARK:BWID
- :CALC{1-4}:MARK:COUP
- :CALC{1-4}:MARK:FUNC:DOM
- :CALC{1-4}:MARK:FUNC:DOM:COUP
- :CALC{1-4}:MARK:FUNC:DOM:STAR
- :CALC{1-4}:MARK:FUNC:DOM:STOP
- :CALC{1-4}:MARK:FUNC:MULT:PEXC
- :CALC{1-4}:MARK:FUNC:MULT:PPOL
- :CALC{1-4}:MARK:FUNC:MULT:TARG
- :CALC{1-4}:MARK:FUNC:MULT:TRAC
- :CALC{1-4}:MARK:FUNC:MULT:TTR
- :CALC{1-4}:MARK:FUNC:MULT:TYPE
- :CALC{1-4}:MARK:MATH:FLAT
- :CALC{1-4}:MARK:MATH:FLAT:DATA?
- :CALC{1-4}:MARK:MATH:FST
- :CALC{1-4}:MARK:MATH:FST:DATA?
- :CALC{1-4}:MARK:MATH:STAT
- :CALC{1-4}:MARK:MATH:STAT:DATA?
- :CALC{1-4}:MARK:NOTC
- :CALC{1-4}:MARK:REF
- :CALC{1-4}:MARK{1-10}
- :CALC{1-4}:MARK{1-10}:ACT
- :CALC{1-4}:MARK{1-10}:BWID:DATA?
- :CALC{1-4}:MARK{1-10}:BWID:THR
- :CALC{1-4}:MARK{1-10}:DISC
- :CALC{1-4}:MARK{1-10}:FUNC:EXEC
- :CALC{1-4}:MARK{1-10}:FUNC:PEXC
- :CALC{1-4}:MARK{1-10}:FUNC:PPOL
- :CALC{1-4}:MARK{1-10}:FUNC:TARG
- :CALC{1-4}:MARK{1-10}:FUNC:TRAC
- :CALC{1-4}:MARK{1-10}:FUNC:TTR
- :CALC{1-4}:MARK{1-10}:FUNC:TYPE
- :CALC{1-4}:MARK{1-10}:NOTC:DATA?
- :CALC{1-4}:MARK{1-10}:NOTC:THR
- :CALC{1-4}:MARK{1-10}:SET
- :CALC{1-4}:MARK{1-10}:X
- :CALC{1-4}:MARK{1-10}:Y?
- :CALC{1-4}:MATH:FUNC
- :CALC{1-4}:MATH:MEM
- :CALC{1-4}:MST
- :CALC{1-4}:MST:DATA?
- :CALC{1-4}:PAR:COUN
- :CALC{1-4}:PAR{1-4}:DEF
- :CALC{1-4}:PAR{1-4}:SEL
- :CALC{1-4}:RLIM
- :CALC{1-4}:RLIM:DATA
- :CALC{1-4}:RLIM:DISP:LINE
- :CALC{1-4}:RLIM:DISP:SEL
- :CALC{1-4}:RLIM:DISP:VAL
- :CALC{1-4}:RLIM:FAIL?
- :CALC{1-4}:RLIM:REP?
- :CALC{1-4}:SMO
- :CALC{1-4}:SMO:APER
- :CONT:HAND:A
- :CONT:HAND:B
- :CONT:HAND:C
- :CONT:HAND:C:MODE
- :CONT:HAND:D
- :CONT:HAND:D:MODE
- :CONT:HAND:E
- :CONT:HAND:F
- :CONT:HAND:IND:STAT
- :CONT:HAND:OUTP{1-2}
- :CONT:HAND:RTR:STAT
- :DISP:ANN:FREQ
- :DISP:CCL
- :DISP:CLOC
- :DISP:COL{1-2}:BACK
- :DISP:COL{1-2}:GRAT{1-2}
- :DISP:COL{1-2}:LIM{1-2}
- :DISP:COL{1-2}:RES
- :DISP:COL{1-2}:TRAC{1-4}:DATA
- :DISP:COL{1-2}:TRAC{1-4}:MEM
- :DISP:ECHO
- :DISP:ECHO:CLE
- :DISP:ENAB
- :DISP:FSIG
- :DISP:IMAG
- :DISP:MAX
- :DISP:SKEY
- :DISP:SPL
- :DISP:TABL
- :DISP:TABL:TYPE
- :DISP:UPD
- :DISP:WIND{1-4}:ACT
- :DISP:WIND{1-4}:ANN:MARK:ALIG
- :DISP:WIND{1-4}:ANN:MARK:SING
- :DISP:WIND{1-4}:LAB
- :DISP:WIND{1-4}:MAX
- :DISP:WIND{1-4}:SPL
- :DISP:WIND{1-4}:TITL
- :DISP:WIND{1-4}:TITL:DATA
- :DISP:WIND{1-4}:TRAC{1-4}:ANN:MARK:POS:X
- :DISP:WIND{1-4}:TRAC{1-4}:ANN:MARK:POS:Y
- :DISP:WIND{1-4}:TRAC{1-4}:ANN:YAX:MODE
- :DISP:WIND{1-4}:TRAC{1-4}:MEM
- :DISP:WIND{1-4}:TRAC{1-4}:STAT
- :DISP:WIND{1-4}:TRAC{1-4}:Y:AUTO
- :DISP:WIND{1-4}:TRAC{1-4}:Y:PDIV
- :DISP:WIND{1-4}:TRAC{1-4}:Y:RLEV
- :DISP:WIND{1-4}:TRAC{1-4}:Y:RPOS
- :DISP:WIND{1-4}:TRAC{1-4}:Y:TRAC:FREQ
- :DISP:WIND{1-4}:TRAC{1-4}:Y:TRAC:MODE
- :DISP:WIND{1-4}:X:SPAC
- :DISP:WIND{1-4}:Y:DIV
- :FORM:BORD
- :FORM:DATA
- :HCOP
- :HCOP:ABOR
- :HCOP:IMAG
- :INIT{1-4}
- :INIT{1-4}:CONT
- :MMEM:CAT?
- :MMEM:COPY
- :MMEM:DEL
- :MMEM:LOAD
- :MMEM:LOAD:CHAN
- :MMEM:LOAD:CHAN:COEF
- :MMEM:LOAD:LIM
- :MMEM:LOAD:PROG
- :MMEM:LOAD:RLIM
- :MMEM:LOAD:SEGM
- :MMEM:MDIR
- :MMEM:STOR
- :MMEM:STOR:CHAN
- :MMEM:STOR:CHAN:CLE
- :MMEM:STOR:CHAN:COEF
- :MMEM:STOR:FDAT
- :MMEM:STOR:IMAG
- :MMEM:STOR:LIM
- :MMEM:STOR:PROG
- :MMEM:STOR:RLIM
- :MMEM:STOR:SALL
- :MMEM:STOR:SEGM
- :MMEM:STOR:STYP
- :MMEM:TRAN
- :OUTP
- :PROG:CAT?
- :PROG:NAME
- :PROG:STAT
- :SENS:CORR:COLL:ECAL:PATH?
- :SENS:CORR:IMP
- :SENS{1-4}:AVER:CLE
- :SENS{1-4}:AVER
- :SENS{1-4}:AVER:COUN
- :SENS{1-4}:BAND
- :SENS{1-4}:BWID
- :SENS{1-4}:CORR:CLE
- :SENS{1-4}:CORR:COEF?
- :SENS{1-4}:CORR:COLL:CKIT
- :SENS{1-4}:CORR:COLL:CKIT:LAB
- :SENS{1-4}:CORR:COLL:CKIT:ORD:LOAD
- :SENS{1-4}:CORR:COLL:CKIT:ORD:OPEN
- :SENS{1-4}:CORR:COLL:CKIT:ORD:SHOR
- :SENS{1-4}:CORR:COLL:CKIT:ORD:THRU
- :SENS{1-4}:CORR:COLL:CKIT:RES
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:ARB
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:C0
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:C1
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:C2
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:C3
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:DEL
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:L0
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:L1
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:L2
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:L3
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:LAB
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:LOSS
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:TYPE
- :SENS{1-4}:CORR:COLL:CKIT:STAN{1-21}:Z0
- :SENS{1-4}:CORR:COLL:ECAL:ERES
- :SENS{1-4}:CORR:COLL:ECAL:ISOL
- :SENS{1-4}:CORR:COLL:ECAL:SOLT1
- :SENS{1-4}:CORR:COLL:ECAL:SOLT2
- :SENS{1-4}:CORR:COLL:ECAL:THRU
- :SENS{1-4}:CORR:COLL:ISOL
- :SENS{1-4}:CORR:COLL:METH:ERES
- :SENS{1-4}:CORR:COLL:LOAD
- :SENS{1-4}:CORR:COLL:METH:OPEN
- :SENS{1-4}:CORR:COLL:METH:SHOR
- :SENS{1-4}:CORR:COLL:METH:SOLT1
- :SENS{1-4}:CORR:COLL:METH:SOLT2
- :SENS{1-4}:CORR:COLL:METH:THRU
- :SENS{1-4}:CORR:COLL:METH:TYPE?
- :SENS{1-4}:CORR:COLL:OPEN
- :SENS{1-4}:CORR:COLL:SAVE
- :SENS{1-4}:CORR:COLL:SHOR
- :SENS{1-4}:CORR:COLL:THRU
- :SENS{1-4}:CORR:EXT
- :SENS{1-4}:CORR:EXT:PORT{1-2}
- :SENS{1-4}:CORR:PROP
- :SENS{1-4}:CORR:RVEL:COAX
- :SENS{1-4}:CORR:STAT
- :SENS{1-4}:CORR:TYPE{1-4}?
- :SENS{1-4}:FREQ
- :SENS{1-4}:FREQ:CENT
- :SENS{1-4}:FREQ:DATA?
- :SENS{1-4}:FREQ:SPAN
- :SENS{1-4}:FREQ:STAR
- :SENS{1-4}:FREQ:STOP
- :SENS{1-4}:ROSC:SOUR?
- :SENS{1-4}:SEGM:DATA
- :SENS{1-4}:SEGM:SWE:POIN?
- :SENS{1-4}:SEGM:SWE:TIME?
- :SENS{1-4}:SWE:DEL
- :SENS{1-4}:SWE:POIN
- :SENS{1-4}:SWE:TIME
- :SENS{1-4}:SWE:TIME:AUTO
- :SENS{1-4}:SWE:TYPE
- :SERV:CHAN:ACT?
- :SERV:CHAN:COUN?
- :SERV:CHAN{1-4}:TRAC:ACT?
- :SERV:CHAN:TRAC:COUN?
- :SERV:PORT:COUN?
- :SOUR{1-4}:POW
- :SOUR{1-4}:POW:ATT
- :SOUR{1-4}:POW:CENT
- :SOUR{1-4}:POW:PORT:COUP
- :SOUR{1-4}:POW:PORT{1-2}
- :SOUR{1-4}:POW:SLOP
- :SOUR{1-4}:POW:SLOP:STAT
- :SOUR{1-4}:POW:SPAN
- :SOUR{1-4}:POW:STAR
- :SOUR{1-4}:POW:STOP
- :STAT:OPER?
- :STAT:OPER:COND?
- :STAT:OPER:ENAB
- :STAT:OPER:NTR
- :STAT:OPER:PTR
- :STAT:PRES
- :STAT:QUES?
- :STAT:QUES:BLIM?
- :STAT:QUES:BLIM:CHAN{1-4}?
- :STAT:QUES:BLIM:CHAN{1-4}:COND?
- :STAT:QUES:BLIM:CHAN{1-4}:ENAB
- :STAT:QUES:BLIM:CHAN{1-4}:NTR
- :STAT:QUES:BLIM:CHAN{1-4}:PTR
- :STAT:QUES:BLIM:COND?
- :STAT:QUES:BLIM:ENAB
- :STAT:QUES:BLIM:NTR
- :STAT:QUES:BLIM:PTR
- :STAT:QUES:COND?
- :STAT:QUES:ENAB
- :STAT:QUES:LIM?
- :STAT:QUES:LIM:CHAN{1-4}?
- :STAT:QUES:LIM:CHAN{1-4}:COND?
- :STAT:QUES:LIM:CHAN{1-4}:ENAB
- :STAT:QUES:LIM:CHAN{1-4}:NTR
- :STAT:QUES:LIM:CHAN{1-4}:PTR
- :STAT:QUES:LIM:COND?
- :STAT:QUES:LIM:ENAB
- :STAT:QUES:LIM:NTR
- :STAT:QUES:LIM:PTR
- :STAT:QUES:NTR
- :STAT:QUES:PTR
- :STAT:QUES:RLIM?
- :STAT:QUES:RLIM:CHAN{1-4}?
- :STAT:QUES:RLIM:CHAN{1-4}:COND?
- :STAT:QUES:RLIM:CHAN{1-4}:ENAB
- :STAT:QUES:RLIM:CHAN{1-4}:NTR
- :STAT:QUES:RLIM:CHAN{1-4}:PTR
- :STAT:QUES:RLIM:COND?
- :STAT:QUES:RLIM:ENAB
- :STAT:QUES:RLIM:NTR
- :STAT:QUES:RLIM:PTR
- :SYST:BACK
- :SYST:BEEP:COMP:IMM
- :SYST:BEEP:COMP:STAT
- :SYST:BEEP:WARN:IMM
- :SYST:BEEP:WARN:STAT
- :SYST:DATE
- :SYST:ERR?
- :SYST:KLOC:KBD
- :SYST:KLOC:MOUS
- :SYST:POFF
- :SYST:PRES
- :SYST:SEC:LEV
- :SYST:SERV?
- :SYST:TIME
- :SYST:UPR
- :TRIG
- :TRIG:SING
- :TRIG:SOUR
- Command list
- A Manual Changes
- B Status Reporting System
- C Error Messages
- Index
Chapter 4 71
Performing a Calibration
Sample Program
4. Performing a Calibration
Example 4-1 Calibration (cal.htb)
10 DIM File$[20],Ch$[9],Inp_char$[9]
20 INTEGER Cal_kit,Cal_type,Port(1:2)
30 !
40 ASSIGN @Agte507x TO 717
50 File$="Ex_4_1.sta"
60 Ch$="1"
70 !
80 Select_cal_kit(@Agte507x,Ch$)
90 !
100 CLEAR SCREEN
110 ON ERROR GOTO Type_select
120 Type_select: !
130 PRINT "## Calibration Type Selection ##"
140 PRINT " 1: Response (Open)"
150 PRINT " 2: Response (Short)"
160 PRINT " 3: Response (Thru)"
170 PRINT " 4: Full 1 Port"
180 PRINT " 5: Full 2 Port"
190 PRINT ""
200 PRINT "Input 1 to 5"
210 INPUT "Input number? (1 to 5)",Inp_char$
220 Cal_type=IVAL(Inp_char$,10)
230 IF Cal_type<1 OR Cal_type>5 THEN Type_select
240 OFF ERROR
250 !
260 SELECT Cal_type
270 CASE 1
280 Select_port(1,Port(*))
290 Cal_resp(@Agte507x,Ch$,"OPEN",Port(1))
300 CASE 2
310 Select_port(1,Port(*))
320 Cal_resp(@Agte507x,Ch$,"SHOR",Port(1))
330 CASE 3
340 Select_port(2,Port(*))
350 Cal_resp_thru(@Agte507x,Ch$,Port(1),Port(2))
360 CASE 4
370 Select_port(1,Port(*))
380 Cal_solt(@Agte507x,Ch$,1,Port(*))
390 CASE 5
400 Select_port(2,Port(*))
410 Cal_solt(@Agte507x,Ch$,2,Port(*))
420 END SELECT
430 !
440 OUTPUT @Agte507x;":MMEM:STOR:STYP CST"
450 OUTPUT @Agte507x;":MMEM:STOR """&File$&""""
460 END
470 !=============================================
480 ! Calibration Kit Selection Function
490 !=============================================
500 SUB Select_cal_kit(@Agte507x,Ch$)
510 DIM Cal_kit_lbl$(1:10)[20],Inp_char$[9]
520 INTEGER Cal_kit,I
530 CLEAR SCREEN
540 !
550 FOR I=1 TO 10
560 OUTPUT @Agte507x;":SENS1:CORR:COLL:CKIT ";I
570 OUTPUT @Agte507x;":SENS1:CORR:COLL:CKIT:LAB?"
580 ENTER @Agte507x;Cal_kit_lbl$(I)
590 NEXT I
600 ON ERROR GOTO Kit_select
610 Kit_select: !