mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2026-11-28 03:58:07 +01:00
w
This commit is contained in:
1 parent
232840d464
commit
d7c596d856
1 file changed
+2
-2
@@ -71,8 +71,8 @@ class _VirtualSlitSignal(ABC, Signal):
|
||||
raise ConnectionError(
|
||||
f"Positioners must be set for device {self.root.name} to setup WidthSignal."
|
||||
)
|
||||
connected_low = self._positioner_low.wait_for_connection(timeout=timeout)
|
||||
connected_high = self._positioner_high.wait_for_connection(timeout=timeout)
|
||||
connected_low = self._positioner_low.connected
|
||||
connected_high = self._positioner_high.connected
|
||||
if connected_low and connected_high:
|
||||
self._metadata["connected"] = True
|
||||
raise ConnectionError(
|
||||
|
||||
Reference in new issue
Block a user