How can i make usrp_rx-cfile.py to store the data in queue datastructure and another python file rea

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.

Thanks
regards,
Anil ph

On Thu, Jul 29, 2010 at 06:41:02PM +0530, Anil S. 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 B.
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