Trigger.timer[N].Count - Tektronix Keithley SourceMeter 2470 Reference Manual

High voltage instrument
Hide thumbs Also See for Keithley SourceMeter 2470:
Table of Contents

Advertisement

Section 14: TSP command reference

trigger.timer[N].count

This attribute sets the number of events to generate each time the timer generates a trigger event or is enabled as
a timer or alarm.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
count = trigger.timer[N].count
trigger.timer[N].count = count
count
N
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.
Example 2
reset()
trigger.timer[4].reset()
trigger.timer[4].delay = 0.5
trigger.timer[4].start.stimulus = trigger.EVENT_NOTIFY8
trigger.timer[4].start.generate = trigger.OFF
trigger.timer[4].count = 20
trigger.timer[4].enable = trigger.ON
trigger.model.load("Empty")
trigger.model.setblock(1, trigger.BLOCK_BUFFER_CLEAR, defbuffer1)
trigger.model.setblock(2, trigger.BLOCK_NOTIFY, trigger.EVENT_NOTIFY8)
trigger.model.setblock(3, trigger.BLOCK_WAIT, trigger.EVENT_TIMER4)
trigger.model.setblock(4, trigger.BLOCK_MEASURE, defbuffer1)
trigger.model.setblock(5, trigger.BLOCK_BRANCH_COUNTER, 20, 3)
trigger.model.initiate()
waitcomplete()
print(defbuffer1.n)
14-252
2470 High Voltage SourceMeter Instrument Reference Manual
Affected by
Where saved
Restore configuration
Configuration script
Instrument reset
Power cycle
Trigger timer N reset
Number of times to repeat the trigger (0 to 1,048,575)
Trigger timer number (1 to 4)
Default value
1
2470-901-01 Rev. A / May 2019

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Keithley SourceMeter 2470 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF