
Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-348
2606B-901-01 Rev. B / May 2018
trigger.timer[N].count
This attribute sets the number of events to generate each time the timer generates a trigger event.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
Recall setup
Trigger timer N reset
Not saved
1
Usage
count
= trigger.timer[
N
].count
trigger.timer[
N
].count =
count
count
Number of times to repeat the trigger (0 to 1,048,575)
N
Trigger timer number (1 to 8)
Details
If the count is set to a number greater than 1, the timer automatically starts the next trigger timer
delay at the expiration of the previous delay.
Set the count to zero (0) to cause the timer to generate trigger events indefinitely.
If you use the trigger timer with a trigger model, make sure the count value is the same or more than
any count values expected in the trigger model.
Example 1
print(trigger.timer[1].count)
Read trigger count for timer number 1.
Also see
(on page 7-347)
(on page 7-352)
trigger.timer[N].delay
This attribute sets and reads the timer delay.
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
interval
= trigger.timer[
N
].delay
trigger.timer[
N
].delay =
interval
interval
Delay interval in seconds (0.5 µs to 100 ks)
N
Trigger timer number (1 to 8)