EasyManua.ls Logo

Tektronix Keithley SourceMeter 2450 - TSP Commands: Trigger Model

Tektronix Keithley SourceMeter 2450
108 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Model 2450
SourceMeter® Instrument User's Manual Section 7: Measuring I-
V characteristics of FETs
2450-900-01 Rev. E / August 2019 7-11
Set up the application using TSP commands with the trigger
model
Send the following commands for this example application:
-- Reset the instruments and the TSP-Link connection, and clear the buffers.
tsplink.initialize()
-- If the tsplink state is not online, print an error message and quit
state = tsplink.state
if state ~= "online" then
print("Error:\n-Check that all SMUs have a different node number")
print("-Check that all SMUs are connected correctly\n")
return
end
reset()
-- ######################## Model 2450 #1 (gate) setup ################
steppoints = 4
-- Set up the source function.
smu.source.configlist.create("stepVals")
smu.source.func = smu.FUNC_DC_VOLTAGE
smu.source.autorange = smu.ON
-- Set up the measure function.
smu.measure.func = smu.FUNC_DC_CURRENT
smu.measure.autorange = smu.ON
smu.measure.terminals = smu.TERMINALS_REAR
-- Set up TSP-Link triggering.
tsplink.line[1].reset()
tsplink.line[1].mode = tsplink.MODE_SYNCHRONOUS_MASTER
tsplink.line[2].mode = tsplink.MODE_SYNCHRONOUS_ACCEPTOR
trigger.tsplinkout[1].stimulus = trigger.EVENT_NOTIFY1
trigger.tsplinkin[2].clear()
trigger.tsplinkin[2].edge = trigger.EDGE_RISING
-- Populate the stepVals source config list, with source levels 2 V to 5 V
for i = 2, 5 do
smu.source.level = i
smu.source.configlist.store("stepVals")
end
-- Set up the trigger model.
trigger.model.setblock(1, trigger.BLOCK_CONFIG_RECALL, "stepVals")
trigger.model.setblock(2, trigger.BLOCK_SOURCE_OUTPUT, smu.ON)
trigger.model.setblock(3, trigger.BLOCK_MEASURE_DIGITIZE)
trigger.model.setblock(4, trigger.BLOCK_NOTIFY, trigger.EVENT_NOTIFY1)
trigger.model.setblock(5, trigger.BLOCK_WAIT, trigger.EVENT_TSPLINK2)
trigger.model.setblock(6, trigger.BLOCK_CONFIG_NEXT, "stepVals")
trigger.model.setblock(7, trigger.BLOCK_BRANCH_COUNTER, steppoints, 3)
trigger.model.setblock(8, trigger.BLOCK_SOURCE_OUTPUT, smu.OFF)

Table of Contents

Related product manuals