BCDA-APS / apstools

various tools for use with Bluesky at the APS
https://bcda-aps.github.io/apstools/latest/
Other
16 stars 9 forks source link

TetrAMM triggering #1023

Open prjemian opened 1 week ago

prjemian commented 1 week ago

As a beam-position monitor, the TetrAMM should be operated in continuous mode. The trigger mode should make sure the detector ACQUIRE button is pressed and then set its status object to DONE. This will allow a subsequent .read() to return the current values.

The default .stage_sigs sets acquire to Done and the mode to Single. Change this to do none of these: .stage_sigs = {}

We found this today while running bp.rel_scan([tetramm] ...) at XPCS. The scans were getting stuck because the tetramm trigger status object never finished.

prjemian commented 1 week ago

Watch the XPCS repo for this incoming change.

qzhang234 commented 1 week ago

This is the scan that was stuck (first image). On second image, between scan point 15 and 16, the time gap is nearly 2 minute

image image

prjemian commented 1 week ago

Two commits on this: