Closed prjemian closed 3 years ago
Pointed to example from 2BM-B (tomography) where that detector was configured for external triggering (by hardware pulses from the motor stage).
The ophyd part of this work is to configure the detector's stage_sigs
dictionary with the settings for external triggering. Here is the code (on the detector device, not the cam module):
pg3_det.cam.stage_sigs["gain"] = 0
pg3_det.cam.stage_sigs["auto_exposure_on_off"] = "Off"
pg3_det.cam.stage_sigs["auto_exposure_auto_mode"] = "Manual"
pg3_det.cam.stage_sigs["shutter_auto_mode"] = "Manual"
pg3_det.cam.stage_sigs["gain_auto_mode"] = "Manual"
pg3_det.cam.stage_sigs["trigger_mode_on_off"] = "Off"
pg3_det.cam.stage_sigs["trigger_mode_auto_mode"] = "Manual"
pg3_det.cam.stage_sigs["trigger_delay_on_off"] = "Off"
pg3_det.cam.stage_sigs["frame_rate_on_off"] = "Off"
pg3_det.cam.stage_sigs["frame_rate_auto_mode"] = "Manual"
Hard to make an example notebook for this since the details are always specific to the implementation and external hardware is required.
Request on MS Teams: