discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] How can I read byte by byte from a file and send it t


From: Mir Ali
Subject: [Discuss-gnuradio] How can I read byte by byte from a file and send it to input stream of a block.
Date: Mon, 29 Dec 2008 03:48:15 -0600

Hi,
I want to read a byte from a file and send it to an input stream. Each time I read one byte from the file i want to send it onto the input stream of a particular block and then read the next byte and do the same. I looked at gr.message_source() which does similar work to what I need. But I see that when we use gr.message_from_string(databyte) and then do msgq().insert_tail(msg) we add some more information to the data byte. I just want to send the particular byte read onto the stream. How can I do this?

Thanks
Ali
reply via email to

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