[Discuss-gnuradio] Data transfer between gnuradio flowgraph and Python
I have a simple gnuradio flowgraph inside a Python script that takes data from a usrp source and does some simple processing with the fft block. The results are written in a file sink. I start the graph using the start() method, let it run for 100 ms, then stop it using the stop() and wait() methods. In the Python script that contains the flowgraph, there is a piece of code that reads data from the file sink and does some processing. I then change the usrp tune frequency and couple of other parameters and repeat the process. The problem is that the file keeps growing and I want to discard all previous data once I set the new parameters. It doesn't matter if I set 'append' to false. The file keeps growing as long as the flowgraph exists. I can terminate the flowgraph every time I want to change the parameters but that's not a convenient option because everything has to be reinitialized inside the usrp including the fpga bitfile. Is there a better way to transfer data between the flowgraph and the top level Python script? I was going to use something like a simple buffer that could be cleared but I couldn't find anything like that in the gnuradio library. Ivan ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] data transfer
when i am trying to transfer data within the laptop , i am able to do it. but i could not achieve the same using usrp. my machine is detecting usrp properly. pls help.. also if i can get a flowgraph for data transfer which includes an routing block i'll be grateful.. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Data transfer through Pre-cog
E-mail me the flow graph you are using -> john.mals...@ettus.com On Sat, Jul 20, 2013 at 1:04 AM, GNU radio wrote: > Hi > I am trying from the past week to use the pre-cog library for data > transfer between two USRP N210 devices. I have tried a number of > configurations by replacing many blocks and modifying the Python code. I > managed to transmit just a single packet and then the transmitter stops > with no error. The spectrum analyzer also shows just a single packet > transfer. > > Can some body guide me on how to use the pre-cog simple trx for data > transfer. > > Regards > > > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Data transfer through Pre-cog
Hi I am trying from the past week to use the pre-cog library for data transfer between two USRP N210 devices. I have tried a number of configurations by replacing many blocks and modifying the Python code. I managed to transmit just a single packet and then the transmitter stops with no error. The spectrum analyzer also shows just a single packet transfer. Can some body guide me on how to use the pre-cog simple trx for data transfer. Regards ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Data transfer using Sound cards
Hi All I am a beginner to the GNU Radio world ...so i apologize ahead if i am taking much of your precious time. I am trying to transfer data between two PCs running Ubuntu9.04 gnuradio 3.2.2 using a wired channel via sound cards.Looking in the mail list archive i found a similar topic but with no replies. My target is to implement an OFDM Transceiver over wired channel using gnuradio (ADSL modem).At this time i managed to send signals through the sound card using NBFM Transmitter but i can't acquire any Rx signal at the destenation PC Line in. I need to know how to deal with sound cards to be able to exchange data between the source and destination. Thanks in advance Ahmed H Fayez _ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio