2470 High Voltage SourceMeter Instrument Reference Manual
Section 12: SCPI command reference
2470-901-01 Rev. A /
May
2019
12-151
: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 model branches the specified block
<branchToBlock>
The block number of the trigger model block to execute when the specified event
occurs
Details
The branch-on-event 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.
If you set the branch event to none, an error is generated when you run the trigger model.
The following table shows the constants for the events.
Trigger events
Event description
Event constant
Trigger event blender
<n>
(up to two), which combines trigger
events
BLENder<n>
A command interface trigger:
Any remote interface: *
TRG
GPIB only: GET bus command
USB only: A USBTMC TRIGGER message
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>
Front-panel TRIGGER key press
DISPlay
Appropriate LXI trigger packet is received on LAN trigger object
<n>
(1 to 8)
LAN<n>
No trigger event
NONE
Notify trigger block
<n>
(1 to 8); the trigger model generates a
trigger event when it executes the notify block
NOTify<n>
Source limit condition occurs
SLIMit
Trigger timer
<n>
(1 to 4) expired
TIMer<n>
Line edge detected on TSP-Link synchronization line
<n>
(1 to 3)
TSPLink<n>