High Voltage SourceMeter Instrument User's Manual Section 6: Measure I-
V characteristics of FETs
2470-900-01 Rev. B / August 2019 6-15
Send the following commands for this example application:
--######################## Settings and TSP-Link setup ################
local gateVstart = 0
local gateVstop = 5
local gateStepSize = 0.1
local gateIlimit = 0.1
local drainV = 10
local drainIlimit = 0.1
-- Fit settings - The slope is calculated between these gateV points.
-- fitHighV should be less than or equal to the threshold voltage.
local fitLowV = 2
local fitHighV = 3.5
-- Reset the instruments and the TSP-Link connection and clear the buffers.
tsplink.initialize()
reset()
-- 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
-- Set up TSP-Link node shortcuts.
local gate = node[1]
local drain = node[2]
--######################## 2470 SMU #1 (gate) setup ################
-- Set up the source function.
gate.smu.source.configlist.create("stepVals")
gate.smu.source.func = gate.smu.FUNC_DC_VOLTAGE
gate.smu.source.autorange = gate.smu.ON
gate.smu.source.ilimit.level = gateIlimit
-- Set up the measure function.
gate.smu.measure.func = gate.smu.FUNC_DC_CURRENT
gate.smu.measure.autorange = gate.smu.ON
gate.smu.terminals = gate.smu.TERMINALS_REAR
-- Set up TSP-Link triggering.
gate.tsplink.line[1].reset()
gate.tsplink.line[1].mode = gate.tsplink.MODE_SYNCHRONOUS_MASTER
gate.trigger.tsplinkout[1].stimulus = gate.trigger.EVENT_NOTIFY1
-- Populate the stepVals source config list with source levels gateVstart volts to
gateVstop volts.
for i = gateVstart, gateVstop, gateStepSize do
gate.smu.source.level = i
gate.smu.source.configlist.store("stepVals")
end