How to get the message content from gr.message_queue?

Hi All
I want to ask regarding gr.msg_queue:
How to get the message content from gr.msg_quueue
Suppose I sent send packet (float A) what will I receive?
Thanks a lot

ARIEF MARWANTO

Electrical Engineering
Universiti Teknologi Malaysia
Skudai 81310 Johor Bahru Malaysia

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/23/2010 03:53 PM, Arief Marwanto wrote:

How to get the message content from gr.msg_quueue
Suppose I sent send packet (float A) what will I receive?

Supposing you want to do packet based transmissions, you might want to
have a look at the:

gnuradio-examples/python/digital directory.

If you actually want to use msg_queues from the python domain for
something else you’ll want to create some kind of watcher thread.
Have a closer look at e.g.:

gnuradio-core/src/python/gnuradio/blks2impl/pkt.py

to see how it’s done.

Happy hacking,

Moritz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJNE2zhAAoJEOjnDXL6I0uZst0P/2ZllvuGifc1uLgW9p9gyCeC
h7Yxack3Cu3x+SvfmhFPYupssp5UHobkGrDP6DGA2ptEQQuksRBguIdZBnfxP484
uNnQWrPZthia0fr/K8fvUXCNtX3/hnWEJfWsrTG22xH5RPCAeRO3GmzCi0vwepRE
cImLOenRAyL69eEuhoQ51FAsgYSNBirhKpbSVpdyBOl/x+RiO1MmGFIuWbIE7hJQ
EuvJu5Ke0FV1onGoYa3YjAVzK1WeT3b1m6W+chQgLn4sHa/CpT1YAuY8HhpIhK4S
FMTA7EevROJHg7SFwCink/3vWhSX2NnRHqPgPptq12na/D2mwRm4xMKF5/3WaQCd
EG6MnBq/Cpn0JMouKkgJuw6t+OsY3OV6HyH4L1lRn5zZe689kTJwMfVD6g177Odg
M+0kRBBKJjyhVxrDbYIYqn4XE3QOgoq/3VtNr090O9rF0h14jivY/tot8IHx9kM5
p8JgbBQCZjsnRfQJ32WT30ilmAJNzR90vMZvRpmH0d3tHrEbMIjEcgkI9igB4dKM
YKLykMWNgIfxtRNj0hFFJ4cbo1FOg0YfQe8mIrp1OTklATq1AT1z8L3uSI25J4vs
VICubH5QxoyLFCw9g9QuBRTKBxbgSS/gdwCZp2w3SOb6Q7GHAU/k0B/2nVf2QX7U
odf+7aiGYk+x7GJydQpg
=HN0M
-----END PGP SIGNATURE-----