We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff3d806 commit c6694edCopy full SHA for c6694ed
forwarder/update_handlers/ca_update_handler.py
@@ -58,7 +58,12 @@ def __init__(
58
(self._pv,) = context.get_pvs(
59
pv_name, connection_state_callback=self._connection_state_callback
60
)
61
+
62
+ # This is needed for the case when the PV doesn't exist before it has been added
63
+ # ie. if a gateway has not yet been configured.
64
+ # None means no timeout - it will eventually connect.
65
self._pv.timeout = None
66
67
# Subscribe with "data_type='time'" to get timestamp and alarm fields
68
sub = self._pv.subscribe(data_type="time")
69
sub.add_callback(self._monitor_callback)
0 commit comments