Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 6: SCPI command reference
2450-901-01 Rev. B/September 2013
6-131
:TRIGger:BLOCk:BRANch:EVENt
This command branches to a specified block when a specified trigger event occurs.
Type
Affected by
Where saved
Default value
Command only
Recall settings
Instrument reset
Power cycle
Save settings
Not applicable
Usage
:TRIGger:BLOCk:BRANch:EVENt <blockNumber>, <event>, <branchToBlock>
<blockNumber>
The sequence of the block in the trigger model
<event>
The event that must occur before the trigger block will act
<branchToBlock>
The block number of the trigger model block to execute when the specified event
occurs
Details
The branch-on-event building block goes to a branching block after a specified trigger event occurs. If the trigger
event has not yet occurred when the trigger model reaches the branch-on-event block, the trigger model
continues to execute the blocks in the normal sequence. After the trigger event occurs, the next time the trigger
model reaches the branch-on-event block, it goes to the branching block.
The event can be one of the events shown in the following table.
Trigger events
Event description
Event constant
No trigger event
NONE
Front-panel TRIGGER key press
DISPlay
Notify trigger block
<n>
(1 to 8) generates a trigger event when the trigger
model executes it
NOTify<n>
A command interface trigger occurred:
•
Any remote interface: *
TRG
•
GPIB only: GET bus command
•
VXI-11: VXI-11 command
device_trigger
COMMand
Line edge (either rising, falling, or either based on the configuration of the line)
detected on digital input line
<n>
(1 to 6)
DIGio<n>
Line edge detected on TSP-Link synchronization line
<n>
(1 to 3)
TSPLink<n>
Appropriate LXI trigger packet is received on LAN trigger object
<n>
(1 to 8)
LAN<n>
Trigger event blender
<n>
(1 to 2), which combines trigger events
BLENder<n>
Trigger timer
<n>
(1 to 4) expired
TIMer<n>
Source limit condition occurs
SLIMit
Example
:TRIG:BLOC:BRAN:EVEN 6, DISP, 2
When the trigger model reaches this block, if the front-panel TRIGGER key has been pressed, the trigger
model returns to block 2. If the TRIGGER key has not been pressed, the trigger model continues to block 7
(the next block in the trigger model).
Also see
(on page 3-99)