
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2450-901-01 Rev. B/September 2013
8-187
trigger.model.getbranchcount()
This attribute returns the count value of the trigger model counter block.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.model.getbranchcount(
blockNumber
)
blockNumber
The sequence of the block in the trigger model
Details
This command returns the counter value. When the counter is active, this returns the count. If the trigger model
has started or is running but has not yet reached the counter block, this value is 0.
Example
print(trigger.model.getbranchcount(4))
Returns the value of the counter for building
block 4.
Also see
trigger.model.setblock() — trigger.BLOCK_BRANCH_COUNTER
(on page 8-193)
trigger.model.initiate()
This function starts the trigger model.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.model.initiate()
Also see
(on page 3-95)
(on page 8-186)