# Stream data from two DBSRX's on USRP1 with uhd\_rx\_cfile?

**URL:** <https://www.ruby-forum.com/t/stream-data-from-two-dbsrxs-on-usrp1-with-uhd-rx-cfile/221859>\
**Category:** GNU Radio\
**Created:** [August 2, 2012, 10:57am UTC](https://www.ruby-forum.com/t/stream-data-from-two-dbsrxs-on-usrp1-with-uhd-rx-cfile/221859 "2012-08-02T10:57:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 2, 2012, 10:57am UTC](https://www.ruby-forum.com/t/stream-data-from-two-dbsrxs-on-usrp1-with-uhd-rx-cfile/221859/1 "2012-08-02T10:57:27Z")

</div>

Hi,

I have a USRP1 with two DBSRX2 daughterboards installed. I want to  
stream  
the signals from both boards to file. I haven’t been able to specify  
both  
boards using uhd\_rx\_cfile. I’ve tried a few combinations to specify both  
boards using something like --spec=“A:0,B:0” to no avail. It should be  
possible to do this, right? Any suggestions?

Regards,  
Randall.

---

<div class="post-metadata">

**Author:** ![Randall\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/67e7ee/32.png) [@Randall\_W](https://www.ruby-forum.com/u/Randall_W)\
**Post date:** [August 2, 2012, 11:12am UTC](https://www.ruby-forum.com/t/stream-data-from-two-dbsrxs-on-usrp1-with-uhd-rx-cfile/221859/2 "2012-08-02T11:12:04Z")

</div>

On Thu, Aug 02, 2012 at 04:56:22PM +0800, Randall W. wrote:

> I have a USRP1 with two DBSRX2 daughterboards installed. I want to stream the  
> signals from both boards to file. I haven’t been able to specify both boards  
> using uhd\_rx\_cfile. I’ve tried a few combinations to specify both boards using  
> something like --spec=“A:0,B:0” to no avail. It should be possible to do this,  
> right? Any suggestions?

uhd\_rx\_cfile doesn’t support this (it’s really just a convenience tool).  
I suggest using GRC to create a double receiver.

MB

–  
Karlsruhe Institute of Technology (KIT)  
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.  
Research Associate

Kaiserstraße 12  
Building 05.01  
76131 Karlsruhe

Phone: +49 721 608-43790  
Fax: +49 721 608-46071  
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and  
National Laboratory of the Helmholtz Association

---

<div class="post-metadata">

**Author:** ![Randall\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/67e7ee/32.png) [@Randall\_W](https://www.ruby-forum.com/u/Randall_W)\
**Post date:** [August 2, 2012, 11:13am UTC](https://www.ruby-forum.com/t/stream-data-from-two-dbsrxs-on-usrp1-with-uhd-rx-cfile/221859/3 "2012-08-02T11:13:14Z")

</div>

On Thu, Aug 02, 2012 at 11:10:51AM +0200, Martin B. (CEL) wrote:

> On Thu, Aug 02, 2012 at 04:56:22PM +0800, Randall W. wrote:
> 
> > I have a USRP1 with two DBSRX2 daughterboards installed. I want to stream the  
> > signals from both boards to file. I haven’t been able to specify both boards  
> > using uhd\_rx\_cfile. I’ve tried a few combinations to specify both boards using  
> > something like --spec=“A:0,B:0” to no avail. It should be possible to do this,  
> > right? Any suggestions?
> 
> uhd\_rx\_cfile doesn’t support this (it’s really just a convenience tool).  
> I suggest using GRC to create a double receiver.

Or (haven’t tried this) you can call uhd\_rx\_cfile twice?

M

–  
Karlsruhe Institute of Technology (KIT)  
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.  
Research Associate

Kaiserstraße 12  
Building 05.01  
76131 Karlsruhe

Phone: +49 721 608-43790  
Fax: +49 721 608-46071  
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and  
National Laboratory of the Helmholtz Association

---

<div class="post-metadata">

**Author:** ![Randall\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/67e7ee/32.png) [@Randall\_W](https://www.ruby-forum.com/u/Randall_W)\
**Post date:** [August 2, 2012, 3:02pm UTC](https://www.ruby-forum.com/t/stream-data-from-two-dbsrxs-on-usrp1-with-uhd-rx-cfile/221859/4 "2012-08-02T15:02:18Z")

</div>

Hi,  
Previous versions of gnuradio had  
one “multi\_file.py” example which dumps data from two basic\_rx daughter  
boards. You can get that one and change the driver to uhd.

Easier method is the one that Martin mentioned, use GRC and fill “Subdev  
Spec” with your spec.

-Sreeraj

* * *

From: Randall W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: removed\_email\_address@domain.invalid  
Sent: Thursday, 2 August 2012 2:26 PM  
Subject: [Discuss-gnuradio] stream data from two DBSRX’s on USRP1 with  
uhd\_rx\_cfile?

Hi,

I have a USRP1 with two DBSRX2 daughterboards installed. I want to  
stream the signals from both boards to file. I haven’t been able to  
specify both boards using uhd\_rx\_cfile. I’ve tried a few combinations to  
specify both boards using something like --spec=“A:0,B:0” to no avail.  
It should be possible to do this, right? Any suggestions?

Regards,  
Randall.
