Changes for page Trigger Howto
Last modified by sndueste on 2023/07/07 11:28
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -181,45 +181,36 @@ 181 181 182 182 One can use now a SECOND trigger channel which is set to a regular 10 Hz trigger and gate the clock output to create a burst with defined start point and length, 183 183 184 - For the example we use the FRONT.TRG2 (BL3 Trg5) as gate pulse which defines the length of the burst (set with the trigger width) and the (rough) starting point of the burst. This trigger is only used as gate and the physical trigger output is NOT used.184 +\\ 185 185 186 - The second channel (here FRONT.TRG3 (BL3 Trg6) which is set to the clock frequency defines the reprate (by the FPGA clock setting) , the exact starting point of the first trigger ( by the delay ) and the width of the MHz/kHz triggers (width).186 +\\ 187 187 188 - **To get from the clock to the burst trigger** one has to:188 +\\ 189 189 190 -* set the "2nd source select" to the gate trigger ( here FRONT.TRG2) - this defines a second source to considder for the trigger output. 191 -* and the "output source select" to "AND 2nd Ch." this finally only sends a trigger if on both inputs (clock and gate) we have a high signal. 192 - 193 193 \\ 194 194 195 -[[image:attach:image2019-9-17_14-35-5.png||height="250"]] [[image:attach:image2019-9-17_14-34-38.png||width="400"]] 196 - 197 197 \\ 198 198 199 199 \\ 200 200 201 -= Real bunch trigger - get a trigger for each FEL pulse = 202 - 203 203 \\ 204 204 205 -Sometimes it is convenient to get a trigger pulse for each pulse in the FEL. thus if the FEL number of bunches or reprate are changed, the trigger adapts accordingly. 198 +* in order to generate a stable frequency one has to set the input source to FPGA clock (and use dividers to get the desired frequency) 199 +* to generate the burst patterns of the FEL one has to choose a trigger event (best 116 for FLASH 2 and 16 for FLASH1) and activate Destination 1 for FLASH1 and Destination 2 for FLASH2 . finally one has to assign the activated Bunch pattern mask to the trigger channel of choice . now the pattern can be shifted and the trigger width can be changed as with the 10 Hz triggers. **IMPORTANT: to move the bunchtrain to the desired starting point the DELAY in the expert panel (see below) has to be used. The Trigger in the user panel (see above) has to be set to 0 !!!** 200 +[[~[~[image:url:http://hasfweb.desy.de/pub/Setup/TriggerHowto/mtcatrigger2k.png~|~|alt="mtcatrigger2k.png" width="607" height="458"~]~]>>attach:mtcatrigger2k.png]] 206 206 207 - For this onehasto selectthesource ofterestin theexpert overview panel (tab: "Bunch pattern")... wellforus this isFLASH1(FL1D)orFLASH2(FL2D)202 +here an example defining the bunch pattern for FLASH1 to mask 1 208 208 209 - There are 6 different bunch pattern "channels" one can configure. Typically only 2 are needed ... And in each one there are 6 selectors to choose sources . We only need one - it does not matter in which one is used.204 +\\ 210 210 211 - [[~[~[image:attach:image2019-9-17_14-51-28.png~|~|height="250"~]~]>>attach:image2019-9-17_14-51-28.png]][[image:attach:image2019-9-17_14-47-15.png||thumbnail="true" height="199"]]206 +\\ 212 212 213 213 \\ 214 214 215 - In the expert panel one can now choose the configured "Bunch Pattern" as "Input source select"210 +\\ 216 216 217 -**NOTE: To shift the burst in time one can no longer use the delay of the individual channel BUT the delay in the "Bunch pattern" tab in the expert overview! This now shifts all bursts ... so you better know what you are doing. typically the burst is already shifted to the actual FEL timing ... Shifting the timing should be discussed with the beamline scientist / local contact ...** 218 - 219 219 \\ 220 220 221 -[[image:attach:image2019-9-17_14-52-27.png||height="248"]][[image:attach:image2019-9-17_14-52-40.png||height="250"]] 222 - 223 223 \\ 224 224 225 225 \\