![background image](http://html2.mh-extra.com/html/keithley/2461/2461_reference-manual_3993652882.webp)
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-209
Example
reset()
testDataBuffer = buffer.make(100)
smu.source.func = smu.FUNC_DC_VOLTAGE
smu.measure.func = smu.FUNC_DC_CURRENT
smu.source.readback = smu.ON
smu.source.level = 10
smu.measure.count = 100
smu.source.output = smu.ON
smu.measure.read(testDataBuffer)
smu.source.output = smu.OFF
printbuffer(1, 100, testDataBuffer.sourcevalues,
testDataBuffer)
Reset the instrument to default
settings.
Make a buffer named
testDataBuffer
that can hold 100
readings.
Set source function to voltage.
Set the measurement function to
current.
Set read back on.
Set the instrument to take 100
readings.
Turn the output on.
Take the measurements.
Turn the output off.
Get the source values and
measurements from the buffer.
Also see
(on page 8-150)
(on page 8-184)