[USRP-users] b210 problems msvs2013

Marcus Müller marcus.mueller at ettus.com
Tue Apr 7 06:48:15 EDT 2015

Dear Юрий,

there is no specialized debug version of UHD that we distribute binarily
-- you will have to follow the build guide [1] yourself.

However, this behavior is irritating; I can't really explain it, I'm
afraid. In rx_multi_samples, we intentionally first check whether it's
actually possible to add that channel:

    for(size_t ch = 0; ch < channel_strings.size(); ch++){
        size_t chan = boost::lexical_cast<int>(channel_strings[ch]);
        if(chan >= usrp->get_rx_num_channels()){ // Check!
            throw std::runtime_error("Invalid channel(s) specified.");

now, push_back is not a function of UHD, but simply of your standard
library -- so I doubt that's the problem.

Often, MSVS produces binaries that just silently crash without saying
anything when you mix debug mode compilation with release mode libraries
(or the other way around) -- have you tried building your program in
release mode?

I think you will have to uninstall the UHD you've installed, compile UHD
yourself (in debug mode), and use your program or rx_multi_samples with
that, to be able to debug the thing.

Best regards,

On 03/30/2015 09:57 AM, Грищук Юрий via USRP-users wrote:
> Good afternoon!
> I have problems with the B210.
> I use MSVS2013 and QT5.4.1 x64.
> the program has hanged while I install the number of channels.
> std :: vector <size_t> channel_nums;
>   uhd :: stream_args_t stream_args ("sc16", "sc16");
> stream_args.channels = channel_nums;
> If I set up schannel_nums.push_back (i); where i = 0 or the default value, the program works . If I pass 01 or 1, the program hangs.
> I've used different versions of drivers and debug and release - the result has not changed. When compiling rx_multi_samples there is the same error.
> Tell me where I can find the driver for debug MSVS2013?
> Please help me with this problem.
> С уважением,
> Грищук Юрий 
> _______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20150407/75a57bc7/attachment-0002.html>

More information about the USRP-users mailing list