# How to put things out of a block

**URL:** <https://www.ruby-forum.com/t/how-to-put-things-out-of-a-block/234635>\
**Category:** GNU Radio\
**Created:** [March 18, 2015, 8:49pm UTC](https://www.ruby-forum.com/t/how-to-put-things-out-of-a-block/234635 "2015-03-18T20:49:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [March 18, 2015, 8:49pm UTC](https://www.ruby-forum.com/t/how-to-put-things-out-of-a-block/234635/1 "2015-03-18T20:49:04Z")

</div>

Hi all,

In GNURadio we had ControlPort capability which is now disabled based on  
some (unknown to me) reasons. ControlPort gave us a sort of control over  
flowgraph such as setting or getting different parameters from different  
blocks.

So I have seriously a problem with accessing a parameter within a block  
from “main” during runtime. Specially I’m speaking in C++ jargon so I  
expect there is a kind of mechanism to put things out of a block (to  
main)  
just like ControlPort.

Anyway, if someone knows how it’s possible without using ControlPort,  
he/she will solve an old problem for me!

Best regards,  
Mostafa
