Skip to content

Commit

Permalink
introductory changes
Browse files Browse the repository at this point in the history
  • Loading branch information
co2e14 committed Nov 14, 2024
1 parent ad6cc0d commit 3c0b54a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/dodal/devices/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,19 @@ def __init__(
name: str,
prefix: str,
) -> None:
self.barcode = epics_signal_r(str, prefix + "BARCODE")
# self.barcode = epics_signal_r(str, prefix + "BARCODE")
self.gonio_pin_sensor = epics_signal_r(PinMounted, prefix + "PIN_MOUNTED")

self.next_pin = epics_signal_rw_rbv(float, prefix + "NEXT_PIN")
self.next_puck = epics_signal_rw_rbv(float, prefix + "NEXT_PUCK")
self.current_puck = epics_signal_r(float, prefix + "CURRENT_PUCK_RBV")
self.current_pin = epics_signal_r(float, prefix + "CURRENT_PIN_RBV")

self.next_sample_id = epics_signal_rw_rbv(int, prefix + "NEXT_ID")
self.sample_id = epics_signal_r(int, prefix + "CURRENT_ID_RBV")
# self.next_sample_id = epics_signal_rw_rbv(int, prefix + "NEXT_ID")
# self.sample_id = epics_signal_r(int, prefix + "CURRENT_ID_RBV")

self.load = epics_signal_x(prefix + "LOAD.PROC")
self.reset = epics_signal_x(prefix + "RESET.PROC")
self.program_running = epics_signal_r(bool, prefix + "PROGRAM_RUNNING")
self.program_name = epics_signal_r(str, prefix + "PROGRAM_NAME")
self.error_str = epics_signal_r(str, prefix + "PRG_ERR_MSG")
Expand Down

0 comments on commit 3c0b54a

Please sign in to comment.