Wednesday, July 3, 2024

Run a python script interactively from GNU Radio

Hello Elmore - The normal route to control variables in a running GNU Radio script is via the XMLRPC Server.

It is usually run like this,

* Start GNU Radio (which includes a XMLRPC server block)

* Start the standalone Python script that connects to the XMLRPC Server opened in the GNU Radio Flow.

Then the standalone Python script can control the running GNU Radio flow graphs,

* The server provides access to the run, start, stop, wait functions of the flow graph.

* The server also provides access to the variable callbacks in the flow graph. Ex: If the variable is called freq, the function provided by the server will be called set_freq(new_freq).

documentation page:   https://wiki.gnuradio.org/index.php/XMLRPC_Server


Hope This Helps - Steve Hageman
  

No comments:

Post a Comment