From 97fa29ee4efb75ad1fd82f351269e36ae8d05c81 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Mon, 11 Aug 2025 11:18:33 +0200 Subject: [PATCH] Update tests/ioc_plugin.py --- tests/ioc_plugin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/ioc_plugin.py b/tests/ioc_plugin.py index 6c01aaa38..f24ebec6c 100644 --- a/tests/ioc_plugin.py +++ b/tests/ioc_plugin.py @@ -50,13 +50,15 @@ def _start_shared_ioc(prefix: str): for mid in MOTOR_IDS: for suf in _motor_suffixes(): to_host[f"SIM:{mid}.{suf}"] = float + to_host[f"SIM:{mid}.RTYP"] = str mor.host(**to_host) _shared["hosted"].update(to_host.keys()) # Backing state state = {k: 0.0 for k in to_host.keys()} for mid in MOTOR_IDS: - state[f"SIM:{mid}.DMOV"] = 1.0 # “done” + state[f"SIM:{mid}.DMOV"] = 1.0 + state[f"SIM:{mid}.RTYP"] = "motor" def loop(): while not _shared["stop"].is_set():