# OFDM Carrier allocator

**URL:** <https://www.ruby-forum.com/t/ofdm-carrier-allocator/239393>\
**Category:** GNU Radio\
**Created:** [February 24, 2014, 6:18pm UTC](https://www.ruby-forum.com/t/ofdm-carrier-allocator/239393 "2014-02-24T18:18:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [February 24, 2014, 6:18pm UTC](https://www.ruby-forum.com/t/ofdm-carrier-allocator/239393/1 "2014-02-24T18:18:08Z")

</div>

Hi there,

I am trying to implement an OFDM transceiver, based on the existing GNU  
Radio OFDM blocks, for a cognitive communication system.  
How can I update the “occupied\_carriers” mapping (turn on/off carriers)  
while the flow-graph is running (in the carrier allocator and other  
occupied\_carriers dependent blocks)?

regards,

Germano

---

<div class="post-metadata">

**Author:** ![Germano](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/9fc29f/32.png) [@Germano](https://www.ruby-forum.com/u/Germano)\
**Post date:** [February 24, 2014, 7:02pm UTC](https://www.ruby-forum.com/t/ofdm-carrier-allocator/239393/2 "2014-02-24T19:02:52Z")

</div>

On 02/24/2014 06:16 PM, Germano wrote:

> Hi there,
> 
> I am trying to implement an OFDM transceiver, based on the existing GNU  
> Radio OFDM blocks, for a cognitive communication system.  
> How can I update the “occupied\_carriers” mapping (turn on/off carriers)  
> while the flow-graph is running (in the carrier allocator and other  
> occupied\_carriers dependent blocks)?

With the stock behaviour, it’s not possible. If you want to change the  
block, I recommend passing the new carrier allocation as a tag, check  
for that at the beginning of work() and re-populate the corresponding  
attributes.

M
