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 !

30ASSIGN @Ps TO 705

40ASSIGN @Vm TO 722

50COM /lnstr/ @Ps,@Vm

60

Shunt_resistor=.1

70

!

80OUTPUT @Ps;"CLR"

90OUTPUT @Vm;"H T4"

100TRIGGER 722

110

ENTER @Vm;Temp

! CLEAR VOLTMETER OUTPUT BUFFER

120OUTPUT @Ps;"CMODE 1"

130!

140Start_loop: ! LOOP TO HERE FOR ADDITIONAL OUTPUTS

150!

160INPUT "ENTER OUTPUT CHANNEL TO BE CALIBRATED (1,2,3,or 4)'',Chan

170DISP ''SET UP OUTPUT ";Chan;" FOR VOLTAGE CALIBRATION & PRESS CONTINUE''

180PAUSE

190!

200OUTPUT @Ps;''VHI'';Chan

210Vhi = FNDvm

220!

230OUTPUT @Ps;"VLO";Chan

240Vlo = FNDvm

250!

260OUTPUT @Ps;''VDATA";Chan,Vlo,Vhi

270!

280IF FNPs _ err< >0 THEN Finish

290!

300OUTPUT @Ps;"OVCAL";Chan

310REPEAT

320DISP "WAITING FOR OVERVOLTAGE CALIBRATION"

330UNTIL BlT(SPOLL(@Ps),4)

340!

350IF FNPs _ err < > 0 THEN Finish

360!

370DISP ''SET UP OUTPUT ";Chan;" FOR CURRENT CALIBRATION & PRESS CONTINUE"

380PAUSE

390!

400OUTPUT @Ps;''IHI";Chan

410Ihi = FNDvm/Shunt _ resistor

420!

430OUTPUT @Ps;"ILO";Chan

440Ilo = FNDvm/Shunt _ resistor

Calibration Procedures 93