DAQ: ring current is always non-negative number
Build and Publish / build (push) Successful in 23s

This commit is contained in:
2025-06-18 21:15:59 +02:00
parent 2805ce7bd0
commit 855e2471c3
+1 -1
View File
@@ -227,7 +227,7 @@ class BeamlineDevices:
@property
def ring_current(self) -> float:
return self.__ring_current_pv.value
return max(0.0, self.__ring_current_pv.value)
@property
def cryojet_temp(self) -> float: