next up previous contents
Next: How can several controllers Up: SLS Detectors Software Previous: Which is the sequence   Contents


How can I synchronize my detector with the experiment?

The timing of the detector is always defined by an active detection time followed by a dead time during which the detector is read out. This read out time as a fixed duration depending on the detector type and its configuration (e.g. dynamic range) which limits the maximum frame rate achievable.
In the following is a list of the main parameters involved in the acquisition timing:

Exposure time
is the time during which the detector is detecting X-rays for each image (ignored is the timing mode is gating).
Period
is the period of the images acquired. If it is shorter than the exposure time plus readout time, it will be ignored.
Delay after trigger
can be set as a delay between the trigger signal and the start of the detection time.
Number of gates
is used only in gating mode and is the number of times that the gate is toggled before the detector is read out. Useful for stroboscopic measurements with gate period shorter than the minim acquisition period of the detector, otherwise can be left to 1.
Number of frames
is the number of images to be acquired per cycle. Frames and cycles have the same meaning except in trigger mode, when frames means the number of images per trigger. The total number of images is frames time cycles.
Number of cycles
is the number of times that the frames are acquired. Frames and cycles have the same meaning except in trigger mode, when cycles means the number of triggers that will be accepted. The total number of images is frames time cycles.
Number of probes
is used in stoboscopic measurements when the period is longer than the minimum acquisition period, but shorter than the frame rate.
In this case the data can be summed in firmware.
Currently it is implemented for Mythen only. If probes is set to 0, works normallyreturning an image for each readout, otherwise set number of cycles to 1. The maximum number of probes that can be set is 3. The detector will return a number of image equal to the number of probes, where all frames are going to be accumulated. The total number of readouts is number of frames time probes and for probes=1 the detector will return one image where all frames have been summed, for probes=2 two images where every second frame has been summed (each image accumulates the number of frames), for probes=3 three images where every third image has been summed (each image accumulates the number of frames).
The returned images will always have 32 bit dynamic range, while the dynamic range if the detector defines the bit depth of the counters in rder to limit the readout time, if necessary.
The probes counter waorks also in trigger and gating modes.

Figure 1.3: Auto timing: the detection time is defined by the exposure time and the period by period (if longer than exposure time plus readout time). The total number of images is frames (in the example 3) times cycles (in the example 2), and in this case there is no difference between the acquisition of the two.
\includegraphics[width=\textwidth]{images/normal_acquisition.eps}

Figure 1.4: Gating mode: the detector acquires for a number of gates define by the user (in this case 4) before being read out, independently on the timing of the gates. The detector remains insensitive during the readout time and then starts being active again. External gates given during the readout time are ignored. The total number of images is frames (in the example 3) times cycles (in the example 2), and in this case there is no difference between the acquisition of the two. The polarity of the external gate signal can be defined by the user through the external signal flag (in the example active high).
\includegraphics[width=\textwidth]{images/gated_acquisition.eps}

Figure 1.5: Trigger mode: the external trigger signal defines the start of the beginning of the acquisition, which starts after the delay set by the user. For each trigger, the number of frames is acquired (in the example 3) and all trigger signals ignored. The number of trigger accepted is given by the number of cycles (in the example 2). The polarity of the external trigger signal can be defined by the user through the external signal flag (in the example rising edge).
\includegraphics[width=\textwidth]{images/trigger_acquisition.eps}

Figure 1.6: Read Out Trigger mode: the external trigger signal defines the beginning of the readout. The exposure time works as a time out for the waiting time for the trigger signal. The number of trigger accepted is given by the number of cycles (in the example 3) and it does not make sense to program more than one frame. The polarity of the external trigger signal can be defined by the user through the external signal flag (in the example rising edge).
\includegraphics[width=\textwidth]{images/ro_trigger_acquisition.eps}


next up previous contents
Next: How can several controllers Up: SLS Detectors Software Previous: Which is the sequence   Contents
Thattil Dhanya 2019-04-08