4263B
530
OUTPUT @Hp4263;":STAT:OPER:ENAB
";DVAL("0000001000000000",2)
540
OUTPUT @Hp4263;"*SRE
";DVAL("10000000",2)
550
OUTPUT @Hp4263;":INIT:CONT
ON"
560
!
570
! Triggering
580
!
590
ON
INTR
Hp_ib
GOTO
Buffer_full
600
ENABLE
INTR
Hp_ib;2
610
LOOP
620
END
LOOP
630
!
640
Buffer_full:OFF
INTR
650
DISP
"Buffer
full."
660
OUTPUT
@Hp4263;":DATA?
BUF1"
670
ENTER
@Binary
USING
"#,6A";A$
680
FOR
I=1
TO
200
690
ENTER
@Binary;St(1,I),Dat(1,I),Comp(1,I)
700
NEXT
I
710
ENTER
@Binary
USING
"#,A";A$
720
!
730
OUTPUT
@Hp4263;":DATA?
BUF2"
740
ENTER
@Binary
USING
"#,6A";A$
750
FOR
I=1
TO 200
760
ENTER
@Binary;St(2,I),Dat(2,I),Comp(2,I)
770
NEXT
I
780
ENTER
@Binary
USING
"#,A";A$
790
!
800
FOR
I=1
TO
200
810
PRINT
"CS:";Dat(1,I),"Comp:";Comp(1,I),"D:";Dat(2,I),"Comp:";Co
mp(2,I)
820
NEXT
I
830
END
Figure
6-2.
Sample
Program
to
Measure
Electrolytic
Capacitors
Lines
80
and
90
Reset
the
4263B and
clears the
status byte
register
.
Lines 110
to 130
Set measurement
parameters
to
Cs-D
.
Line 150
Sets test
signal level
to
1
V
.
Line
160
Sets
test
signal
frequency
to
100
Hz.
Line 170
Sets measurement time mode to Short.
Line
180 and 190
Set measurement range to 1 k.
Lines 210
to 260
Perform an OPEN correction.
Lines 280 to
330 Perform a SHORT correction.
Lines 350 to 370
Prompt the operator to connect the DUT
.
Caution
Before you measure a capacitor, be sure the capacitor is fully discharged.
Internal input circuit of the 4263B is protected when a charged capacitor
is connected. However the protection is not perfect, that is, the maximum
capacitor voltage is limited (see Figure 8-2). A capacitor is charged for a
insertion resistance measurement that is usually performed before C and ESR
measurements. If the capacitor is not fully discharged after the insertion
Application Measurement 6-3