diff --git a/tangostationcontrol/tangostationcontrol/devices/recv.py b/tangostationcontrol/tangostationcontrol/devices/recv.py index 3ebd84fe3f68b9945d26fd34b8d298dc4d4d5568..a8d83568c048272e670611966208e0e72adcd524 100644 --- a/tangostationcontrol/tangostationcontrol/devices/recv.py +++ b/tangostationcontrol/tangostationcontrol/devices/recv.py @@ -249,7 +249,7 @@ class RECV(opcua_device): """ Disable the RECV hardware. """ # Save actual mask values - RCU_mask = self.RCU_mask_RW + RCU_mask = self.proxy.RCU_mask_RW # Set the mask to all Trues self.RCU_mask_RW = [True] * 32 # Turn off the RCUs diff --git a/tangostationcontrol/tangostationcontrol/devices/sdp/sdp.py b/tangostationcontrol/tangostationcontrol/devices/sdp/sdp.py index d8c151751e2fd266b537aff90613085ace269897..9b8bd1458b79056cded5d2f3e7a37374437fad8c 100644 --- a/tangostationcontrol/tangostationcontrol/devices/sdp/sdp.py +++ b/tangostationcontrol/tangostationcontrol/devices/sdp/sdp.py @@ -286,13 +286,12 @@ class SDP(opcua_device): def _disable_hardware(self): """ Disable the SDP hardware. """ - # Save actual mask values - TR_fpga_mask = self.TR_fpga_mask_RW + TR_fpga_mask = self.proxy.TR_fpga_mask_RW # Set the mask to all Trues self.TR_fpga_mask_RW = [True] * 16 # Boot the boot image firmware - self.proxy.FPGA_boot_image_RW = [0] * self.N_pn + self.FPGA_boot_image_RW = [0] * self.N_pn # Restore the mask self.TR_fpga_mask_RW = TR_fpga_mask diff --git a/tangostationcontrol/tangostationcontrol/devices/unb2.py b/tangostationcontrol/tangostationcontrol/devices/unb2.py index f6f20c529e9df4d0e1a0f549b0169816e3ade03b..4e754df77e0d4b3749683b520f689cbeb9d0c971 100644 --- a/tangostationcontrol/tangostationcontrol/devices/unb2.py +++ b/tangostationcontrol/tangostationcontrol/devices/unb2.py @@ -211,7 +211,7 @@ class UNB2(opcua_device): """ Disable the UNB2 hardware. """ # Save actual mask values - UNB2_mask = self.UNB2_mask_RW + UNB2_mask = self.proxy.UNB2_mask_RW # Set the mask to all Trues self.UNB2_mask_RW = [True] * 2 # Turn off the uniboards