Questions regarding USRP N200 streaming

I am working on a USRP project. I am using a USRP N200 with a BasicRX
daughter board to perform data streaming. I am using GRC on a
Ubuntu 12.04 machine. The USRP N200 is set to have a decimation factor
of 8
to achieve a streaming rate of 12.5 MSPS, the daughter board is set to
to perform single channel real sampling. The I Q data wire format is set
be 16 integer each, and the host data format is set to be complex float
The settings above are also in the attachments. For analyzing data, I am
using Matlab R2013b on Windows 7. My question is: when I am streaming
for about 10 seconds, I am getting a file around 500,000,000 bytes which
reasonable ((16 bits/sample I+16 bits/sample Q)*(10 seconds)12.5
bytes/bits)=500 Mbytes), but when I use read_complex_binary.m provided
GNUradio to read the file in Matlab, I am only getting half of the
samples (~62,500,000 samples) instead of 125,000,000 samples. Could
please explain why this is happening? Doesn’t 16 bits I and 16 bits Q
format give me 32 bits per sample? Any help would be appreciated.

Hi Marcus,

Thank you for your explanation. It is clear to me now.


On 09/16/2014 04:57 PM, Nicholas Hu wrote:

getting a file around 500,000,000 bytes which is reasonable ((16
Discuss-gnuradio mailing list
[email protected]
Nick, I think I answered this at [email protected] last night.

But, you’re flowing complex-floats into your file-sink. That’s 64-bits
per sample (32-I 32-Q). The wire-format and CPU format a different

A UHD source will translate to complex-float, because that’s the
“natural” format within Gnu Radio flow-graphs, but you can also ask it
to use
complex-int16 on the “host format” side, if you’re just saving to a

the best of newest movies for free and unlimited onliine watching check
this website :

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs