discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] how to achieve change values of parameters at ru


From: Sheshanandan KN
Subject: Re: [Discuss-gnuradio] how to achieve change values of parameters at runtime
Date: Sun, 14 Jun 2009 12:19:56 +0530

Thanks Eric... I will be more specific about the problem.... here it is...

I am trying to combine the spectrum sense and ODFM Tx code together
using multi flow graph concept. I idea is to sense the spectrum for
occupancy and if free, use that frequency for OFDM transmission. So
far I have achieved the connection between spectrum sense flow graph
and the OFDM Tx flow graph. I am taking both the spectrum sense
parameters and OFDM Tx parameters together at the time of
initialization.
The code is working fine performing the spectrum sense and ofdm
transmission. But the frequency at which the OFDM transmission is
happening is not at the frequency sensed to be free. Instead it is
happening at the initialized frequency (--tx-freq parameter). I want
this parameter to be changed at runtime. I have given following piece
of code for the same:

class my_top_block(gr.top_block)


tx = my_top_block()


On Fri, Jun 12, 2009 at 9:58 PM, Eric Blossom<address@hidden> wrote:
> On Thu, Jun 11, 2009 at 01:44:24PM +0530, Sheshanandan KN wrote:
>> hi all,
>> could anyone please let me know how to change the value of a parameter
>> already initialized to a different value at runtime?
>>
>> I guess usage of lock() and unlock() will work. But not sure how to go
>> about this?
>>
>
> You're not being very specific, which makes it hard for anybody to be
> of assistance to you.
>
> Please see http://gnuradio.org/trac/wiki/ReportingErrors and try again.
>
> Eric
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]