Runtime Updating Variables: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:


[[File:SearchQTGUIRange.png|700px]]
[[File:SearchQTGUIRange.png|700px]]
Drag and drop the ''QT GUI Range'' block into the workspace:
[[File:DragDropQTGUIRange.png|600px]]
The ''QT GUI Range'' acts similarly to a variable block. The default parameters for the ''QT GUI Range'' need to be set. Double-click on it





Revision as of 16:06, 4 January 2022

This section will describe how to update variables while a flowgraph is running using QT GUI Widgets. Please review the previous tutorial, Variables in Flowgraphs, for an introduction to variables.

QT GUI Range

The GNU Radio block library comes with a handful of QT GUI widgets which allow a user to interact and change a flowgraph while it is running. The QT GUI Range creates a slider bar that can be used to update a variable.

Search for range in the block library:

SearchQTGUIRange.png


Drag and drop the QT GUI Range block into the workspace:

DragDropQTGUIRange.png


The QT GUI Range acts similarly to a variable block. The default parameters for the QT GUI Range need to be set. Double-click on it


TODO: using other QT blocks