HP (Hewlett-Packard) 6623A Power Supply User Manual


 
Calibration Procedures 95
LINE 300: Instructs the power supply to perform an overvoltage calibration on the specified channel.
LINE 310--330: Displays a message on the computer until bit 4 (RDY) of the power supply's serial poll register indicates
that the supply is finished processing the OVCAL command. This may take up to 10 seconds.
LINE 350: Checks for errors. See line 280.
LINE 370,380: Prompts the user to make current calibration connections and waits for CONTINUE key to be pressed.
LINE 400: Sets the current of the specified output to the high calibration point.
LINE 410: Sets the variable Ihi to the output current as measured by the voltmeter across the shunt resistor. Note that Ihi
is in amps since the voltmeter returns volts and Shunt _ resistor is in ohms.
LINE 430: Sets the current of the specified output to the low calibration point.
LINE 440: Sets the variable Ilo to the output current as measured by the voltmeter across the shunt resistor.
LINE 460: Sends the measured data in amps to the power supply for the specified channel.
LINE 480: Checks for errors. See line 280.
LINE 500: Set output voltage to 0 so that output connections may be safely moved.
LINE 520,530: Loops to Start_loop if the user has more outputs to calibrate otherwise, continues.
LINE 550: Stores the calibration constants by turning off the power supply calibration mode.
LINE 570--600: Clears the supply and ends the main program.
LINE 630: Defines the user defined function FNDvm.
LINE 640: Brings in the COM block "Instr''.
LINE 650: Waits .02 seconds for the supply to settle at the calibration points.
LINE 660,670: Takes a reading from the voltmeter.
LINE 680: Returns the voltmeter reading to the appropriate variable within the main program.
LINE 690: Ends the user defined function FNDvm.
LINE 710: Defines the user defined function FNPs _ err.
LINE 720: Brings in the COM block "Instr".
LINE 730,740: Queries the power supply for any errors.
LINE 750: If an error occurred, the computer reports the error.
LINE 760: Returns the error number to the appropriate place within the main program.
LINE 770: Ends the user defined function FNPs _ err.