[Top][All Lists]

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

[Discuss-gnuradio] Message source, UHD sink transmit problem

From: Rob Rhinehart
Subject: [Discuss-gnuradio] Message source, UHD sink transmit problem
Date: Fri, 14 Sep 2012 14:33:55 -0700

I'm using a gr.message_source block to send packets to a uhd usrp sink.

My test setup is essentially:

msgq = gr.msg_queue()
msg_src = gr.message_source(1, msgq)

while True:
   payload = "something"
   msg = gr.message_from_string(payload)

I was worried about using an infinite loop but it seems to work fine for tunnel.py

I know the messages are properly removed from the queue and modulated (as self.msgq.count() returns 0) but the USRP doesn't actually transmit them until I kill the flow graph. How can I ensure the USRP transmits the data as it's removed from the message queue?


reply via email to

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