|
From: | Derek Kozel |
Subject: | Re: [Discuss-gnuradio] Enable/Disable Processing on QT Tab Page Selection |
Date: | Tue, 14 Feb 2017 13:37:20 -0800 |
Hi All,
I have prepared a GRC Flowgraph with several tab pages using the QT Tab Widget. Each tab page has different displays such as spectrograms, waterfalls etc.
Behind these tab screens I have separate processing blocks running to generate the data to display, all in parallel.
I am wondering if there is a neat way to only enable processing blocks when the corresponding tab is active ?
My first attempt at this was to use a number of throttle blocks located in different signal paths associated for each tab, and dynamically set the sample rate to 0 when the tab is not active to disable data flow – but this module seems to cause the entire flowgraph to stop.
My next approach is to generate an OOT Module to enable/disable data flow unless anyone knows of a neater way ?
Is it possible to detect what tab is selected from within GRC ?
Any comments much appreciated.
Nigel
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |