General Program Instructions - Keithley 2015 Service Manual

Thd multimeter
Hide thumbs Also See for 2015:
Table of Contents

Advertisement

General program instructions

1.
2.
3.
4.
5.
6.
NOTE
7.
Program C-1
Model 2015 calibration program
' Model 2015 calibration program.
' Rev. 1.0, 4/30/98
OPEN "IEEE" FOR OUTPUT AS #1
OPEN "IEEE" FOR INPUT AS #2
PRINT #1, "INTERM CRLF"
PRINT #1, "OUTTERM LF"
PRINT #1, "REMOTE 4 16"
PRINT #1, "CLEAR"
PRINT #1, "OUTPUT 16;:SYST:PRES;*CLS"
PRINT #1, "OUTPUT 16;*ESE 1;*SRE 32"
PRINT #1, "OUTPUT 4;*RST;*CLS;STBY"
PRINT #1, "OUTPUT 4;CUR_POST NORMAL"
C$ = ":CAL:PROT:"
'
CLS
PRINT "Model 2015 Multimeter Comprehensive Calibration Program"
PRINT #1, "OUTPUT 16;:CAL:PROT:CODE 'KI002015'" ' Send KI002015 cal code.
PRINT #1, "OUTPUT 16;:CAL:PROT:INIT"
GOSUB ErrCheck
RESTORE CmdList
'
FOR I = 1 TO 28
READ Msg$, Cmd$
SELECT CASE I
CASE 1, 2, 26, 27, 28
PRINT Msg$
GOSUB KeyCheck
With the power off, connect the Model 2015 and the calibrator to the IEEE-488 interface
of the computer. Be sure to use shielded IEEE-488 cables for bus connections.
Turn on the computer, the Model 2015, and the calibrator. Allow the Model 2015 and the
calibrator to warm up for at least one hour before performing calibration.
Make sure the Model 2015 is set for a primary address of 16. (Use the front panel GPIB
key to check or change the address.)
Make sure the calibrator primary address is at its factory default setting of 4.
Make sure that the computer bus driver software (CECHP.EXE) is properly initialized.
Enter the QBasic editor, and type in the program below. Check thoroughly for errors,
then save it using a convenient filename.
The program assumes a default calibration code of KI002015. If the calibration code
has been changed, modify the :CAL:PROT:CODE parameter accordingly.
Run the program, and follow the prompts on the screen to perform calibration.
Calibration Program
' Open IEEE-488 output path.
' Open IEEE-488 input path.
' Set input terminator.
' Set output terminator.
' Put 2015, 5700A in remote.
' Send DCL.
' Initialize 2015.
' Enable OPC and SRQ
' Reset 5700A calibrator.
' Normal current output.
' 2015 partial command header.
' Clear CRT.
' Initiate calibration.
' Loop for all cal points.
' Read message, cal strings.
' Select cal sequence.
C-3

Advertisement

Table of Contents
loading

Table of Contents