From cc7aa4dec72b8061a60be635ad5dbf0910645525 Mon Sep 17 00:00:00 2001 From: appleb_m Date: Fri, 22 May 2026 18:06:36 +0200 Subject: [PATCH] jfjoch: cancel measurement on daq startuop --- src/aare/devices/jfjoch.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/aare/devices/jfjoch.py b/src/aare/devices/jfjoch.py index e36919f7..1176521b 100644 --- a/src/aare/devices/jfjoch.py +++ b/src/aare/devices/jfjoch.py @@ -30,6 +30,9 @@ class JFJochWrapper: self.__client = jfjoch_client.ApiClient(jfjoch_client.Configuration(host=self.__url)) self.__api = jfjoch_client.DefaultApi(self.__client) + self.cancel() + # if not self.is_idle(): + # self.initialize() @staticmethod def _extract_status_code(error: Exception) -> int | None: