epics-bridge 1.0.0__py3-none-any.whl → 1.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- epics_bridge/daemon.py +6 -1
- {epics_bridge-1.0.0.dist-info → epics_bridge-1.0.1.dist-info}/METADATA +2 -4
- {epics_bridge-1.0.0.dist-info → epics_bridge-1.0.1.dist-info}/RECORD +5 -5
- {epics_bridge-1.0.0.dist-info → epics_bridge-1.0.1.dist-info}/WHEEL +0 -0
- {epics_bridge-1.0.0.dist-info → epics_bridge-1.0.1.dist-info}/top_level.txt +0 -0
epics_bridge/daemon.py
CHANGED
|
@@ -263,6 +263,11 @@ class BridgeDaemon(ABC):
|
|
|
263
263
|
else:
|
|
264
264
|
# Main loop is fine, but Network/EPICS layer is failing
|
|
265
265
|
self._stuck_counter += 1
|
|
266
|
+
logger.warning(
|
|
267
|
+
"Heartbeat IO Error. Faults: %d/%d",
|
|
268
|
+
self._stuck_counter,
|
|
269
|
+
self.max_stuck_cycles,
|
|
270
|
+
)
|
|
266
271
|
|
|
267
272
|
else:
|
|
268
273
|
# The Main Loop has not updated its timestamp within 'stall_limit'.
|
|
@@ -300,7 +305,7 @@ class BridgeDaemon(ABC):
|
|
|
300
305
|
def _send_pulse(self, context: Context, value: int) -> bool:
|
|
301
306
|
"""Attempts to write the heartbeat PV. Returns True if successful."""
|
|
302
307
|
try:
|
|
303
|
-
context.put(self.interface.heartbeat, value, wait=True, timeout=
|
|
308
|
+
context.put(self.interface.heartbeat, value, wait=True, timeout=2.0)
|
|
304
309
|
return True
|
|
305
310
|
except Exception as e:
|
|
306
311
|
logger.warning("Heartbeat IO Error: %s", e)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: epics-bridge
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: A generic bridge between EPICS IOCs and Python logic.
|
|
5
5
|
Author-email: Hugo Valim <hugo.valim@ess.eu>
|
|
6
6
|
Requires-Python: >=3.9
|
|
@@ -9,9 +9,7 @@ Requires-Dist: numpy
|
|
|
9
9
|
Requires-Dist: p4p
|
|
10
10
|
|
|
11
11
|
# EPICS Bridge
|
|
12
|
-
|
|
13
|
-

|
|
14
|
-

|
|
12
|
+

|
|
15
13
|

|
|
16
14
|
|
|
17
15
|
**EPICS Bridge** is a high-availability Python framework designed for implementing a robust EPICS-Python interface. It provides a structured environment for bridging external control logic with the EPICS control system, emphasizing synchronous execution, fault tolerance, and strict process monitoring.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
epics_bridge/__init__.py,sha256=nOU5u5m8LjRkq_eH69p2OY7OYZF-FBoJyZC7dBO-MVg,179
|
|
2
2
|
epics_bridge/base_pv_interface.py,sha256=7Q_r2y7ChuFmPKw500CODXnjE2iF7kVbj50VEeLASjg,3022
|
|
3
|
-
epics_bridge/daemon.py,sha256=
|
|
3
|
+
epics_bridge/daemon.py,sha256=7IQ5DlNRg9_hsycW6q5EwimxBrOB93SuwAXG1VUBIcQ,12033
|
|
4
4
|
epics_bridge/daemon_status.py,sha256=Q9BiV96eHPSo82xovOOm5wJlgCa2bSyyc2Ivna58NCA,446
|
|
5
5
|
epics_bridge/io.py,sha256=QOyALzdwM_Yf2JAn1x-M7g_RUcoLZ9fRPGKnei3383s,4550
|
|
6
6
|
epics_bridge/utils.py,sha256=kdHqm-EwTK3M0TcFXS-nJrOl6fJgn0u139E1OCs3Knk,1085
|
|
7
|
-
epics_bridge-1.0.
|
|
8
|
-
epics_bridge-1.0.
|
|
9
|
-
epics_bridge-1.0.
|
|
10
|
-
epics_bridge-1.0.
|
|
7
|
+
epics_bridge-1.0.1.dist-info/METADATA,sha256=U_rNpvriqeyuPHa5owIzS0DH5ruLBzb1RZL14b9PEcI,5515
|
|
8
|
+
epics_bridge-1.0.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
9
|
+
epics_bridge-1.0.1.dist-info/top_level.txt,sha256=Ps28BHqERpyKVNk5Bhk-KVFobpGQNQJ-Q7fqFYc9rvo,13
|
|
10
|
+
epics_bridge-1.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|