8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
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
Usage
trigger.timer[N].clear()
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
Also see
trigger.timer[N].count (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
Configuration script 1
Usage
count = trigger.timer[N].count
trigger.timer[N].count = count
Number of times to repeat the trigger (0 to 1,048,575)
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
trigger.timer[N].clear() (on page 8-216)
trigger.timer[N].reset() (on page 8-220)