Re: [Discuss-gnuradio] Usage of Message Queues

2013-02-27 Thread Hanz
Thank you again for your answer. I looked up the Header File of gr_message and it should have the msg() attribute. But when I tried to access, it gave me the error that this attribute isnt existing. Anyway, I now figured out a way which is enough for me: I converted the returned string to a list

Re: [Discuss-gnuradio] Usage of Message Queues

2013-02-23 Thread Hanz
Thank you much for your answer. Indeed, its a shared pointer. I now figured out, the the only way to get the data is via .to_string(). Though, im stuck again. I use the following code to initialize the queue and message sink: self.sink_queue = gr.msg_queue()

Re: [Discuss-gnuradio] Usage of Message Queues

2013-02-23 Thread Martin Lülf
Am 23.02.2013 17:09, schrieb Hanz: Thank you much for your answer. Indeed, its a shared pointer. I now figured out, the the only way to get the data is via .to_string(). So my thought was, that all the messages then should contain one byte (with one bit information). At the end, my code

Re: [Discuss-gnuradio] Usage of Message Queues

2013-02-07 Thread Martin Lülf
Im sorry that im pushing my question, but its still unsolved for me and need it for my project.. So again, my message queue is filling, i checked that via tb.sink_queue.count(), but if i want to transfer pop a message, it just returns me that message_sptr thing. Can someone help me on that?

Re: [Discuss-gnuradio] Usage of Message Queues

2013-02-06 Thread Hanz
Im sorry that im pushing my question, but its still unsolved for me and need it for my project.. So again, my message queue is filling, i checked that via tb.sink_queue.count(), but if i want to transfer pop a message, it just returns me that message_sptr thing. Can someone help me on that? I

[Discuss-gnuradio] Usage of Message Queues

2013-01-30 Thread Hanz
Hello! I have another question, this time about message queues. I have a demodulator hooked up to message sink. But when I want to pop a message via tb.sink_queue.delete_head(), its just returning that to me: gnuradio.gr.gnuradio_core_runtime.gr_message_sptr; proxy of lt;Swig Object of type