Continuous scans
Use an encoder or clock reference to trigger acquisition and capture position. Check that each detector frame or spectrum can be paired with the correct scan point.
Explore XRF mapping →BEAMLINE SYNCHRONISATION AND EPICS INTEGRATION
Coordinate triggers, encoder positions and detector exposures so each measurement can be tied to the right position or experimental event. Use PandABox to implement hardware timing alongside your beamline controls.
During a fly scan, the sample keeps moving while the detector integrates. If the trigger, exposure and position record do not line up, a valid measurement can end up at the wrong map coordinate. Experiments that alternate detectors or coordinate a shutter and sample environment face the same problem with more signals in the chain.
Use an encoder or clock reference to trigger acquisition and capture position. Check that each detector frame or spectrum can be paired with the correct scan point.
Explore XRF mapping →Coordinate beam selection and detector exposures. Track which mode was active and where the measurement was made so the two datasets can be related.
Coordinate the shutter, camera and sample-environment equipment. Define the sequence around detector readiness and the available exposure window.
Draw the sequence from the reference signal to detector acquisition and data capture. Separate the signals that control the experiment from the records you will use to verify it.
Use position-based triggers if measurements must follow spatial increments. Use a clock or external trigger if they must follow a time interval or another device. Decide which positions and timestamps to record alongside the data.
List the axes, encoder protocols, detector inputs and outputs, trigger direction, signal levels, pulse widths and expected rates. Identify which devices can indicate that they are ready or actively exposing.
Specify gates and sequences for motion, exposures, shutters and mode changes. Use hardware logic for time-critical triggers. Use the beamline control system to configure, start and monitor the sequence.
Run a reference scan at the intended speed. Compare the triggers sent, frames received and encoder positions recorded. Check alignment in both scan directions where relevant, and agree how to flag missed triggers or incomplete data.
For fast beam-selector scans, DIAD can collect a radiograph followed by a diffraction pattern about every 200 ms under suitable specimen and scattering conditions. PandABox coordinates switching, movement and acquisition so the measurements can be associated with the specimen location.
Read the peer-reviewed DIAD beamline paperThe Harwell research team used PandABox to synchronise a beamline shutter, laser scan and high-speed camera during laser powder bed fusion. In that setup, the X-ray exposure window was limited to about 200 ms to reduce heating of the scintillator while recording the process.

PandABox is an FPGA-based position, acquisition and control system. It processes encoder signals, generates or captures hardware triggers, and applies configurable logic to coordinate equipment during a scan.
Configure it through a browser-based interface and connect it to your beamline control environment. QD documents EPICS and areaDetector integration. Confirm driver, firmware and data-capture requirements for your setup.

| If your workflow needs… | Use PandABox to… | Verify before commissioning |
|---|---|---|
| Acquisition tied to motion | Process supported incremental or absolute encoder signals and generate or capture triggers. | Encoder protocol, scale and direction, and a reliable match between positions and detector records. |
| Coordinated detector and shutter signals | Apply configurable logic and trigger sequencing through compatible hardware I/O. | Signal levels, polarity, pulse width, latency and whether each device is ready at the trigger. |
| Integration with existing controls | Connect hardware timing to workflows orchestrated by the beamline control software. | Driver and firmware versions, run-state feedback and where timing and position data are stored. |
PandABox handles the time-critical hardware operations. EPICS can configure, start and monitor the acquisition as part of the beamline workflow. Confirm how detector data and the timing records will be brought together.
Start from the sampling you need. Position triggers suit measurements at defined spatial increments. Time triggers suit fixed intervals or a sequence referenced to an external event. Capture the associated position or timestamp so you can check the result later.
Review the number of devices, available inputs and outputs, signal interfaces and detector readiness. Define whether they expose together or in sequence and how their records will be matched.
Send a timing diagram or sequence description, the axes and encoders, trigger directions and levels, required precision and rate, detector models, and control environment. Flag which signals or records already exist and where synchronisation breaks down.
Share your timing diagram, detector and motion setup. We can discuss where the timing logic belongs, how to integrate it with your controls and how to check that the acquisition stays aligned.
Review my timing diagram