On Mon, Dec 29, 2008 at 03:48:15AM -0600, Mir Ali wrote:
> 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


gr.file_source(gr.sizeof_char, "/path/to/my/file")



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to