discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] how can I proceed if no message is received?


From: Jie Liu
Subject: [Discuss-gnuradio] how can I proceed if no message is received?
Date: Wed, 5 Jan 2011 03:19:12 +0800 (CST)

In GRC, I defined a message queue like below:
        self.msg_q = gr.msg_queue()

It waits for the USRP transmitter, and read the message received in the USRP receiver in the local machine, using the code like below:

        m = tb.msg_q.delete_head()

But if there is no message sent. It seems that the program halts and waits for the message to be sent. How can I let the program continue to run from here?

Best






reply via email to

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