Hi All, I need to re-initialize multi usrp object in my (c++) application on the runtime. How should I reset the multi usrp object? If I use reset command, it gives error on the runtime. Could anyone tell me what is the correct way to re-initialize the multi usrp object?
uhd::usrp::multi_usrp::sptr usrp; string args="addr0=192.168.10.1,addr1=192.168.10.2"; usrp = uhd::usrp::multi_usrp::make(args); uhd::usrp::subdev_spec_t subdev("A:0 B:0"); //receive and operate ... //reinitialize usrp usrp.reset(); string args="addr0=192.168.10.1,addr1=192.168.10.2"; usrp=uhd::usrp::multi_usrp::make(args); uhd::usrp::subdev_spec_t subdev("A:0 B:0"); I am using usrp x310, ubuntu 14.04 and uhd 3.9 lts. Best regards Sanjoy
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio