
Section 3: Functions and features
Model 2657A High Power System SourceMeter® Instrument Reference Manual
3-80
2657A-901-01 Rev. B/December 2012
The following programming example illustrates how to prompt the user to press the EXIT (LOCAL)
key to abort the script, or any other key to continue it:
display.clear()
display.setcursor(1, 1)
display.settext("Press EXIT to Abort")
display.setcursor(2, 1)
display.settext("or any key to continue")
key = display.waitkey()
display.clear()
display.setcursor(1, 1)
if key == 75 then
display.settext("Test
Aborted")
exit()
else
display.settext("Test
Continuing")
end
The above code captures the key that is pressed by the operator. The key code value for the
EXIT
(LOCAL) key is 75. If the EXIT (LOCAL) key is pressed, the script aborts. If any other key is pressed,
the script continues.
Digital I/O
Digital I/O port
The Keithley Instruments Model 2657A High Power System SourceMeter
®
instrument has a digital
input/output port that can be used to control external digital circuitry. For example, a handler that is
used to perform binning operations can be used with a digital I/O port.
Port configuration
The digital I/O port, a standard female DB-25 connector (shown below), is located on the rear panel.
Figure 65: Digital I/O port
Connecting cables
Use a cable equipped with a male DB-25 connector (Keithley Instruments part number CA-126-1), or
a Model 2600-TLINK cable to connect the digital I/O port to other Keithley Instruments models
equipped with a Trigger Link (TLINK).
1
14
13
25
DIGITAL I/O
1 = Digital I/O #1
2 = Digital I/O #2
3 = Digital I/O #3
4 = Digital I/O #4
5 = Digital I/O #5
6 = Digital I/O #6
7 = Digital I/O #7
8 = Digital I/O #8
9 = Digital I/O #9
10 = Digital I/O #10
11 = Digital I/O #11
12 = Digital I/O #12
13 = Digital I/O #13
14 = Digital I/O #14
15-21 = Ground
22 = +5 V
23 = +5 V
24 = Interlock (INT)
25 = +5 V
Содержание 2657A
Страница 3: ......