Keithley 2001 Operator's Manual page 430

Multimeter
Hide thumbs Also See for 2001:
Table of Contents

Advertisement

Controller Programs
Hewlett-Packard Model 9000
Series 200/300
F.8
Introduction
The following program sends a command message to the
Model 2001 from a Hewlett-Packard Model 9000 Series
200/300 computer and displays the response to queries on
the computer CRT. The computer must be equipped with HP
BASIC 4.0.
HP 300
10
DIM A$[50]
20
REMOTE 716
30
LINPUT "Enter Program Message ", A$
40
OUTPUT 716; A$
50
L=LEN(A$)
60
FOR I = 1 TO L
70
IF A$[I,I] = "?" THEN GOTO 100
80
NEXT I
90
GOTO 30
100
ENTER 716; B$
110
PRINT B$
120
GOTO 30
130
END
F-6
F.9
Directions
1. Using the front panel MENU key and the GPIB menu
item, set the primary IEEE-488 address of the Model
2001 to 16.
2. With the power off, connect the Model 2001 to the
IEEE-488 interface card installed in the HP computer.
3. Enter the lines in the program below, using the ENTER/
RETURN key after each line.
4. Press the RUN key and type in the desired command
string at the Enter Program Message prompt. For exam-
ple, to request a reading, type :FETCh? and press the re-
turn key. The reading will be displayed on the CRT.
! Place 2001 in remote.
! Prompt for command.
! Send command.
! Dermine length of input string.
! If command is a query, goto 100.
! If not a query, goto 30.
! Address 2001 to talk.
! Display response message.
! Repeat.
2001-900-01 Rev. K / August 2010

Advertisement

Table of Contents
loading

Table of Contents