feat: use PV external in tunebump
Deploy / deploy (push) Failing after 5s

This commit is contained in:
Benjamin Labrecque
2026-07-17 12:16:13 +02:00
parent 8c7c12c806
commit fc53df6802
@@ -10,7 +10,7 @@ from OMFacility import Facility
from OMSLS2Magnet import SLS2Magnet
from scipy import signal
from agebd.pv import get_pv_class
from agebd.pv import get_pv_class, get_pv_external_class
from agebd.service.base import BaseService
from agebd.service.pvs import BasePVs
from agebd.utils import printgetversion
@@ -18,6 +18,7 @@ from agebd.utils import printgetversion
__version__ = printgetversion(__file__)
PV = get_pv_class()
PV_EXTERNAL = get_pv_external_class()
class PVs(BasePVs):
@@ -272,7 +273,7 @@ class PVs(BasePVs):
}
for key in quads:
quads[key].append(PV(key + ":I-SET.VAL"))
quads[key].append(PV_EXTERNAL(key + ":I-SET.VAL"))
def __init__(self, service_name: str, pv_factory=PV):
super().__init__(service_name, pv_factory)