19-124 Return to Section Topics 2600AS-901-01 Rev. B / September 2008
Section 19: Remote Commands Series 2600A System SourceMeter® Instruments Reference Manual
smuX.measureYandstep
X = SMU channel (a or b)
Y = SMU measure function (v, i, iv, r or p)
Where: v = voltage, i = current, r = resistance, p = power
Function Performs one or two measurements and then steps the source.
TSP-Link
accessibility
This function can be accessed from a remote TSP-Link node.
Usage This function can be used in several ways:
reading = smuX.measurevandstep(sourcevalue)
reading = smuX.measureiandstep(sourcevalue)
reading = smuX.measurerandstep(sourcevalue)
reading = smuX.measurepandstep(sourcevalue)
ireading, vreading = smuX.measureivandstep(sourcevalue)
reading Returns the measured reading before stepping the source.
ireading Returns the current reading before stepping the source.
ireading Returns the voltage reading before stepping the source.
sourcevalue Source value to be set after the measurement is made.
Remarks • The smuX.measureYandstep function performs a measurement and then sets the source to
sourcevalue. The smuX.measureivandstep function is similar, but performs two
measurements; one for current (i) and one for voltage (v).
• 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 auto range must be disabled before using this function.
• 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, the source value should be set to its initial level.
Also see smuX.measure.Y
Example This Model 2601A/2602A measure and step function measures current starting at a source value of
0V. After each current measurement, the source is stepped 100mV for the next current
measurement. The final source level is 1V where current is again measured.
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()