discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] pipes


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] pipes
Date: Tue, 4 Jul 2006 06:54:52 -0700
User-agent: Mutt/1.5.9i

On Tue, Jul 04, 2006 at 06:44:55AM +0000, paul munro wrote:
> Is there a way of sending the data from the USRP to another application 
> using pipes?? I only know the basics of pipes, and need to look into it 
> more. I was going to try using TCP but thought pipes maybe easier. Also, 
> labview (the app i am sending it to) expects data over the TCP port to be 
> in string format, which is another headache I'm not really prepared to 
> tackle.
> My main issue is whether pipes can be done in using the available GNURadio 
> libraries. I am guessing it maybe achieved using the 
> gr_file_descriptor_sink(), but I'm not sure how to write to the pipe using 
> this.
> 
> Any ideas??
> Regards Paul

Hi Paul, you can use pipes or TCP.  I suggest TCP, it's really no
problem.  In both cases, open the pipe / socket in python, then use
the foo.fileno() method to get the file descriptor.  Use the file
descriptor with gr.file_descriptor_sink

Eric




reply via email to

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