2606B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2606B-901-01 Rev. B / May 2018
7-349
Details
Once the timer is enabled, each time the timer is triggered, it uses this delay period.
Assigning a value to this attribute is equivalent to:
trigger.timer[
N
].delaylist = {
interval
}
This creates a delay list of one value.
Reading this attribute returns the delay interval that will be used the next time the timer is triggered.
Example
trigger.timer[1].delay = 50e-6
Set the trigger timer 1 to delay for 50 µs.
Also see
(on page 7-352)
trigger.timer[N].delaylist
This attribute sets an array of timer intervals.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
Recall setup
Trigger timer
N
reset
Not saved
10e-6 (10 µs)
Usage
intervals
= trigger.timer[
N
].delaylist
trigger.timer[
N
].delaylist =
intervals
intervals
Table of delay intervals in seconds
N
Trigger timer number (1 to 8)
Details
Each time the timer is triggered after it is enabled, it uses the next delay period from the array. The
default value is an array with one value of 10 µs.
After all elements in the array have been used, the delays restart at the beginning of the list.
If the array contains more than one element, the average of the delay intervals in the list must be
≥
50 µs.
Example
trigger.timer[3].delaylist = {50e-6, 100e-6, 150e-6}
DelayList = trigger.timer[3].delaylist
for x = 1, table.getn(DelayList) do
print(DelayList[x])
end
Set a delay list on trigger timer 3 with three delays (50 µs, 100 µs, and 150 µs).
Read the delay list on trigger timer 3.
Output:
5e-05
0.0001
0.00015