3 Calibration Procedures
90 Keysight E3631A Service Guide
Calibration program
This section contains a Keysight BASIC program for calibration over the GPIB
interface. This program makes software adjustments to the E3631A power supply
using a current shunt and a digital mutimeter which is connected to the
controller. In this program a 0.01 ohm current shunt is used. Be sure to change
the value of the variable "Current_shunt" to the value of the current shunt used
and the GPIB address for the power supply and the digital voltmeter.
10 !
20 ! This program makes software adjustments to the E3631A on the GPIB bus
30 ! using a Keysight 34401A and a current shunt. In the program a 0.01 ohm
40 ! current shunt is used to measure current. Be sure to change the value of
50 ! the variable ’Current_shunt’ to the value of the current shunt used.
60 !
70 CLEAR SCREEN
80 DIM Cal_msg$[40], Sec_code$[40],Sec_code$[10]
90 REAL Dmm_rdg, Current_shunt
100 Current_shunt=.01 ! Current Shunt value in Ohms
110 Sec_Code$="HP003631" ! Assign the security code.
120 ASSIGN @Dmm TO 722 ! Assign address 22 to the Dmm.
130 ASSIGN @Psup TO 705 ! Assign address 5 to the power supply.
140 CLEAR 7 ! Clear GPIB, Dmm and Power Supply.
150 OUTPUT @Psup;"*CLS" ! Clear power supply errors.
160 OUTPUT @Dmm;"*RST" ! Clear Dmm.
170 OUTPUT @Psup;"*RST" ! Reset power supply.
180 OUTPUT @ Psup;"CAL:STR?" ! Read the calibration message.
190 ENTER @Psup;Cal_msg$
200 PRINT TABXY(5,2),"Calibration message of Power Supply is: ";Cal_msg$
210 !
220 ! Set the Calibration security to off, and check to be sure