# "Run To Completion" does not work

**URL:** <https://www.ruby-forum.com/t/run-to-completion-does-not-work/241445>\
**Category:** GNU Radio\
**Created:** [April 7, 2015, 3:04pm UTC](https://www.ruby-forum.com/t/run-to-completion-does-not-work/241445 "2015-04-07T15:04:17Z")\
**Posts on this page:** 2\
**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:** [April 7, 2015, 3:04pm UTC](https://www.ruby-forum.com/t/run-to-completion-does-not-work/241445/1 "2015-04-07T15:04:17Z")

</div>

For the schematic “tst\_terminate1.grc” attached the script does not  
terminate after writing the desired number of samples. Consequently I  
have to stop it applying “^c”.

N.b. If I replace “PSK Mod” by “GMSK Mod”, then the script terminates as  
expected.

Thx for any hints

stefs

---

<div class="post-metadata">

**Author:** ![stefans](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9d8465/32.png) [@stefans](https://www.ruby-forum.com/u/stefans)\
**Post date:** [May 6, 2015, 11:21am UTC](https://www.ruby-forum.com/t/run-to-completion-does-not-work/241445/2 "2015-05-06T11:21:51Z")

</div>

dear GR community,

this is just another try to get some idea about why this GR flowgraph  
fails on me. I have attached a screenshot of the flowgraph, where it can  
be seen, that only original GR component blocks are used. if I run this  
flowgraph a file of the expected size (“Head”) is written, but the py  
script  
does not terminate after that

exchanging the “PSK Mod” block by the “GMSK Modulator” block is  
sufficient to get a script that runs - as expected - incl. termination

any idea anybody, what is going wrong here?

thx stefs
