Keithley 2600a series Reference Manual page 232

Sourcemeter
Table of Contents

Advertisement

Section 12: TSP Fundamentals and Script Management
Assuming SMU A output is on, it will output 2V and measure the current. The current reading is
sent to the host PC and displayed.
Interactive scripts
An interactive script prompts the operator (via the SourceMeter instrument's display) to input test
parameters (via the SourceMeter instrument's front panel). The chunk fragment below uses display
messages to prompt the operator to select an SMU Channel (A or B), a source function (I or V), and
to input the source level. When an input prompt is displayed, the script will wait until the operator
inputs the parameter and/or presses the ENTER key.
The
display.prompt
value is not entered, the default level (1mA or 1V) will be set when ENTER is pressed. The
operator will not be able to input values that are not within the minimum (0.5mA or 0.1V) and
maximum (3mA or 10V) limits.
Script Chunk Fragment (Test Script Builder or User's Program)
--Prompt operator to select channel:
chan = display.menu("Select Channel", "smua smub")
if (chan == "smua") then
chan = smua
end
if (chan == "smub") then
chan = smub
end
--Prompt operator to select (input) the source function:
func = display.menu("Select Function", "amps volts")
if (func == "amps") then
chan.source.func = chan.OUTPUT_DCAMPS
else
chan.source.func = chan.OUTPUT_DCVOLTS
end
--Prompt operator to set (input) source level:
if (func == "amps") then
level = display.prompt("0.0E+00", " mA", "Enter I level",
1E-3, 0.5E-3, 5E-3)
else
level = display.prompt("00.0", " V", "Enter V level",
1, 0.1, 10)
end
--Wait for operator to set source level:
if (func == "amps") then
chan.source.leveli = level
else
chan.source.levelv = level
end
12-10
Series 2600A System SourceMeter® Instruments Reference Manual
command in the following script prompts the user to input a source level. If a
Return to
Section Topics
2600AS-901-01 Rev. B / September 2008

Advertisement

Table of Contents
loading

Table of Contents