
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-259
trigger.model.getbranchcount()
This function 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 present 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-274)
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-107)
(on page 8-258)