Keithley SourceMeter 2600 Series Reference Manual page 91

Table of Contents

Advertisement

Series 2600 System SourceMeters Reference Manual TSP Programming Fundamentals 2-39
Sending commands and statements
Using your own program or the Test Script Builder, non-scripted chunks can be
executed one line at a time. Responses (e.g., readings) are then transmitted back
to the PC.
Source-measure voltage and current
The primary function of an SMU is to source voltage or current, and measure
current, voltage, resistance and/or power.
The following code fragments program
measured current and voltage readings are then sent back to the PC.
Source V, and Measure I and V:
reset()
smua.source.levelv = 1
smua.source.output = smua.OUTPUT_ON
reading = smua.measure.iv()
print(reading)
smua.source.output = smua.OUTPUT_OFF
Read and write to Digital I/O port
The Digital I/O port of the SourceMeter is used to control external circuitry (such
as a component handler for binning operations). The I/O port has 14 input/output
bits (lines) that can be at TTL logic state 1 (high) or 0 (low). The pinout for the
Digital I/O port is shown in
There are ICL commands to read and/or write to each individual bit, and
commands to read and write to the entire port.
Use the following code fragment to write to one bit of the Digital I/O port. The I/O
bit is then read and the state is returned to the PC where it is displayed.
digio.writebit(4,0)
data=digio.readbit(4)
print(data)
Display user-defined messages
The operator can define and display messages on the front panel display of the
SourceMeter. The following code fragment displays the "Test in Process"
message on the SourceMeter display:
display.clear
display.settext("Test in Process")
smua
Figure
10-1.
-- Writes a "0" to I/O bit 4.
-- Reads I/O bit 4.
-- PC displays state of I/O bit 4.
Return to
Section 2 topics
to source-measure voltage. The
-- Returns SourceMeter to default
settings.
-- Sets SMU A V-source level to 1V.
-- Turns output on.
-- Performs I and V measurements.
-- PC displays I-measure reading.
-- Turns output off.
-- Clears display of messages.
-- Displays message.
2600S-901-01 Rev. A / May 2006

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents