Example Programs
G-5
Keithley Model KPC-488.2
Keithley Model KPC-488.2AT
Capital Equipment Corporation PC<>488
The program assumes that the Model 2002 is set to address
16.
Loading user library
The user library for QuickBASIC 4.5 is provided with the
IEEE-488 interface (ieeeqb.qlb). Assuming QuickBASIC
and the user library are in the same DOS directory, enter the
following command line from the DOS prompt:
QB /L ieeeqb.qlb
The above command line will load QuickBASIC and the
user library.
Program (2002disp.bas)
CALL Initialize(21, 0)
' Init as system controller
'--- Setup 2002 commands
CLS
' Enable message mode
CALL Send(16, ":disp:text:stat on", Gpib.status%)
' Display first message
CALL Send(16, ":disp:text:data 'GOOD MORNING!' ", Gpib.status%)
SLEEP 2
' Display second message
CALL Send(16, ":disp:text:data 'HOW ARE YOU TODAY?' ", Gpib.status%)
END
Display User Defined Message
Microsoft QuickBASIC 4.5
Keithley KPC-488.2 Interface
©1992, Keithley Instruments, Inc.
Description
This program simply displays a user defined message on the
display of the Model 2002.
Required equipment
• Model 2002 Multimeter
• Microsoft QuickBASIC 4.5
• Any one of the following IEEE-488 interfaces:
Содержание 2002
Страница 123: ...Front Panel Operation 2 106...
Страница 145: ...IEEE 488 Reference 3 22...
Страница 167: ...IEEE 488 Reference 3 44...
Страница 284: ...A Specifications A 1...
Страница 362: ......
Страница 364: ...This page left blank intentionally...
Страница 365: ......