Calibration Procedures 93
Repeat commands two through eight for any other outputs that must be calibrated on your power supply. After you have
completed calibration of all outputs, turn the calibration mode off by sending the CMODE0 command (see step 1) to the
power supply. The correction constants are stored in memory at this time.
Calibration Program
The following calibration program can be used as is, provided you have an HP Series 200 computer with the BASIC
programming language and an HP 3456A voltmeter. The calibration program is written with the assumption that your
power supply is at address 705 and the voltmeter is at address 722. The program will ask you which output is to be
calibrated and will prompt you to make the voltage and current calibration connections shown in Figure A-1.
10 ! CALIBRATION EXAMPLE
20 !
30 ASSIGN @Ps TO 705
40 ASSIGN @Vm TO 722
50 COM /lnstr/ @Ps,@Vm
60 Shunt_resistor=.1
70 !
80 OUTPUT @Ps;"CLR"
90 OUTPUT @Vm;"H T4"
100 TRIGGER 722
110 ENTER @Vm;Temp ! CLEAR VOLTMETER OUTPUT BUFFER
120 OUTPUT @Ps;"CMODE 1"
130 !
140 Start_loop: ! LOOP TO HERE FOR ADDITIONAL OUTPUTS
150 !
160 INPUT "ENTER OUTPUT CHANNEL TO BE CALIBRATED (1,2,3,or 4)'',Chan
170 DISP ''SET UP OUTPUT ";Chan;" FOR VOLTAGE CALIBRATION & PRESS CONTINUE''
180 PAUSE
190 !
200 OUTPUT @Ps;''VHI'';Chan
210 Vhi = FNDvm
220 !
230 OUTPUT @Ps;"VLO";Chan
240 Vlo = FNDvm
250 !
260 OUTPUT @Ps;''VDATA";Chan,Vlo,Vhi
270 !
280 IF FNPs _ err< >0 THEN Finish
290 !
300 OUTPUT @Ps;"OVCAL";Chan
310 REPEAT
320 DISP "WAITING FOR OVERVOLTAGE CALIBRATION"
330 UNTIL BlT(SPOLL(@Ps),4)
340 !
350 IF FNPs _ err < > 0 THEN Finish
360 !
370 DISP ''SET UP OUTPUT ";Chan;" FOR CURRENT CALIBRATION & PRESS CONTINUE"
380 PAUSE
390 !
400 OUTPUT @Ps;''IHI";Chan
410 Ihi = FNDvm/Shunt _ resistor
420 !
430 OUTPUT @Ps;"ILO";Chan
440 Ilo = FNDvm/Shunt _ resistor