Re: [Discuss-gnuradio] test with message_source

2007-02-22 Thread Anastasopoulos Achilleas
Dan, thanks for the info you provided; it was ver helpful! I think I got the basic understanding of the message_source/sink. I wrote my first toy code based on this: The Tx queues 100 packets and the Rx waits until it receives everything (broken into different number of packets) The Rx does

Re: [Discuss-gnuradio] test with message_source

2007-02-22 Thread Dan Halperin
Anastasopoulos Achilleas wrote: What I don't know how to do is to enqueue a message every time I press a button. Can someone point to the right direction as to how this event driven behavior is implemented. Look in the gnuradio-examples/python/digital/tunnel.py and subfiles. transmit_path.py

[Discuss-gnuradio] test with message_source

2007-02-22 Thread Anastasopoulos Achilleas
Hi, I am trying to understand how the message source works and how I can use it from within my python code. So I wrote a simple script with a message source and a null sink. I wanted the following behavior: every time I press a button on my keybord to send a constant message in the queue and ver