Skip to content

Rework the tomoconfig default chains

Valentin Valls requested to merge slow-default-chain into master

This PR is intent to solve timeout on slow scans with some Lima detectors.

This fix have to be applied by configuration in each beamlines and detectors.

  • tomoconfig can be setup with 2 new chain settings:
    • default_slow_single_chain and default_slow_accumulation_chain
    • This chains are only used for slow runners: return_ref, mesh and tiling for now
    • If a detector is not defined in this chains, the default one are anyway used
  • Runners was reworked to property setup and cleanup DEFAULT_CHAIN

Example of setup

- name: HRTOMO_ext_chain
  plugin: default
  chain_config:
    - device: $pcolinux
      acquisition_settings:
        acq_trigger_mode: EXTERNAL_TRIGGER_MULTI
      master: $musst

- name: HRTOMO_ext_chain_acc
  plugin: default
  chain_config:
    - device: $pcolinux
      acquisition_settings:
        acq_trigger_mode: EXTERNAL_TRIGGER_MULTI
        acq_mode: ACCUMULATION
      master: $musst_acc 

- name: HRTOMO_int_chain
  plugin: default
  chain_config:
    - device: $pcolinux
      acquisition_settings:
        acq_trigger_mode: INTERNAL_TRIGGER
        acq_mode: SINGLE

- name: HRTOMO_int_chain_acc
  plugin: default
  chain_config:
    - device: $pcolinux
      acquisition_settings:
        acq_trigger_mode: INTERNAL_TRIGGER
        acq_mode: ACCUMULATION


- name: hrtomo_config
  plugin: bliss
  class: TomoConfig
  package: tomo.tomoconfig
  
  default_single_chain: $HRTOMO_ext_chain
  default_accumulation_chain: $HRTOMO_ext_chain_acc
  default_slow_single_chain: $HRTOMO_int_chain
  default_slow_accumulation_chain: $HRTOMO_int_chain_acc
Edited by Valentin Valls

Merge request reports

Loading