Dear Ettus Team,

I have a question about the channel mapping with rfnoc api.


With multi_usrp class I can set several subdev like:

    set_rx_subdev_spec("A:0 B:0", 0);
    set_rx_subdev_spec("A:0", 1);
then I have channel 0 (A:0 of motherboard 0), channel 1 (B:0 of mb 0) and 
channel 2 (A:0 of mb1). Then I can use usrp->set_rate(rate, channel) to set 
different channel rate. And I can set for the streamer:
    stream_args.channels  = {0, 1, 2}

However with rfnoc api, if I want to use set_rate(rate, channel), I have to 
create an object:

    uhd::rfnoc::radio_control::sptr rx_radio_ctrl = 
graph->get_block<uhd::rfnoc::radio_control>("0/Radio#0:0");
which is marked by this block id "0/Radio#0:0". I wonder if I have several 
motherboards and daughterboards with different block to use, if their 
corresponding Radio blocks are different like: "0/Radio#0:0", "0/Radio#1:0", 
"0/Radio#2:0", then shall I do the same as above with multi_usrp to set channel 
and then set freq, rate, etc with only one radio_ctrl object. Or I have to 
create for each daughterboard frontend, for example A:0 of motherboard 2 a 
radio_ctrl object with only one channel? How do I set the tx streamer's channel 
then?

Sincerely

Kasim
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to