From 60dad2bb3e85a3a78b75e03537f8dcf1412c96b5 Mon Sep 17 00:00:00 2001 From: Emanuele Laface <emanuele.laface@gmail.com> Date: Mon, 1 Mar 2021 16:53:49 +0100 Subject: [PATCH] replace epics.PV with epics.get_pv --- PythonServer/pos-python-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PythonServer/pos-python-server.py b/PythonServer/pos-python-server.py index 8fecb89..e640b59 100755 --- a/PythonServer/pos-python-server.py +++ b/PythonServer/pos-python-server.py @@ -32,7 +32,7 @@ async def get_pv(pvlist: str): pvnames = pvlist.split(",") pvs = [] for pvname in pvnames: - pvs.append(epics.PV(pvname, auto_monitor=True)) + pvs.append(epics.get_pv(pvname)) time.sleep(1) result = {} -- GitLab