discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] How can i make usrp_rx-cfile.py to store the data


From: Martin Braun
Subject: Re: [Discuss-gnuradio] How can i make usrp_rx-cfile.py to store the data in queue datastructure and another python file reading it,.
Date: Fri, 30 Jul 2010 09:31:10 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Jul 29, 2010 at 06:41:02PM +0530, Anil Sharma wrote:
> Hi everyone,
>  I have  a query , hope someone help me in this.I want usrp_rx_cfile to 
> capture
> data and store the captured date in some queue datastructure and 
> simultaneously
> another python file reads the queue in realtime .Will it be possible and if so
> how can i do so without any crashing of my another python file .Hoping for a
> guidance from someone.

I don't know if this'll work without any modifications to
usrp_rx_cfile.py, but of course you can simply use a named pipe as file.
Your other process could read this file in the same manner.
Note that you must kind of sync the process initialisations, since named
pipes won't return from an 'open()' call until the other end was opened,
too.

MB

-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-3790
Fax: +49 721 608-6071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

Attachment: pgpI_iQ9AMsF9.pgp
Description: PGP signature


reply via email to

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