malcolm.modules.ADEthercat.blocks¶
-
malcolm.modules.ADEthercat.blocks.ethercat_driver_block(mri, prefix)¶ Hardware block corresponding to PVs used for ADEthercat driver
Parameters:
-
malcolm.modules.ADEthercat.blocks.ethercat_continuous_runnable_block(mri_prefix, pv_prefix, config_dir, label='EtherCAT Continuous', plugin_pv_suffix='', gated_trigger='False')¶ Device block corresponding to ADEthercat + reframe + pos + hdf writer. Used for continuous writing of EtherCAT data during a scan.
- Camera driver should have pv prefix $(pv_prefix):DRV
- Reframe should have pv prefix $(pv_prefix)$(plugin_pv_suffix):REFR
- Pos plugin should have pv prefix $(pv_prefix)$(plugin_pv_suffix):POS
- HDF plugin should have pv prefix $(pv_prefix)$(plugin_pv_suffix):HDF5
Parameters: - mri_prefix (str) – Malcolm resource id of the Block and prefix for children
- pv_prefix (str) – PV prefix for driver
- config_dir (str) – Where to store saved configs
- label (str) – Beamline specific label for the detector
- plugin_pv_suffix (str) – PV suffix for plugins
- gated_trigger (str) – Whether we send a gated signal to the reframe plugin
-
malcolm.modules.ADEthercat.blocks.ethercat_hardware_runnable_block(mri_prefix, pv_prefix, config_dir, label='EtherCAT Hardware triggered', plugin_pv_suffix='', gated_trigger='False')¶ Device block corresponding to ADEthercat + reframe + pos + hdf writer. Used for acquiring hardware-triggered EtherCAT data during a scan.
- Camera driver should have pv prefix $(pv_prefix):DRV
- Reframe should have pv prefix $(pv_prefix)$(plugin_pv_suffix):REFR
- Pos plugin should have pv prefix $(pv_prefix)$(plugin_pv_suffix):POS
- HDF plugin should have pv prefix $(pv_prefix)$(plugin_pv_suffix):HDF5
Parameters: - mri_prefix (str) – Malcolm resource id of the Block and prefix for children
- pv_prefix (str) – PV prefix for driver
- config_dir (str) – Where to store saved configs
- label (str) – Beamline specific label for the detector
- plugin_pv_suffix (str) – PV suffix for plugins
- gated_trigger (str) – Whether we send a gated signal to the reframe plugin