On Wed, 6 Apr 2005, cswiger wrote: > Trying > > pipe_fd = open("/pipe","r") > gr.file_descriptor_source(gr.sizeof_char,pipe_fd.fileno()) > > starts out but as soon as I start the source to fill the pipe > I get: > > file_descriptor_source[read]: Bad file descriptor >
Ok, turns out you have to use import os source_fd = os.open("/pipe", os.O_RDONLY) src = gr.file_descriptor_source(gr.sizeof_char,source_fd) low level io. --Chuck _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio