7½ Digit Graphical Sampling Multimeter Reference Manual  Section 8: 
 
DMM7510-901-01 Rev. B / May 2015  8-325 
 
trigger.model.setblock() — trigger.BLOCK_WAIT 
This function defines a trigger model block that waits for an event before allowing the trigger model to continue. 
Type  TSP-Link accessible  Affected by  Where saved  Default value 
Instrument reset 
Usage 
trigger.model.setblock(blockNumber, trigger.BLOCK_WAIT, event) 
trigger.model.setblock(blockNumber, trigger.BLOCK_WAIT, event, clear) 
trigger.model.setblock(blockNumber, trigger.BLOCK_WAIT, event, clear, logic, event) 
trigger.model.setblock(blockNumber, trigger.BLOCK_WAIT, event, clear, logic, event, 
event) 
 
The sequence of the block in the trigger model 
The event that must occur before the trigger block allows trigger execution 
to continue (see Details) 
To clear previously detected trigger events when entering the wait block: 
trigger.CLEAR_ENTER 
To immediately act on any previously detected triggers and not clear them 
(default): trigger.CLEAR_NEVER 
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: 
 
Details 
You can use the wait block to synchronize measurements with other instruments and devices. 
You can set the instrument to wait for the following events: 
•  Front-panel TRIGGER key press 
•  Notify (only available when using remote commands) 
•  Command interface trigger 
•  Digital input/output signals, such as DIGIO and TSP-Link 
•  LAN 
•  Blender 
•  Timer 
•  Analog trigger 
•  External in trigger 
The event can occur before trigger model execution reaches the wait block. If the event occurs after 
trigger model execution starts but before the trigger model execution reaches the wait block, the 
trigger model records the event. By default, when trigger model execution reaches the wait block, it 
executes the wait block without waiting for the event to happen again (the clear parameter is set to 
never). 
The instrument clears the memory of the recorded event when trigger model execution is at the start 
block and when the trigger model exits the wait block. It also clears the recorded trigger event when 
the clear parameter is set to enter.