/
Trigger Target Setup

Trigger Target Setup

Here we control the triggers for a single target.  Setting up trigger consists of the following stages:

  • First the set of available trigger inputs should be configured so that the desired input will fire the trigger.
  • Secondly, the trigger must be armed.
  • The trigger will now fire as soon as any of the configured input events is seen.
  • Finally a programmable delay is applied before the target is activated.

All the PVs on this screen are prefixed with $(device):$(axis) and $(dest) identifies the trigger destination, one of SEQ or MEM.

Arming

Arming can be shared with other triggers, or can be independent.  For shared arming see Trigger Configuration for details.

TitlePVDescription

:TRG:$(dest):MODE_S

This controls when this target is armed, and can be set to one of three values:

ValueDescription
One ShotAfter arming and firing the trigger will remain idle.
RearmAfter arming and firing the trigger will automatically rearm.
SharedArming of the trigger will be managed by the shared trigger mode, see Trigger Configuration and :TRG:MODE_S.
Arm:TRG:$(dest):ARM_SThis will arm the trigger so long as the trigger state is idle.
Disarm:TRG:$(dest):DISARM_SThis will disarm the trigger.

:TRG:$(dest):STATUS

This indicates the status of this trigger and the controlled target, and can be one of the following values:

ValueDescription
IdleThe target is idle, the trigger is ready to be armed.
ArmedThe trigger is waiting for an event.
BusyThe trigger has been fired, but the controlled target is now busy.  For SEQ this means that the sequencer is running, for MEM this means that the memory is still capturing runout.
LockedThe target is busy waiting for an external readout to complete, the trigger will arm once the readout is done.  This is normally a transient state.

The remaining controls are for shared triggers.

Inputs

The status of each available trigger input is shown.  See Trigger Configuration for details.

Sources

For each input ($(input) ranging over SOFT, EXT, PM, ADC0, ADC1, SEQ0, SEQ1) the following PVs are provided:

PVDescription
:TRG:$(dest):$(input):EN_SThis is set to "Ignore" or "Enable" and determines whether this input can fire the trigger.
:TRG:$(dest):$(input):BL_SThis is set to "All" or "Blanking" and determines whether all enabled input events are processed or if the blanking window is used to suppress this trigger source.
:TRG:$(dest):$(input):HITWhen the trigger fires this PV is updated to indicate whether this input contributed to the trigger firing.


Trigger Delay

PVDescription
:TRG:$(dest):DELAY_SThis determines a delay in turns from the trigger input being accepted and firing the trigger to the trigger event being delivered to the trigger destination.

Related content

Trigger Configuration
Trigger Configuration
More like this
ADC Setup (version 1.3)
ADC Setup (version 1.3)
More like this
Sequencer and Bunch Control
Sequencer and Bunch Control
More like this
Sequencer and Bunch Control (version 1.3)
Sequencer and Bunch Control (version 1.3)
More like this