Good evening everybody! Regarding this: "...PS: I found that the "Message Pair to Var" block is not very flexible, since it only allows to set one specific variable...."
Actually a variable can also be a dictionary: simply creates a dictionary in which tag/value pairs refer to other variables. In a mine (never finished) project I'm using this to transfer several settings (TX_freq, RX_freq, various gains, PTT) between a remote RF head (Pluto+ and amplifiers) and a local CONTROL unit, over ZMQ sockets with very good results I hope it can be helpful... Vittorio, I3VFJ fingerprint: fb5f492a54e016c632c933d3ee4b7e38203c79ca Inviato con l'email sicura [Proton Mail](https://proton.me/mail/home). lunedì 27 gennaio 2025 09:16, Philipp Niedermayer <p.niederma...@gsi.de> ha scritto: > 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: > > - https://wiki.gnuradio.org/index.php/Understanding_ZMQ_Blocks > - https://wiki.gnuradio.org/index.php/Message_Pair_to_Var > > 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