From ad1bbe74ad14d6cca52fe5757406ef30b1be7a67 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 6 Mar 2022 17:04:03 -0500 Subject: [PATCH] Manually trigger graphics loops updates on msgs from the fsp chain --- piker/ui/_fsp.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/piker/ui/_fsp.py b/piker/ui/_fsp.py index d56cc2d5..d1076981 100644 --- a/piker/ui/_fsp.py +++ b/piker/ui/_fsp.py @@ -437,7 +437,13 @@ class FspAdmin: started.set() + from ._display import trigger_update + # wait for graceful shutdown signal + async with stream.subscribe() as stream: + async for msg in stream: + trigger_update() + await complete.wait() async def start_engine_task(