diff --git a/csaxs_bec/devices/epics/mcs_card/mcs_card_csaxs.py b/csaxs_bec/devices/epics/mcs_card/mcs_card_csaxs.py index c78a535..3854946 100644 --- a/csaxs_bec/devices/epics/mcs_card/mcs_card_csaxs.py +++ b/csaxs_bec/devices/epics/mcs_card/mcs_card_csaxs.py @@ -404,14 +404,14 @@ class MCSCardCSAXS(PSIDeviceBase, MCSCard): self.count_on_start.set(0).wait(timeout=self._pv_timeout) # Set ReadMode to PASSIVE, card will wait for external trigger to be read - # Use - self.read_mode.set(READMODE.EVENT).wait(timeout=self._pv_timeout) + self.read_mode.set(READMODE.PASSIVE).wait(timeout=self._pv_timeout) # Set the acquire mode self.acquire_mode.set(ACQUIREMODE.MCS).wait(timeout=self._pv_timeout) # Subscribe the progress signal self.current_channel.subscribe(self._progress_update, run=False) + self.erase_all.put(1) # Reset the MCS card, may run # Subscribe to the mca updates for sig in self.counters.component_names: @@ -489,7 +489,7 @@ class MCSCardCSAXS(PSIDeviceBase, MCSCard): self.num_use_all.set(triggers).wait(timeout=self._pv_timeout) # # NOTE : This sends out values from mca channels... - self.erase_all.put(1) # Reset the MCS card + # self.erase_all.put(1) # Reset the MCS card # Reset data self._received_updates.clear()