use setvalue instead of readback for reading the units (it seems readback has become very slow to connect)

This commit is contained in:
2026-01-07 17:18:41 +01:00
parent 4cae7f25c7
commit 4e4ca0cd94
+1 -1
View File
@@ -39,7 +39,7 @@ class DoubleCrystalMonoEnergy(Adjustable):
pv_moving = PV(pvname_moving)
pv_stop = PV(pvname_stop)
units = pv_readback.units
units = pv_setvalue.units
super().__init__(ID, name=name, units=units)
self.pvnames = SimpleNamespace(