[Discuss-gnuradio] Command terminated by signal 11

2014-03-25 Thread Sumedha Goyal
Hello I am running my code in Python using Gnuradio and USRPs. The program is supposed to work continuously till an interrupt is given. The code works well for 10-15 iterations and then terminates stating "command terminated by signal 11". What could be the possible reason behind it. I tried to go

Re: [Discuss-gnuradio] looping with work() function

2014-03-24 Thread Sumedha Goyal
Hi Activecat The description that you have given matches quite closely to my requirements. Kindly send me the sample code. I will try it out with my setup. >We need to set_max_noutput_items() to a small value, so that the block >response fast enough to the ACK signal. >This block should continuou

Re: [Discuss-gnuradio] looping with work() function

2014-03-12 Thread Sumedha Goyal
> > Hi Activecat, > This is true that I am trying to accomplish the same task that you have mentioned . But the difference is: 1. I pass a threshold value to my "test_demo" block from the "top_block"(Example: top_block(options, 0.4)). A random number is generated inside the "test_demo" block and c

Re: [Discuss-gnuradio] looping with work() function

2014-03-11 Thread Sumedha Goyal
iterations? I hope it explains everything. On Mar 11, 2014 7:28 PM, "Activecat" wrote: > Dear Sumedha Goyal, > > > The "test_demo" checks for a "start sign"(given by the user) and > > participates in data transmission process and upon receiving an ACK

[Discuss-gnuradio] how to limit the size of buffer/queue for a block?

2014-03-11 Thread Sumedha Goyal
Hello The flowgraph of my top_block has test_demo as one of the blocks. The work() function associated with it has only one print statement. When I execute the flowgraph, the statement keeps on printing the statement " I AM IN WORK" on the screen. Why does it happen? My flowgraph is : File source-

Re: [Discuss-gnuradio] looping with work() function

2014-03-11 Thread Sumedha Goyal
n". Therefore, I need my flowgraph to execute several times. I hope this description explains my intention. I am not very familiar with scheduler. How can I use the scheduler to do this? On Tue, Mar 11, 2014 at 3:12 PM, Activecat wrote: > On Tue, Mar 11, 2014 at 5:04 PM, Martin Braun wr

[Discuss-gnuradio] looping with work() function

2014-03-10 Thread Sumedha Goyal
Hello I am executing a flowgraph where I pass different parameters to the work() function of my block in every iteration. 1. I would like my flowgraph to execute once with a certain set of parameters and on satisfying a certain condition, it should stop execution (even if the queue/buffer of the

[Discuss-gnuradio] Using both antennas of USRP as Receivers

2014-03-04 Thread Sumedha Goyal
Is it possible to use both the antennas of USRP as receive antennas? For example TX/RX should work on frequency f1 as a receive antenna and RX2 should work on frequency f2 as another receive antenna. Also, USRP should be able to collect data from both the antennas simultaneously. How can I approach

Re: [Discuss-gnuradio] Fwd: problem with top_block.stop()

2013-12-18 Thread Sumedha Goyal
i) Could you help me in sorting this out? Regards, Sumedha On Wed, Dec 18, 2013 at 10:23 PM, Tom Rondeau wrote: > On Wed, Dec 18, 2013 at 11:29 AM, Sumedha Goyal > wrote: > > Hi Tom, > > > > I have removed tb.wait(). Now the sequence is > > > > tb=top_bl

Re: [Discuss-gnuradio] Fwd: problem with top_block.stop()

2013-12-18 Thread Sumedha Goyal
control back to main loop. Regards, Sumedha On Wed, Dec 18, 2013 at 8:43 PM, Tom Rondeau wrote: > On Wed, Dec 18, 2013 at 1:39 AM, Sumedha Goyal > wrote: > > > > > > -- Forwarded message -- > > From: Sumedha Goyal > > Date: Wed, Dec 18, 2013 a

[Discuss-gnuradio] Fwd: problem with top_block.stop()

2013-12-17 Thread Sumedha Goyal
-- Forwarded message -- From: Sumedha Goyal Date: Wed, Dec 18, 2013 at 12:04 PM Subject: Re: [Discuss-gnuradio] problem with top_block.stop() To: Tom Rondeau Hi Following is my gdb backtrace output. Could this be of any help? What should I look for in this backtrace to locate

[Discuss-gnuradio] Fwd: problem with top_block.stop()

2013-12-17 Thread Sumedha Goyal
-- Forwarded message -- From: Sumedha Goyal Date: Wed, Dec 18, 2013 at 10:50 AM Subject: Re: [Discuss-gnuradio] problem with top_block.stop() To: Tom Rondeau Hi My flowgraph does not stop naturally. I want to stop and start it again using different value for a parameter as

[Discuss-gnuradio] problem with top_block.stop()

2013-12-17 Thread Sumedha Goyal
I am trying to pass two different parameters to my top_block class I m not able to do this please help. The control of program gets stuck at tb.stop() and doesn't go beyond that. tb=top_block(options,0.8) tb.start() tb.wait() tb.stop() sleep(5) print "I AM BACK" tb1=top_block(options,0.4) tb1.star

[Discuss-gnuradio] How to collect the complex data of a dpsk modulator in a text file

2013-11-11 Thread Sumedha Goyal
I am experimenting with the one of the flowgraph examples "uhd_tx_dpsk.grc". I am able to see the complex number output in WX GUI NUMBER SINK block but I want to collect this output in a text file. If I use a "FILE SINK" block, it shows some symbols but nothing in the form of x+jy. Kindly suggest s

Re: [Discuss-gnuradio] How to detect collision when two packets are transmitted simultaneously from two transmitters.

2013-11-11 Thread Sumedha Goyal
from > collisions. You could read the "Zig-Zag decoding" paper by Shyamnath > Gollakota and Dina Katabi from SIGCOMM 2008. > > > http://groups.csail.mit.edu/netmit/wordpress/wp-content/themes/netmit/papers/ZigZag.pdf > > Aditya > > > > On Fri, Nov

[Discuss-gnuradio] How to detect collision when two packets are transmitted simultaneously from two transmitters.

2013-11-08 Thread Sumedha Goyal
I have a setup of one receiver and two transmitters. I am implementing a TDMA structure (using USRPs and GNURADIO) where only one packet is sent in each slot. When both transmitters try to transmit in the same slot, collision occurs. I would like to know 1. How can the receiver detect whether a col