![background image](http://html2.mh-extra.com/html/keithley/sourcemeter-2600b-series/sourcemeter-2600b-series_reference-manual_4085220569.webp)
Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-230
2600BS-901-01 Rev. C / August 2016
Also see
(on page 7-217)
(on page 7-231)
smuX.measureYandstep()
This function performs one or two measurements and then steps the source.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
reading
= smu
X
.measure
Y
andstep(
sourceValue
)
iReading, vReading
= smu
X
.measureivandstep(
sourceValue
)
reading
The measured reading before stepping the source
X
Source-measure unit (SMU) channel (for example,
smua.measurevandstep()
applies to SMU channel A)
Y
SMU measurement function (
v
= voltage,
i
= current,
r
= resistance,
p
= power)
sourceValue
Source value to be set after the measurement is made
iReading
The current reading before stepping the source
vReading
The voltage reading before stepping the source
Details
The
smu
X
.measure
Y
andstep()
function performs a measurement and then sets the source to
sourceValue
. Usage of the
smu
X
.measureivandstep()
function is similar, but performs two
measurements simultaneously; one for current (
i
) and one for voltage (
v
).
Measurements are in the following units of measure:
v
= volts,
i
= amperes,
r
= ohms,
p
= watts.
The specified source value should be appropriate for the selected source function. For example, if the
source voltage function is selected, then
sourceValue
is expected to be a new voltage level.
Both source and measure autorange must be disabled before using this function. This function cannot
be used if source highC mode is enabled (highC mode requires autoranging to be enabled).
This function is provided for very fast execution of source-measure loops. The measurement will be
made prior to stepping the source. Prior to using this function, and before any loop this function may
be used in, set the source value to its initial level.
Example
local ivalues = {}
smua.source.rangev = 1
smua.source.levelv = 0
smua.measure.rangei = 0.01
smua.source.output = smua.OUTPUT_ON
for index = 1, 10 do
ivalues[index] = smua.measureiandstep(index / 10)
end
ivalues[11] = smua.measure.i()
This use of the SMU channel A
measure and step function
measures current starting at a
source value of 0 V. After each
current measurement, the source is
stepped 100 mV for the next current
measurement. The final source level
is 1 V, where current is again
measured.