fix: use periodic runner for nturns
This commit is contained in:
@@ -8,7 +8,7 @@ from scipy import signal
|
||||
|
||||
from agebd.enums import LogLevel
|
||||
from agebd.pv import PVLink
|
||||
from agebd.runner import CallbackRunner
|
||||
from agebd.runner import PeriodicRunner
|
||||
from agebd.service.base import BaseService
|
||||
from agebd.service.pvs import BasePVs
|
||||
from agebd.utils import get_pv_class, init_logging, printgetversion
|
||||
@@ -119,7 +119,7 @@ def main(
|
||||
service_name = "NTURNS"
|
||||
pvs = PVs(service_name=service_name, pv_factory=PV)
|
||||
service = Service(name=service_name, pvs=pvs)
|
||||
runner = CallbackRunner(service=service)
|
||||
runner = PeriodicRunner(service=service)
|
||||
runner.start()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user