# Flow graph with high complexity operations

**URL:** <https://www.ruby-forum.com/t/flow-graph-with-high-complexity-operations/238796>\
**Category:** GNU Radio\
**Created:** [January 29, 2014, 12:31pm UTC](https://www.ruby-forum.com/t/flow-graph-with-high-complexity-operations/238796 "2014-01-29T12:31:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [January 29, 2014, 12:31pm UTC](https://www.ruby-forum.com/t/flow-graph-with-high-complexity-operations/238796/1 "2014-01-29T12:31:54Z")

</div>

Hi all,

I’ve created a simple flow graph with three components. The first one  
generates K \* L number of values (it is a loop), it passes them to the  
next one where I do some operations on them.  
I want it to run just once and then stop it. Therefore In The first  
component I add  
: boost::this\_thread::sleep(boost::posix\_time::milliseconds(50));  
and in the last one ‘exit’ function.

The problem is that it runs only for a limited number of K\*L. When I  
increase K or L, it does not run at all. Lets say, I set K to 100 and L  
to 2, then It runs only for 62 numbers not for all of them.

I do not know what can cause it. Can you help me?

---

<div class="post-metadata">

**Author:** ![nesazeri](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e19adc/32.png) [@nesazeri](https://www.ruby-forum.com/u/nesazeri)\
**Post date:** [January 29, 2014, 12:55pm UTC](https://www.ruby-forum.com/t/flow-graph-with-high-complexity-operations/238796/2 "2014-01-29T12:55:21Z")

</div>

On 29.01.2014 12:30, Nasi wrote:

> The problem is that it runs only for a limited number of K\*L. When I  
> increase K or L, it does not run at all. Lets say, I set K to 100 and L  
> to 2, then It runs only for 62 numbers not for all of them.
> 
> I do not know what can cause it. Can you help me?

Nasi,

you’ll need to provide more than this. Code would be best for explaining  
what you’re trying to do.

MB

---

<div class="post-metadata">

**Author:** ![nesazeri](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e19adc/32.png) [@nesazeri](https://www.ruby-forum.com/u/nesazeri)\
**Post date:** [January 29, 2014, 6:12pm UTC](https://www.ruby-forum.com/t/flow-graph-with-high-complexity-operations/238796/3 "2014-01-29T18:12:07Z")

</div>

Hi Martin,

Thanks!

Ok, I attach three files here. I hope you get from the code what is  
going on there.  
ofdm\_dictionary\_3.cc is the middle components code. After processing  
inside that I pass data into ofdm\_dictionary\_2.cc

Again, it works for smaller number of int delay\_min, int delay\_max, int  
Fd\_min, int Fd\_max variables.

Среда, 29 января 2014, 12:53 +01:00 от Martin B.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
