Keithley 2601 Reference Manual page 185

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

Advertisement

Series 2600 System SourceMeter® Instruments Reference Manual
Dynamically allocated buffer example
The listing below shows a programming example for storing data using an allocated buffer called
mybuffer for Channel A. The SourceMeter stores 100 current readings in mybuffer and then
recalls all the readings.
smua.reset()
smua.measure.autorangei = smua.AUTORANGE_ON
format.data = format.ASCII
mybuffer = smua.makebuffer(100)
smua.measure.count = 100
smua.measure.interval = 0.1
smua.source.func = smua.OUTPUT_DCVOLTS
smua.source.levelv = 1
smua.source.output =smua.OUTPUT_ON
smua.measure.overlappedi(mybuffer)
waitcomplete()
smua.source.output =smua.OUTPUT_OFF
printbuffer(1, 100, mybuffer)
mybuffer = nil
2600S-901-01 Rev. C / January 2008
Return to
Section Topics
Section 7: Buffer (Data Store)
-
Restore Series 2600 defaults.
-
-
Select measure auto range.
-
-
Select ASCII data format.
-
-
Allocate mybuffer, 100 readings.
-
-
Set buffer count to 100.
-
-
Set measure interval to 0.1s.
-
-
Select source voltage function.
-
-
Output 1V.
-
-
Turn on output.
-
-
Store current readings in mybuffer.
-
-
Wait for buffer to fill.
-
-
Turn off output.
-
-
Return readings 1-100 from
-
mybuffer.
-
Delete mybuffer.
-
7-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26362602261126122635

Table of Contents