Section 3: Functions and features
Series 2600B System SourceMeter® Instrument Reference Manual
3-20
2600BS-901-01 Rev. B / May 2013
Dynamically allocated buffer example
The programming example below illustrates how to store data to an allocated buffer called
mybuffer
. The Series 2600B stores 100 current readings in
mybuffer
and then recalls all the
readings.
-- Restore Series 2600B defaults.
smua.reset()
-- Select measure I autorange.
smua.measure.autorangei = smua.AUTORANGE_ON
-- Select measure V autorange.
smua.measure.autorangev = smua.AUTORANGE_ON
-- Select ASCII data format.
format.data = format.ASCII
-- Set buffer count to 100.
smua.measure.count = 100
-- Set measure interval to 0.1 s.
smua.measure.interval = 0.1
-- Select source voltage function.
smua.source.func = smua.OUTPUT_DCVOLTS
-- Output 1 V.
smua.source.levelv = 1
-- Turn on output.
smua.source.output = smua.OUTPUT_ON
-- Create a temporary reading buffer.
mybuffer = smua.makebuffer(smua.measure.count)
-- Store current readings in mybuffer.
smua.measure.overlappedi(mybuffer)
-- Wait for buffer to fill.
waitcomplete()
-- Turn off output.
smua.source.output = smua.OUTPUT_OFF
-- Output readings 1 to 100 from mybuffer.
printbuffer(1, 100, mybuffer)
-- Delete mybuffer.
mybuffer = nil
Sweep operation
Overview
The Series 2600B can generate DC and pulsed sweeps to perform source-only sweeps,
source-and-measure sweeps, or measure-only sweeps. There are three sweep types shown in the
following figure: DC and pulsed linear staircase sweeps (A), DC and pulsed logarithmic staircase
sweeps (B), and DC and pulsed list sweeps (C). Details about each kind of sweep follow the figure.
Содержание System SourceMeter 2601B
Страница 841: ......