id4_common.devices.softgluezynq_vortex#

SoftGlue Zynq device for histogram-mode Vortex detector triggering.

Module Contents#

class id4_common.devices.softgluezynq_vortex.SGZVortex(*args, reset_sleep_time=0.1, reference_clock=10000000.0, **kwargs)#

Bases: ophyd.Device

SoftGlue Zynq device that sequences histogram-mode Vortex detector acquisitions.

preset_monitor#
buffers#
io#
up_counter_status#
down_counter_pulse#
div_by_n#
gate_sync#
gate_trigger#
and_1#
and_3#
or_1#
dff_2#
dff_3#
histscal#
histdma#
clocks#
clock_freq#
property frequency#

Return the configured detector trigger frequency in Hz.

start_softglue()#

Bluesky plan stub to assert the enable buffer (in1 = ‘1’).

stop_softglue()#

Bluesky plan stub to de-assert the enable buffer (in1 = ‘0’).

reset()#

Bluesky plan stub to pulse the reset buffer and clear the histogram scaler.

stage()#

Stop and reset the SGZ, then subscribe the acquire callback before staging.

unstage()#

Stop, reset the SGZ, and unsubscribe the acquire callback after unstaging.

trigger()#

Assert the enable buffer to start one histogram acquisition and return its status.

default_settings(timeout=10)#

Apply default SGZ Vortex settings (currently a no-op placeholder).