[USRP-users] N310 & rfnoc error "No PPS detected"

2018-07-09 Thread Rob Kossler via USRP-users
Using the latest 'rfnoc-devel' (eec24d7b) with my N310, I get the following error when running the example program 'benchmark_rate'. The error message indicates no PPS detected whenever the channel count is greater than one. Note that this is not a new error (it was present prior to me updating to

[USRP-users] RFNOC Radio Loopback

2018-07-09 Thread Weihan Chen via USRP-users
Hi, I'm new to RFNOC development. I have an X310 with an SBX on slot A, and I want to do a loopback from antenna port RX2 to TX/RX using RFNOC blocks. I tried connecting 0/Radio_0 ==> 0/DDC_0 ==> 0/DUC_0 ==> 0/Radio_0 by the following commands: rx_graph->connect(radio_ctrl->get_block_id(), ddc_ct

Re: [USRP-users] Bad CHDR or packet fragment error

2018-07-09 Thread Jacob Knoles via USRP-users
I've attached the cpp files that I have written for the USRP. Some of the other functions defined in the hpp file are implemented in other files that I have not included as they are not relevant. I can't necessarily speak for what Windows may or may not be doing because "Windows", but for the hous

Re: [USRP-users] Bad CHDR or packet fragment error

2018-07-09 Thread Marcus D. Leech via USRP-users
On 07/09/2018 02:00 PM, Jacob Knoles wrote: When using GNURadio Companion, they only appear when closing the flowgraph. On my application, which uses the same gnuradio code directly in c++ multiple times ( creates a usrp, then a flowgraph that uses it, stops the flowgraph, then starts another a

[USRP-users] Rfnoc block cmd_out (control source) issues with latest und/rfnoc-devel: Receiver error: ERROR_CODE_LATE_COMMAND (E3xx)

2018-07-09 Thread Samuel Prager via USRP-users
Hello, I have been using the cmd_out control source bus of the noc_shell in a custom rfnoc block to generate timestamped stream_cmds for a downstream radio block. I recently pulled in the latest changes from uhd rfnoc-devel  (eec24d7b0442616fdbe9adf6b426959677e67f92) and fpga rfnoc-devel (1b406

Re: [USRP-users] Bad CHDR or packet fragment error

2018-07-09 Thread Jacob Knoles via USRP-users
When using GNURadio Companion, they only appear when closing the flowgraph. On my application, which uses the same gnuradio code directly in c++ multiple times ( creates a usrp, then a flowgraph that uses it, stops the flowgraph, then starts another after a few seconds) I see the errors at the end

Re: [USRP-users] Bad CHDR or packet fragment error

2018-07-09 Thread Marcus D. Leech via USRP-users
On 07/09/2018 01:47 PM, Jacob Knoles wrote: It seems to be sample-rate agnostic. I ran a few tests using GNURadio companion at 50M, 1M and 100K sample rates, they all had the same errors when stopping the flowgraph. For my application I need to run it at 50M. After a few runs here I now have

Re: [USRP-users] Bad CHDR or packet fragment error

2018-07-09 Thread Jacob Knoles via USRP-users
It seems to be sample-rate agnostic. I ran a few tests using GNURadio companion at 50M, 1M and 100K sample rates, they all had the same errors when stopping the flowgraph. For my application I need to run it at 50M. After a few runs here I now have a new error too: RuntimeError: RuntimeError: BIST

[USRP-users] [RFNoC] Transition of branch from rfnoc-devel to master

2018-07-09 Thread Martin Braun via USRP-users
Hi all, we have recently been working more on the RFNoC side of things, and there's some updates I want to bring to you. The first step we did to a more stable version of RFNoC is merging all of the work on rfnoc-devel back into master. This will make it a lot easier to keep features in sync betw

Re: [USRP-users] Bad CHDR or packet fragment error

2018-07-09 Thread Marcus D. Leech via USRP-users
On 07/09/2018 12:07 PM, Jacob Knoles via USRP-users wrote: I have a simple TX streamer that uses GNURadio in C++ which loads data from a file into memory followed by a separate flowgraph of vector source to usrp sink that repeats until closed. The problem I am having is that in my code, the lo

[USRP-users] Bad CHDR or packet fragment error

2018-07-09 Thread Jacob Knoles via USRP-users
I have a simple TX streamer that uses GNURadio in C++ which loads data from a file into memory followed by a separate flowgraph of vector source to usrp sink that repeats until closed. The problem I am having is that in my code, the log just spits out: "[ERROR] [STREAMER] Error parsing async mess

Re: [USRP-users] Detecting and sampling short bursts of signals at full sampling rate of USRP X310 for longer period of time

2018-07-09 Thread Derek Kozel via USRP-users
Hi Tarik, I regularly stream 800 MS/s to my desktop from a pair of X310s and display the data using GNU Radio's Frequency Sink blocks. I rarely try saving data at a rate above 100 MS/s. Since DSP tasks can vary so much it is essentially impossible for us to say what your maximum achievable sample

Re: [USRP-users] Detecting and sampling short bursts of signals at full sampling rate of USRP X310 for longer period of time

2018-07-09 Thread Tarik Kazaz via USRP-users
Hi Derek, Thank you for the advice and comments. So UHD requires connection of Dual 10GBe interface to single PC. I have experience with FPGA and debugging. However, I did not explore RFNoC FPGA design (I did read few papers about RFNoC). If it really complicated I would like to avoid imple

Re: [USRP-users] Detecting and sampling short bursts of signals at full sampling rate of USRP X310 for longer period of time

2018-07-09 Thread Derek Kozel via USRP-users
Hello Tarik, Just stepping in to respond that UHD does not support splitting the 10 GigE interfaces to two computers. The X310 supports RFNoC which you could use to create an energy detection block which only streams samples back to the computer when your criteria are met. However it is likely si

[USRP-users] ALSA audio problem

2018-07-09 Thread Muhammad Munir via USRP-users
Dear All, I am facing problem with audio sink block on Gnuradio. When I run application, there is a clear sound for about 8 to 10 minutes. After that sound becomes choppy with knocking sound. I tried different sample rate including 16kHz, 24kHz, 44.1kHz, 48kHz, and 96kHz with appropreate resampling

[USRP-users] Detecting and sampling short bursts of signals at full sampling rate of USRP X310 for longer period of time

2018-07-09 Thread Tarik Kazaz via USRP-users
Hi All, I am giving up hope of sampling signals of full BW of two UBX-160 cards, and storing those streams in the PC. Based on my calculations (one of the previous posts) in order to be able to do that I would need to write to memory with the speed of 1.6GBps. However, now I am interested in sa