# How can I set mux for two daughterboards(rfx 400 and rfx 2400) receiving simultaneously?

**URL:** <https://www.ruby-forum.com/t/how-can-i-set-mux-for-two-daughterboards-rfx-400-and-rfx-2400-receiving-simultaneously/162361>\
**Category:** GNU Radio\
**Created:** [March 9, 2009, 8:24am UTC](https://www.ruby-forum.com/t/how-can-i-set-mux-for-two-daughterboards-rfx-400-and-rfx-2400-receiving-simultaneously/162361 "2009-03-09T08:24:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ling\_H](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/b9bd4f/32.png) [@Ling\_H](https://www.ruby-forum.com/u/Ling_H)\
**Post date:** [March 9, 2009, 8:24am UTC](https://www.ruby-forum.com/t/how-can-i-set-mux-for-two-daughterboards-rfx-400-and-rfx-2400-receiving-simultaneously/162361/1 "2009-03-09T08:24:55Z")

</div>

I set:  
usrp.source(nchan=2)  
set.mux(0x32103210)  
di=gr.deinterleave(gr.sizeof\_gr\_complex)  
self.connect( self.u, di )  
self.connect( (di,0), self.chan0\_filt, self.packet\_receiver0 )  
self.connect( (di,1), self.chan1\_filt, self.packet\_receiver1 )

## The self.packet\_receiver0 and self.packet\_receiver1 separately call two functions. But the two functions do not been called. What wrong did I make? Did I set the wrong mux? The daughterboards are rfx 400 and rfx 2400.

View this message in context:  
[http://www.nabble.com/How-can-I-set-mux-for-two-daughterboards(rfx-400-and-rfx-2400)-receiving-simultaneously--tp22408001p22408001.html](http://www.nabble.com/How-can-I-set-mux-for-two-daughterboards%28rfx-400-and-rfx-2400%29-receiving-simultaneously--tp22408001p22408001.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Ling\_H](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/b9bd4f/32.png) [@Ling\_H](https://www.ruby-forum.com/u/Ling_H)\
**Post date:** [March 9, 2009, 4:54pm UTC](https://www.ruby-forum.com/t/how-can-i-set-mux-for-two-daughterboards-rfx-400-and-rfx-2400-receiving-simultaneously/162361/2 "2009-03-09T16:54:35Z")

</div>

On Mon, Mar 09, 2009 at 12:22:50AM -0700, Ling H. wrote:

> functions.  
> But the two functions do not been called. What wrong did I make? Did I set  
> the wrong mux? The daughterboards are rfx 400 and rfx 2400.

This appears to be the right mux setting.

With regard to whether or not your self.packet\_receiver0 and 1 blocks  
are calling some other function, I can’t really help. I assume that  
their work methods are getting called. You can confirm this by adding  
a printf.

Eric

---

<div class="post-metadata">

**Author:** ![Ling\_H](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/b9bd4f/32.png) [@Ling\_H](https://www.ruby-forum.com/u/Ling_H)\
**Post date:** [March 10, 2009, 2:23am UTC](https://www.ruby-forum.com/t/how-can-i-set-mux-for-two-daughterboards-rfx-400-and-rfx-2400-receiving-simultaneously/162361/3 "2009-03-10T02:23:47Z")

</div>

\<This appears to be the right mux setting.  
\<  
\<With regard to whether or not your self.packet\_receiver0 and 1 blocks  
\<are calling some other function, I can’t really help. I assume that  
\<their work methods are getting called. You can confirm this by adding

–  
View this message in context:  
[http://www.nabble.com/How-can-I-set-mux-for-two-daughterboards(rfx-400-and-rfx-2400)-receiving-simultaneously--tp22408001p22426239.html](http://www.nabble.com/How-can-I-set-mux-for-two-daughterboards%28rfx-400-and-rfx-2400%29-receiving-simultaneously--tp22408001p22426239.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Ling\_H](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/b9bd4f/32.png) [@Ling\_H](https://www.ruby-forum.com/u/Ling_H)\
**Post date:** [March 31, 2009, 11:55am UTC](https://www.ruby-forum.com/t/how-can-i-set-mux-for-two-daughterboards-rfx-400-and-rfx-2400-receiving-simultaneously/162361/4 "2009-03-31T11:55:53Z")

</div>

Hi Eric,  
The mux should be 0x2301, but not 0x3210.  
It now works fine.

Eric B. wrote:

> > 
> 
> their work methods are getting called. You can confirm this by adding

–  
View this message in context:  
[http://www.nabble.com/How-can-I-set-mux-for-two-daughterboards(rfx-400-and-rfx-2400)-receiving-simultaneously--tp22408001p22801830.html](http://www.nabble.com/How-can-I-set-mux-for-two-daughterboards%28rfx-400-and-rfx-2400%29-receiving-simultaneously--tp22408001p22801830.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Ling\_H](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/b9bd4f/32.png) [@Ling\_H](https://www.ruby-forum.com/u/Ling_H)\
**Post date:** [May 12, 2009, 1:52am UTC](https://www.ruby-forum.com/t/how-can-i-set-mux-for-two-daughterboards-rfx-400-and-rfx-2400-receiving-simultaneously/162361/5 "2009-05-12T01:52:33Z")

</div>

Ling H. wrote:

> set.mux(0x32103210)

Dude, how do you calculate the Mux value you need?

For instance what’s the maths behind calculating the mux for two RFX2400  
daughterboards?

---

<div class="post-metadata">

**Author:** ![Ling\_H](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/b9bd4f/32.png) [@Ling\_H](https://www.ruby-forum.com/u/Ling_H)\
**Post date:** [May 12, 2009, 4:23am UTC](https://www.ruby-forum.com/t/how-can-i-set-mux-for-two-daughterboards-rfx-400-and-rfx-2400-receiving-simultaneously/162361/6 "2009-05-12T04:23:57Z")

</div>

Hi, I just try many times ☹  
finaly I use a tool from a old version of grc called usrp probe, It gave  
the  
mux value of each daughterboard, so I just mix the two values.  
I think the mux value for two rfx2400 should also be 0x2301

Bruhtesfa E.-2 wrote:

> * * *
> 
> Discuss-gnuradio mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](http://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

–  
View this message in context:  
[http://www.nabble.com/How-can-I-set-mux-for-two-daughterboards(rfx-400-and-rfx-2400)-receiving-simultaneously--tp22408001p23495038.html](http://www.nabble.com/How-can-I-set-mux-for-two-daughterboards%28rfx-400-and-rfx-2400%29-receiving-simultaneously--tp22408001p23495038.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).
