Section 3: Functions and features
Series 2600B System SourceMeter® Instrument Reference Manual
3-82
2600BS-901-01 Rev. C / August 2016
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 Series 2600B 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 85: Digital I_O port
For a schematic diagram of the digital I/O hardware, refer to the Series 2600B Specifications on the