
Section 8: TSP command reference
Model 2450 Interactive SourceMeter® Instrument Reference Manual
8-216
2450-901-01 Rev. B/September 2013
trigger.timer[N].clear()
This function clears the timer event detector and overrun indicator for the specified trigger timer number.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.timer[
N
].clear()
N
Trigger timer number to clear (1 to 4)
Details
This command sets the timer event detector to the undetected state and resets the overrun indicator.
Example
trigger.timer[1].clear()
Clears trigger timer 1.
Also see
(on page 8-216)
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
Restore configuration
Instrument reset
Power cycle
Trigger timer
N
reset
Configuration script
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
A trigger timer number (1 to 4)
Details
If
count
is set to a number greater than 1, the timer automatically starts the next delay at the expiration of the
previous delay.
Set
count
to zero (0) to cause the timer to generate trigger events indefinitely.
This command should not be used with the trigger model.
Example
print(trigger.timer[1].count)
Read trigger count for timer number 1.
Also see
(on page 8-216)
(on page 8-220)