Hi all,

I was trying this loopback trick (
https://corvid.io/2017/04/22/stupid-rfnoc-tricks-loopback/). In step 2, I
did radio_ctrl->set_rx_streamer(true, 0) in UHD. (0/Radio_0 is my RX radio,
which radio_ctrl points to.)
In step 3, a steam_cmd is issued to the RX radio. But, what streamer_args
do I use here? Specifically, what should I fill in the following two
parameters for my stream_cmd:
streamer_args["block_id"] = ???
streamer_args["block_port"] = ???

I tried these:
streamer_args["block_id"] = radio_ctrl->get_block_id().to_string();
streamer_args["block_port"] = str(boost::format("%d")%0)
Then UHD gives me runtime error:
On node 0/Radio_0, output port 0 is already connected.

I'm just confused how the wiring is done before the stream_cmd is issued in
step 3. I would appreciate it if anyone could help.

Best,
Alex
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to