![Tektronix Keithley SourceMeter 2450 User Manual Download Page 47](http://html1.mh-extra.com/html/tektronix/keithley-sourcemeter-2450/keithley-sourcemeter-2450_user-manual_1077861047.webp)
Section 5: Measuring low-resistance devices
Model 2450 Interactive SourceMeter® Instrument User's Manual
5-8
2450-900-01 Rev. A / June 2013
Send the following commands for this example application:
--Reset the instrument to the default settings
reset()
--Configure the Simple Loop trigger template to take 100 readings.
trigger.model.load("SimpleLoop", 100)
--Change the view on the front panel to the DATA TREND plot.
display.screen = display.SCREEN_PLOT_SWIPE
--Set the source to output current.
smu.source.func = smu.FUNC_DC_CURRENT
--Set the measure function to measure resistance.
smu.measure.func = smu.FUNC_RESISTANCE
--Set the measurement mode for resistance to automatic.
smu.measure.resistancemode = smu.RESISTANCE_AUTO
--Set to use 4-wire sense mode.
smu.measure.sense = smu.SENSE_4WIRE
--Enable offset compensation.
smu.measure.offsetcompensation = smu.ON
--Turn on the output
smu.source.output = smu.ON
--Initiate readings.
trigger.model.initiate()
--Wait until finished.
waitcomplete()
smu.source.output = smu.OFF
--Read the resistance and time values from debuffer1.
print("Resistance:\tTime:")
for i=1, 100 do
print(string.format("%f\t%f", defbuffer1[i], defbuffer1.relativetimestamps[i]))
end