Skip to content

Commit

Permalink
DiamondLightSource/hyperion#1068 only set plugin in view if using MXSC
Browse files Browse the repository at this point in the history
  • Loading branch information
dperl-dls committed Mar 5, 2024
1 parent ddbae16 commit 8c0be97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hyperion/device_setup_plans/setup_oav.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ def pre_centring_setup_oav(
)

# Connect MXSC output to MJPG input for debugging
yield from set_using_group(oav.snapshot.input_plugin, "OAV.MXSC")
if isinstance(pin_tip_detection_device, MXSC):
yield from set_using_group(oav.snapshot.input_plugin, "OAV.MXSC")

yield from bps.wait(oav_group)

Expand Down

0 comments on commit 8c0be97

Please sign in to comment.