Model 2450 SourceMeter® Instrument User's Manual
-- Print the formatted readings.
if defbuffer1.n == 0 then
print("\nNo readings in buffer\n")
else
for k = 1, sweeppoints do
print(string.format("%f\t%f\t\t%f\t%f\t\t%f\t%f\t\t%f\t%f",
node[2].defbuffer1.sourcevalues[k], node[2].defbuffer1[k],
node[2].defbuffer1.sourcevalues[k+sweeppoints],
node[2].defbuffer1[k+sweeppoints],
node[2].defbuffer1.sourcevalues[k+sweeppoints*2],
node[2].defbuffer1[k+sweeppoints*2],
node[2].defbuffer1.sourcevalues[k+sweeppoints*3],
node[2].defbuffer1[k+sweeppoints*3]))
end
end
Set up the application using TSP commands in a linear sweep
In this example, the code steps the gate-source voltage, sweeps the drain-source voltage at each
step, and measures the drain-source current. The parameters for this example are:
•
SMU-1 (drain) is the sweeper and master node (set to node 1)
Starting step voltage: 0 V
Stopping step voltage: 5 V
Number of steps: 51
•
SMU-2 (gate) is the stepper and subordinate node 2
Starting step voltage: 2 V
Stopping step voltage: 5 V
Number of steps: 4
Send the following commands for this example application:
-- Reset the instruments and the TSP-Link connection, and clear the buffers.
tsplink.initialize()
-- If the TSP-Link 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()
-- Set the number of sweep points (also used for printing).
num = 51
2450-900-01 Rev. E / August 2019
Section 7: Measuring I-V characteristics of FETs
7-13
Need help?
Do you have a question about the Keithley SourceMeter 2450 and is the answer not in the manual?
Questions and answers