D-1
D.1
Introduction
This appendix includes examples programs written in BA-
SIC to demonstrate simple programming techniques for the
Model 6512. Programs include:
• Basic I/O program that allows you to send commands
and obtain readings.
• Data store program that stores and recalls 100 readings.
• SRQ program that demonstrates the error bit and error
word.
• Status word program that requests and displays the sta-
tus, error, and data words.
• Calibration program to aid in calibrating the Model
6512 (see Section 7 for complete details on calibration).
D.2
Computer hardware requirements
The following computer hardware is required to run the ex-
ample programs:
• IBM PC, AT, or compatible computer.
• Keithley KPC-488.2, KPS-488.2, or KPC-488.2AT, or
CEC PC-488 IEEE-488 interface for the computer.
• Shielded IEEE-488 connecting cable (Keithley Model
7007).
D.3
Computer software requirements
In order to use the example programs, you will need the fol-
lowing software:
• Microsoft QBasic (supplied with MS-DOS 5.0 or later).
QuickBASIC (version 4.5 or later) or Visual BASIC for
MS-DOS may also be used.
• MS-DOS version 5.0 or later (version 3.3 or later may
be used if not using QBasic).
• HP-style Universal Language Driver, CECHP.EXE
(supplied with Keithley and CEC interface cards listed
above).
D.4
General program instructions
1. With the power off, connect the Model 6512 to the
IEEE-488 interface of the computer. Be sure to use a
shielded IEEE-488 cable for bus connections.
2. Make sure the Model 6512 is set for a primary address
of 27. You can check or change the address as follows:
A. Press PROGRAM SELECT, and note the displayed
primary address. If it is currently set to 27, press
SHIFT then EXIT to return to normal display.
B. If the address is not set to 27, use the ADJUST keys
to set it to the correct value.
C. Press PROGRAM SELECT to return to normal dis-
play.
D
Example Programs
Содержание 6512
Страница 2: ...Model 6512 Programmable Electrometer Instruction Manual Contains Operating and Servicing Information...
Страница 119: ...Maintenance 7 10 Figure 7 5 Exploded view...
Страница 131: ......