2470 High Voltage SourceMeter Instrument Reference Manual
Section 14: TSP command reference
2470-901-01 Rev. A /
May
2019
14-33
Example
reset()
testData = buffer.make(50)
smu.source.output = smu.ON
trigger.model.load("SimpleLoop", 2, 0, testData)
trigger.model.initiate()
waitcomplete()
printbuffer(1, 2, testData.sourcestatuses)
Create a reading buffer named
testData
, configure the instrument to make two measurements, and store the
readings in the buffer.
Turn on the source output.
Print the source status for the readings in
testData
.
Output:
136, 136
Indicating that the status is
buffer.STAT_READBACK
and
buffer.STAT_OUTPUT
.
Also see
(on page 14-12)
(on page 14-18)
(on page 14-9)
(on page 14-99)
(on page 14-100)
(on page 6-25)
bufferVar.sourceunits
This attribute contains the units of measure of the source.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Restore configuration
Instrument reset
Power cycle
Not applicable
Not applicable
Usage
readingUnits
=
bufferVar
.sourceunits[
N
]
readingUnits
The units of measure of the source:
Volt DC
Amp DC
bufferVar
The name of the reading buffer, which may be a default buffer (
defbuffer1
or
defbuffer2
) or a user-defined buffer
N
The reading number
N
; can be any value from 1 to the number of readings in the
buffer; use the
bufferVar.
n
command to determine the number of readings in the
buffer