
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-141
Example
smu.measure.configlist.recall("MyMeasList")
Because an index was not specified, this
command recalls configuration index 1 from
a configuration list named
MyMeasList
.
smu.measure.configlist.recall("MyMeasList", 5)
Recalls configuration index 5 in a
configuration list named
MyMeasList
.
smu.measure.configlist.recall("MyMeasList", 3,
"MySourceList")
Recalls index 3 from a measure
configuration list named
MyMeasList
and
recalls index 3 from a source configuration
list named
MySourceList
(because source
list index was not specified, the instrument
automatically recalled the same index that
was called in the measure list).
smu.measure.configlist.recall("MyMeasList", 3,
"MySourceList", 5)
Recalls index 3 from a measure
configuration list named
MyMeasList
and
recalls index 5 from a source configuration
list named
MySourceList
.
Also see
(on page 3-30)
smu.measure.configlist.create()
smu.measure.configlist.store()
(on page 8-142)
smu.measure.configlist.size()
This function returns the size (number of configuration indexes) of a measure configuration list.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
indexCount = smu.measure.configlist.size(
listName
)
indexCount
A number that represents the total count of indexes stored in the specified measure
configuration list
listName
A string that represents the name of a measure configuration list
Details
This command returns the size (number of configuration indexes) of a measure configuration list.
The size of the list is equal to the number of configuration indexes in a configuration list.
Example
print(smu.measure.configlist.size("testMeasList"))
Returns the number of configuration
indexes in a measure configuration
list named
testMeasList
.
Example output:
1
Also see
(on page 3-30)
smu.measure.configlist.create()
(on page 8-136)