Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-238
2606B-901-01 Rev. B / May 2018
Trigger event IDs*
Event ID
Event description
trigger.timer[
N
].EVENT_ID
Occurs when a delay expires
trigger.generator[
N
].EVENT_ID
Occurs when the
trigger.generator[
N
].assert()
function is executed
* Use the name of the trigger event ID to set the stimulus value rather than the numeric value. Using the name
makes the code compatible for future upgrades (for example, if the numeric values must change when
enhancements are added to the instrument).
Example
smua.trigger.measure.stimulus = trigger.timer[1].EVENT_ID
Sets delay before
measurement begins on SMU
channel A.
Also see
(on page 3-30)
smuX.trigger.measure.Y()
This function configures the measurements that are to be made in a subsequent sweep.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
smu
X
.trigger.measure.
Y
(
rbuffer
)
smu
X
.trigger.measure.iv(
ibuffer
,
vbuffer
)
X
Source-measure unit (SMU) channel (for example,
smua.trigger.measure.v()
applies to SMU channel A)
Y
SMU measurement type (
v
= voltage,
i
= current,
r
= resistance,
p
= power)
rbuffer
A reading buffer object where the readings will be stored
ibuffer
A reading buffer object where current readings will be stored
vbuffer
A reading buffer object where voltage readings will be stored
Details
As measurements are made, they are stored in a reading buffer. If the instrument is configured to
return multiple readings where one is requested, the readings will be available as they are made.
Measurements are in the following units of measure:
v
= volts,
i
= amperes,
r
= ohms,
p
= watts.
The
smu
X
.trigger.measure.iv()
function stores current readings in
ibuffer
and voltage
readings in
vbuffer
.
If a given reading buffer contains any data, it is cleared before making any measurements, unless the
reading buffer has been configured to append data.
The SMU only retains the last call to any one of these functions and only that measurement action is
performed.
After configuring the measurements to make with this function, remember to enable the measurement
action by setting
smu
X
.trigger.measure.action
=
smu
X
.ENABLE
.