Monday, January 27, 2025

Re: Controlling GRC parameters with QT Creater

Dear Muhammad,

you can use ZMQ blocks to send messages to your GR program. Either directly to the message port of USRP sink, or use a "Message Pair to Var" block to update a flowgraph variable. You can read more about these blocks here:


PS: I found that the "Message Pair to Var" block is not very flexible, since it only allows to set one specific variable. I am currently working on a similar block that allows me to change multiple variables based on the message car, so that I can control my flowgraph by sending (variable_name, value) message pairs. Once I got it to work, and if there is interest, I could open a PR.

Best
Philipp

Am 25.1.25 um 8:08 schrieb Muhammad Anas:
Dear GNU Radio Community, 

I'm working on a project to control a USRP channel frequency from QT creater GUI application, is it possible to implement a communication between QT and GRC using xmlrpm or tcp block etc to control the GRC parameters in real-time on the same computer in window.

Kindly help me to achieve this communication.

Regards
Muhammad Anas

No comments:

Post a Comment