Re: [Discuss-gnuradio] MIMO source - bursts

2010-08-09 Thread Zohair
This seems to be cumbersome :( Anyway, It may be easier to drop packets rather than samples, ,let's say I want to drop 9 packets from each ten and only make use of one! Do you think this is really easier?? Josh Blum-2 wrote: > > If you continually request bursts of 1000 samples, you will get 3

Re: [Discuss-gnuradio] MIMO source - bursts

2010-08-08 Thread Josh Blum
If you continually request bursts of 1000 samples, you will get 3 packets for each burst of the following sizes max_len, max_len, 1000-2*max_len. You can verify this behavior in wireshark or in the examples/rx_timed_samples.cpp So, when you issue a command for 1000 samples: What happens when you

Re: [Discuss-gnuradio] MIMO source - bursts

2010-08-08 Thread Zohair
Eric, Thanks for the note. I have solved the printing issue now. I have modified the work function (MIMO source) I posting below: --- int work( int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items ){ set_streaming(true);

Re: [Discuss-gnuradio] MIMO source - bursts

2010-08-05 Thread Eric Blossom
On Thu, Aug 05, 2010 at 06:09:43AM -0700, Zohair wrote: > > Hi Josh, > > I have tried the code above and used a printing block with the following > work function and vec_len=1 to see the output of one of the MIMO source > output ports: > > int library_print_c::work (int noutput_items, gr_vector_

Re: [Discuss-gnuradio] MIMO source - bursts

2010-08-05 Thread Zohair
Hi Josh, I have tried the code above and used a printing block with the following work function and vec_len=1 to see the output of one of the MIMO source output ports: int library_print_c::work (int noutput_items, gr_vector_const_void_star &input_items,gr_vector_void_star &output_items){

Re: [Discuss-gnuradio] MIMO source - bursts

2010-08-03 Thread Zohair
Yes, I am interested in multiple bursts so Iam using the NUM_SAMP_AND_DONE repeatedly. If I understood what you've said correctly, hte following code may be working. I havent tried it because I'm at home but would be grateful if you tell me what you think of the modified code below. Regards.

Re: [Discuss-gnuradio] MIMO source - bursts

2010-08-03 Thread Josh Blum
On 08/03/2010 08:35 AM, Zohair wrote: Dear All, Have anybody tried that using USRP2 to received bursts of data rather than countinous? I have tried doing this as the the sampling rate is very high and I have a several blocks (that are calculation intensive) in my flow graphs. I am not really

[Discuss-gnuradio] MIMO source - bursts

2010-08-03 Thread Zohair
Dear All, Have anybody tried that using USRP2 to received bursts of data rather than countinous? I have tried doing this as the the sampling rate is very high and I have a several blocks (that are calculation intensive) in my flow graphs. I am not really interested in receiveing all the samples.