|
From: | address@hidden |
Subject: | Re: [Discuss-gnuradio] [USRP-users] changing variable value during runtime |
Date: | Tue, 1 Jul 2014 14:10:32 -0400 |
Hi Berkyuim,
I think you mixed up the GNU Radio discuss and the usrp-users mailing list; I've included the GNU Radio list in my reply, so follow up to that[1]
There is something called function probes in GNU Radio, and it kind of does what you want, if you want to periodically poll the value of some function.
However, what you more likely want to do is actually implement some application logic, and that is usually the point where you start writing your own blocks in python or C++.
With best regards,
Marcus Müller
[1] if you haven't, sign up at https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
On 30.06.2014 22:46, berkyuim--- via USRP-users wrote:
Hello, I would like to know how to be able to change the value of a variable during run time after running gnuradio companion (or the python code generated from the gnuradio companion). For example, Let us say we have UHD source with center frequency of X Hz, and depending on the sum of magnitude square of the IQ samples in a given period, if the sum is greater than a threshold, change the frequency to Y Hz, elseleave it at X Hz. Thank you
_______________________________________________ USRP-users mailing list address@hidden http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
_______________________________________________
USRP-users mailing list
address@hidden
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
[Prev in Thread] | Current Thread | [Next in Thread] |