Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added how to recalibrate the HLA python script

Table of Contents

Overview

I preface this entry by noting there a lot of things I do not know about the implementation of timing at SLAC. I know in principle what is happening, but the implementation is much more complicated.

...

This page shows how to enable synchronization of all four triggers and change the timing of the laser relative to the electron beam.


Adjusting Timing Between Laser and Electron Beam

1)

Open a terminal and connect to facet-srv01 (I dunno if it HAS to be 01, but I know that works). User profile doesn't matter. Then type

...

Once tracking is enabled you can also change the target time in the vitara panel or just writing to the PV.


Troubleshooting

The timing between laser and electron beam is monitored and kept constant by a High Level Application (HLA). This is not the application described above (the one above synchronizes all our lasers in S20, nothing to do with the electron beam). The HLA is an application that is common to all laser + electron/x-ray synchronization across SLAC.


This was written 6/10/22. The system will change slightly in the next few months so this will need to be updated. If you're reading this and it is later than 9/1/2022 then it could be out of date. Talk to Brendan.


How do I know the target time is working? The "Target Time" and the "Counter Time" should match:

Image Added

If they do not match, or you adjust the target time and the counter time does not change or changes by the wrong amount, then the HLA has stalled or died.


When I change the target time the counter time changes, but by the wrong amount

In this means the HLA has lost calibration. To recalibrate:

1) Open the S20 Vitara control panel

Image Added


2) Open the HLA script controls

Image Added


3) Recalibrate the HLA

Image Added

A little window will pop up. Select "Calibrating" and click "Apply". The process will take a few minutes. While in progress the button will read "Calibrating", when it is done the button will change name to "Ready".


4) Change "Target Time" and make sure it is consistent with "Counter Time". i.e they agree and move together.