Hi everyone.

I created a variable in the flowgraph called freq_Tx.

[image: Imágenes integradas 2]

This is assigned as the central freq of the block USRP source and is used
by several blocks to do signal processing.

I need to listen two different frequencies in my application. For example
one minute, 2.4 GHz and other minute 2.5GHz, depending of a specific logic.
How can I, from a block, modify this variable? I mean, something like

set_freq_Tx(new value)

In this moment i'm doing it through a QT GUI RANGE,  but i need to set it
automatically, then I think it must be a variable in the flowgraph, but I
don't know if it can be modified from a block in the flowgraph.

Do you think is it possible?

If yes, may anyone please shares me a reference page or an example.

If not, my other option is to create the variable in my block, send it as
an input to the blocks which use it, and to the USRP as a command. But it
looks longer in time.

Thanks in advance.

Best regards,

Cristian
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to