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

126 Chapter 8 
Limit Test
Sample Program
Line 700  Sets channel 1's active trace to trace 1. 
Lines 720 to 730  These lines store trace 1's measurement parameter and data format into 
the variables Param1$ and Fmt1$, respectively.
Lines 750 to 810  These lines set up the limit table for trace 1. 
Line 750: Sends the command that sets up a limit table along with 
the Num_of_seg1 variable that contains the number of segments.
Lines 770 to 790: Sends five data items (type, start point stimulus 
value, end point stimulus value, start point response value, and end 
point response value) for each segment. 
Lines 820 to 830  These lines turns on the display of limit lines and the Limit Test 
feature for trace 1.
Line 870  Sets channel 1's active trace to trace 2. 
Lines 890 to 900  These lines set trace 2's measurement parameter and data format to 
Param2$ and Fmt2$, respectively.
Lines 920 to 980  These lines set up the limit table for trace 2. 
Lines 990 to 1000  These lines turns on the display of limit lines and the Limit Test 
feature for trace 2.
Lines 1040 to 1060 These lines set, under the questionable limit channel 1 status register, 
the enable register and positive transition filter to 6 
(0000000000000110 in binary notation) while setting the negative 
transition filter to 0 so that the questionable limit status condition 
register's bit 1 is set to 1 when the test result that combines the results 
for trace 1 and trace 2 is “fail”.
NOTE The sample program provides an example of explicitly configuring the register bits so that 
they reflect the test result that only covers trace 1 and trace 2. However, because the results 
for traces 3 to 9 will never be “fail” as long as the Limit Test feature is disabled for those 
traces, the register bits would reflect the test result that is limited to traces 1 and 2 even if 
you did not change the default setting. 
Lines 1070 to 1080 These lines set transition filters so that the questionable limit status 
event register's bit 1 is set to 1 when the questionable limit status 
condition register's bit 1 changes from 0 to 1.
Line 1090  Clears the questionable limit status event register and questionable 
limit channel 1 status event register.
Lines 1110 to 1130 These lines trigger the instrument, and waits until the sweep cycle 
completes.
Lines 1170 to 1190 These lines retrieve the value of the questionable limit status event 
register, and store the setting of bit 1 of the value into Ch1_judge. 
Lines 1200 to 1230 These lines retrieve the value of the questionable limit channel 1 
status event register, and store the settings of bit 1 and bit 2 of the 
value into Tr1_judge and Tr2_judge, respectively. 
Line 1280  Displays a message indicating that the DUT has passed the limit test if 
the test result for channel 1 is “Pass” (i.e., if Ch1_judge returns 0). 
Lines 1300 to 1660  These lines are executed if the test result for channel 1 is “Fail” (i.e., if 










