Re: [Discuss-gnuradio] lock and unlock with transmit h_path and receive_path‏

2010-02-17 Thread Veljko Pejovic
Hi Eric, You can find the example here: http://cs.ucsb.edu/~veljko/downloads/tx_ofdm_flex.tar.gz The example (benchmark_ofdm_tx_new.py) changes the number of carriers (from 50, to 100, 150, and so on) after every 300 packets sent. It can use either set_ofdm_parameters or set_ofdm_parameters_high,

Re: [Discuss-gnuradio] lock and unlock with transmit h_path and receive_path‏

2010-02-15 Thread Veljko Pejovic
Update: I moved the reconfiguration one level up, to transmit_path.py and it works for high interpolation values (low bit rate), but still hangs for the low ones. I'm quite puzzled now, it seems that lock() - unlock() gets stuck when there's too much flow going on. cheers, Veljko 2010/2/14 Ve

Re: [Discuss-gnuradio] lock and unlock with transmit h_path and receive_path‏

2010-02-14 Thread Veljko Pejovic
Hi, I have a similar problem in my code. I modified benchmark_tx.py from gnuradio-examples/ofdm and ofdm.py from blks2impl so that I can change the number of active subcarriers on fly. In the packet sending loop of benchmark_tx I periodically do the following: lock the top block (tb.lock()), cal