Skip to content

Commit

Permalink
Create CAENelsBimorphChannel with signals
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-fernandes committed Feb 1, 2024
1 parent 29abd29 commit 25a7fc7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/dodal/devices/bimorph_mirrors/CAENels_bimorph_channel.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from ophyd import Component, Device, EpicsSignal, EpicsSignalRO, Movable, Readable

class CAENelsBimorphChannel(Device, Movable, Readable):
"""A class representing a single bimorph mirror channel.
Attributes:
voltage_target
shift
voltage_out
voltage_out_readback_value
status
"""
voltage_target: EpicsSignal = Component(EpicsSignal, "VTRGT")
voltage_target_readback_value: EpicsSignalRO
shift: EpicsSignal = Component(EpicsSignal, "SHIFT")
voltage_out: EpicsSignal = Component(EpicsSignal, "VOUT")
voltage_out_readback_value: EpicsSignalRO = Component(EpicsSignalRO, "VOUT_RBV")
status: EpicsSignalRO = Component(EpicsSignalRO, "STATUS")

0 comments on commit 25a7fc7

Please sign in to comment.