Re: [USRP-users] weird sample values when receiving on b200

2018-10-15 Thread Mitch Grabner via USRP-users
Here's the rx streamer init. It is in the main function after initializing the usrp device. This happens with both sc8 and sc16 wire format with float32 cpu format. uhd::stream_args_t rx_stream_args("fc32",wire); //complex floats rx_stream_args.args["spp"] = str( boost::format( "%u" ) % spb );

Re: [USRP-users] weird sample values when receiving on b200

2018-10-14 Thread Marcus Müller via USRP-users
Hi Mitch, where/how do you create the rx_streamer, and which otw / cpu format does that use? Best regards, Marcus On Thu, 2018-10-11 at 11:53 -0400, Mitch Grabner via USRP-users wrote: > I'm doing a loopback to check which sample a certain signal level is > found. I'm transmitting in the main th

Re: [USRP-users] weird sample values when receiving on b200

2018-10-11 Thread Mitch Grabner via USRP-users
I'm doing a loopback to check which sample a certain signal level is found. I'm transmitting in the main thread and I create a receiver thread to look for the rise in the input signal. Here is my receiver worker void receive_worker( uhd::usrp::multi_usrp::sptr usrp, std::vector > rx_buff, uh

Re: [USRP-users] weird sample values when receiving on b200

2018-10-10 Thread Michael Dickens via USRP-users
Hi Mitch - Can you provide your code for us to review, to get an idea of what you're doing that's causing this issue for you? Without specific code, debugging is a little difficult ... And, no, I haven't seen this issue to the best of my knowledge / understanding of what it might be. Cheers! - ML

[USRP-users] weird sample values when receiving on b200

2018-10-10 Thread Mitch Grabner via USRP-users
Hello, I find that sometimes when I initialize a b200 and start streaming in samples I will get buffers with values of infinity (especially at the last sample in the buffer). Is this caused by a bad packet or overflow condition? It also seems to happen randomly. Thanks for your help, - mitch