Buffer Programming Examples - Keithley 2601 Reference Manual

System sourcemeter 2600 series (smu)
Hide thumbs Also See for 2601:
Table of Contents

Advertisement

Series 2600 System SourceMeter® Instruments Reference Manual

Buffer programming examples

Defined buffer example
The listing below shows a programming example for storing data using the pre-defined Buffer 1 for
Channel A. The SourceMeter loops for voltages from 0.01V to 1V with 0.01V steps (essentially
performing a staircase sweep), stores 100 current readings and source values in Buffer 1, and
then recalls all 100 readings and source values.
smua.reset()
display.screen = 0
display.smua.measure.func =
display.MEASURE_DCAMPS
smua.measure.autorangei = smua.AUTORANGE_ON
format.data = format.ASCII
smua.nvbuffer1.clear()
smua.nvbuffer1.appendmode = 1
smua.nvbuffer1.collectsourcevalues = 1
smua.measure.count = 1
smua.source.func = smua.OUTPUT_DCVOLTS
smua.source.levelv = 0.0
smua.source.output =smua.OUTPUT_ON
for v = 0.01, 1.0, 0.01 do
end
smua.source.output =smua.OUTPUT_OFF
printbuffer(1, 100, smua.nvbuffer1.readings)
printbuffer(1, 100,
smua.nvbuffer1.sourcevalues)
2600S-901-01 Rev. C / January 2008
smua.source.levelv = v
smua.measure.i(smua.nvbuffer1)
waitcomplete()
Return to
Section Topics
Section 7: Buffer (Data Store)
-
Restore Series 2600 defaults.
-
-
Select Channel A display.
-
-
Display current.
-
-
Select measure I auto range.
-
-
Select ASCII data format.
-
-
Clear Buffer 1.
-
-
Enable append buffer mode.
-
-
Enable source value storage.
-
-
Set count to 1.
-
-
Select source voltage function.
-
-
Set bias voltage to 0V.
-
-
Turn on output.
-
-
Loop for voltages from 0.01 to 1V.
-
-
Set source voltage.
-
-
Measure current, store in buffer.
-
-
Wait for reading to complete.
-
-
End loop.
-
-
Turn off output.
-
-
Return readings 1-100.
-
-
Return source values 1-100.
-
7-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26362602261126122635

Table of Contents