# Re: questions related to msgq\_insert

**URL:** <https://www.ruby-forum.com/t/re-questions-related-to-msgq-insert/204022>\
**Category:** GNU Radio\
**Created:** [March 3, 2011, 4:48pm UTC](https://www.ruby-forum.com/t/re-questions-related-to-msgq-insert/204022 "2011-03-03T16:48:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 3, 2011, 4:48pm UTC](https://www.ruby-forum.com/t/re-questions-related-to-msgq-insert/204022/1 "2011-03-03T16:48:53Z")

</div>

Really appreciate your reply,Martin. The msg that I need to send is 3315  
byte long, which is the length ofmsg\_13bit and ofmsg\_stop as well. I  
changed the msg\_limit of message\_source to 6630, but this didn’t changed  
the result. I expect to send msg\_13bit once and msg\_stop 50 times, but  
what I got is 10 times msg\_13bit and 500 times msg\_stop. I really  
wondering what the problem here, I only called the msgq\_insert()  
function once, why it sends the msg 10 times? What could be a good  
solution to this problem?

How to decide the parameter, msg\_limit, as it said this parameter  
represents the maximum number of the msg in msgq. I expected to send  
this msg\_13bit as one msg and it takes time for the flow graph to really  
pop the msg to transmit, which explains why I set msg\_limit as 2. Is my  
understanding wrong? How to set this parameter? How can I solve this  
over msg sending problem?

Really appreciate your help!  
Yan
