From b8ac8f8bb5c2e415fb1f84ed6afc8ab625203894 Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Tue, 18 Mar 2025 14:35:14 +0100 Subject: [PATCH] add the status name to the 'rdlink' message --- secop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secop.py b/secop.py index 00cf609..ce6f92f 100644 --- a/secop.py +++ b/secop.py @@ -35,7 +35,7 @@ class SecopClient: def w_getblock(self, path): path = path.split(',')[-1] # TODO: why this? if path == "main": - components = [dict(type='rdlink', name=name+':value', title=name) + components = [dict(type='rdlink', name=f'{name}:value', statusname=f'{name}:status', title=name) for node in self.instrument.nodes for name in node.modules] self.param_updates = {'value', 'status'} return dict(type='draw', path='main', title='modules', components=components)