discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Problem with messages and msg_queue


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Problem with messages and msg_queue
Date: Thu, 10 May 2007 06:33:23 -0700
User-agent: Mutt/1.5.9i

On Thu, May 10, 2007 at 10:24:04AM +0200, Trond Danielsen wrote:
> 
> Ok, I read from pkt.py that to finish a packet, I just append
> gr.message(1) at the tail of the message queue, but is there a simple
> way to do this if I just want to send packet of fixed size, where the
> payload comes from a flow graph?

Hi Trond,

The gr.message(1) isn't to end a packet, it's to tell the scheduler
that there's no more data coming.

I'm not exactly sure I'm following what you are trying to do.
However, I think that if you follow through the logic in
gnuradio-examples/python/digital/tunnel.py you'll see a way to send
and receive packets (fixed or variable length) between python and the
flow graph.

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]