Re: [Discuss-gnuradio] File Sink Output Size Problem

2016-09-08 Thread Pavan Yedavalli
That makes complete sense. Thanks for the suggestion! On Thu, Sep 8, 2016 at 8:27 PM, Kevin Reid wrote: > On Thu, Sep 8, 2016 at 7:08 PM, Pavan Yedavalli > wrote: > >> Maybe the Head block is a good option - it looks like I should put that >> in between the complex_to_mag and the file_sink bloc

Re: [Discuss-gnuradio] File Sink Output Size Problem

2016-09-08 Thread Kevin Reid
On Thu, Sep 8, 2016 at 7:08 PM, Pavan Yedavalli wrote: > Maybe the Head block is a good option - it looks like I should put that in > between the complex_to_mag and the file_sink blocks, right? > You can put it anywhere as long as you understand how much data is flowing through that point and ad

Re: [Discuss-gnuradio] File Sink Output Size Problem

2016-09-08 Thread Pavan Yedavalli
Hi Kevin, Thanks for getting back to me. I guess that makes sense. The only thing I was planning to use was the scipy.fromfile() function, in hopes that it would read out the binary data into a 1024-point vector, but I guess that was the wrong assumption. Maybe the Head block is a good option - i

Re: [Discuss-gnuradio] File Sink Output Size Problem

2016-09-08 Thread Kevin Reid
On Thu, Sep 8, 2016 at 6:34 PM, Pavan Yedavalli wrote: > My current flowgraph consists of a signal source (cosine) -> > stream_to_vector of size 1024 -> forward FFT of size 1024 -> complex_to_mag > of size 1024 -> file sink of size 1024 (unbuffered OFF and append set to > overwrite). > > After I

Re: [Discuss-gnuradio] File Sink Output Size Problem

2016-09-08 Thread Marcus D. Leech
On 09/08/2016 09:34 PM, Pavan Yedavalli wrote: Hi, This is probably a very simple question, but I have an issue when I am using the file sink. My current flowgraph consists of a signal source (cosine) -> stream_to_vector of size 1024 -> forward FFT of size 1024 -> complex_to_mag of size 1024

[Discuss-gnuradio] File Sink Output Size Problem

2016-09-08 Thread Pavan Yedavalli
Hi, This is probably a very simple question, but I have an issue when I am using the file sink. My current flowgraph consists of a signal source (cosine) -> stream_to_vector of size 1024 -> forward FFT of size 1024 -> complex_to_mag of size 1024 -> file sink of size 1024 (unbuffered OFF and append

Re: [Discuss-gnuradio] Two USRP B210s with Octoclock-G (Samith Abeywickrama)

2016-09-08 Thread Samith Abeywickrama
Thank you very much Luca. I understood it very well. On Thu, Sep 8, 2016 at 2:16 AM, Luca Pascale wrote: > Hi Samith, > I suppose as noise source you can use something like > http://www.noisecom.com/products/components/nc520-low- > voltage-surface-mount-noise-source-200-khz-to-5-ghz > or similar

Re: [Discuss-gnuradio] Asking USRP to tag

2016-09-08 Thread Usman Haider
Thanks, that is what I was looking for. I'll try it soon. -- Usman On Thu, Sep 8, 2016 at 10:39 PM, Nathan West-GR wrote: > There's some terminology that was ambiguous and/or wrong in the initial > email, and the command to do this is not well known and still fairly new. > > See http://gnuradi

Re: [Discuss-gnuradio] Asking USRP to tag

2016-09-08 Thread Nathan West-GR
There's some terminology that was ambiguous and/or wrong in the initial email, and the command to do this is not well known and still fairly new. See http://gnuradio.org/doc/doxygen/page_uhd.html#uhd_command_syntax and https://github.com/gnuradio/gnuradio/blob/master/gr-uhd/lib/usrp_source_impl.cc

Re: [Discuss-gnuradio] Asking USRP to tag

2016-09-08 Thread Marcus Müller
Hi Usman, what information do you want these tags to contain? Generally, this is not how the USRP source is supposed to work; tags are only added on certain events. Best regards, Marcus On 09/08/2016 07:30 PM, Usman Haider wrote: > Hi Marcus, > > Sorry for being not clear. USRP source add tag

Re: [Discuss-gnuradio] Asking USRP to tag

2016-09-08 Thread Usman Haider
Hi Marcus, Sorry for being not clear. USRP source add tags on the first sample when the flowgraph starts. What can I do if I want USRP source to add tags again on any sample while the flowgraph is running? I read somewhere that there is a command for this but I do not remember. I am using N210 and

[Discuss-gnuradio] Full Duplex operation, time synchronization and self interference cancellation

2016-09-08 Thread Pranav Padalkar
Hello all, I am trying to design a full duplex operation on my USRP3. I have to use OFDM and a defined TDMA scheme for different OFDM symbols. I also have to use a preamble, but it has to be sent once every TDMA frame. I have designed a block which takes care of my TDMA and preamble implementa