Trigger.model.setblock() — Trigger.block_Source_Output - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Section 8: TSP command reference
trigger.model.setblock() — trigger.BLOCK_SOURCE_OUTPUT
This attribute defines a trigger block that turns the output source on or off.
Type
TSP-Link accessible
Function
Yes
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_SOURCE_OUTPUT, state)
blockNumber
state
time
Details
The source building block determines if the output source is turned on or off when the trigger model reaches this
block.
This block does not determine the settings of the output source (such as the output voltage level and source
delay). The source settings are determined by either the present settings of the instrument or by a source
configuration list.
When you list trigger blocks, this block is listed as SOURCE_OUTPUT.
Example
trigger.model.setblock(2, trigger.BLOCK_SOURCE_OUTPUT, 1)
Set trigger model to turn the source on when it reaches block 2.
Also see
Wait building block
trigger.model.setblock() — trigger.BLOCK_WAIT
This command defines a trigger model block that waits for an event before allowing the trigger model to continue.
Type
TSP-Link accessible
Function
Yes
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_WAIT, event)
trigger.model.setblock(blockNumber, trigger.BLOCK_WAIT, event, logic, event)
trigger.model.setblock(blockNumber, trigger.BLOCK_WAIT, event, logic, event, event)
blockNumber
event
logic
8-212
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Affected by
Restore configuration
Instrument reset
Power cycle
(on page 3-96)
Affected by
Restore configuration
Instrument reset
Power cycle
The sequence of the block in the trigger model
The event that must occur before the trigger block will act
If each event must occur before the trigger model continues: trigger.WAIT_AND
If at least one of the events must occur before the trigger model continues:
trigger.WAIT_OR
Where saved
Default value
Configuration script Not applicable
The sequence of the block in the trigger model
Turn the source off (smu.OFF or 0)
Turn the source on (smu.ON or 1)
The number of the user delay to recall
Where saved
Default value
Configuration script Not applicable
2450-901-01 Rev. B/September 2013

Advertisement

Table of Contents
loading

Table of Contents