Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
Improve logging, make run number optional
Browse files Browse the repository at this point in the history
  • Loading branch information
olliesilvester committed Feb 5, 2024
1 parent b682fc5 commit e357085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/hyperion/device_setup_plans/setup_panda.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,15 @@ def setup_panda_for_flyscan(
panda.inenc[1].setp, initial_x * MM_TO_ENCODER_COUNTS, wait=True # type: ignore
)

LOGGER.info(f"Setting clock to period {time_between_x_steps_ms}")
LOGGER.info(f"Setting PandA clock to period {time_between_x_steps_ms}")

yield from bps.abs_set(panda.clock[1].period, time_between_x_steps_ms, group="panda-config") # type: ignore

yield from bps.abs_set(panda.pulse[1].width, DETECTOR_TRIGGER_WIDTH, group="panda-config")

table = get_seq_table(parameters, time_between_x_steps_ms, exposure_time_s)

LOGGER.info(f"Setting Panda sequencer values: {str(table)}")
LOGGER.info(f"Setting PandA sequencer values: {str(table)}")

yield from bps.abs_set(panda.seq[1].table, table, group="panda-config")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"required": [
"directory",
"prefix",
"run_number",
"use_roi_mode",
"det_dist_to_beam_converter_path"
]
Expand Down

0 comments on commit e357085

Please sign in to comment.