1) Access the timing trigger displays
$TOOLS/pydm/display/evnt/tprDiag.ui
2)General TPR Setup:
2a) Make sure the MODE PV is set to SC, Link is up and set the Message Delay
Define the Message Delay for your system: 107692 nsec is the default default delay calculated = Injector Laser 100 microsec + beam to your device (You time this) + fiber delay (TPG-Laser and TPG-fanout-ATCA)
Example = 112597 nsec BPMS Message Dealy set in Diag0
2b) Setup your Channel to be used as a Timing Pattern Filter, the Channel is the tool to use to filter the frames you want your system to trigger on.
This is a similar concept to an Event Code but it is configured at the Client (TPR) level instead of being globally defined in the TPG.
The Triggers are linked to the firmware by the Firmware Engineer, talk to the Firmware Engineer to find out what is associated with each Trigger and then set meaningful names to each trigger "Desc".
The Channel is the trigger logic that allows you to trigger your system.
Trigger 1: 1 Channel
Channel 1: N Triggers This means you can configure a Channel and re-use it for multiple triggers, just like an event code but at the Client level.
3)Setup the Channels
3a) Trigger based on a Destination receiving Beam
1MHz + Include Dest
This will trigger your device in either Fixed rate or AC Rate beam, anytime there is beam.
3b) Trigger based on Destination and Particular Rate (Device Rate Limited)
Fixed Rate
AC Rate
3c) Trigger based on a particular rate but no destination requirement
Dest Mode = Don't Care
3c) Trigger based on AC and/or Fixed Rate at a Lower rate than beam rate
Fixed Rate = 10Hz
3d)
Trigger on special bits like the Calibration Bit for BPMS → Control Sequence Setup
Trigger on special bits like the Standby Trigger for Kicker→ Control Sequence Setup Seq = # and bit = # & INCLUDE dest = # this provides the in time trigger.
Seq = # and bit = # & EXCLUDE dest = # this provides the out of time trigger.
Trigger on a BSA Buffer at 1Hz, 10Hz, 100Hz → Control Sequence Setup
A) For a specific area