Update. I solved the bulk of the performance problem. I realized that I
wasn't comparing apples to apples when comparing my rfnoc tx graph with my
multi_usrp example. In the latter example, I was taking care of sending
data in vector sizes that were aligned with
tx_stream->get_max_num_samples()
Using similar code, but with the addition of the DmaFIFO to the chain, I
have created the attached source code. Additionally, I have attached a
"log" file which shows the command line parameters as well as the response
for an individual run. I have a few remarks:
- In general, the code works
Hey Leo,
Glad to hear you were able to work things out. One quick note about the
code I attached previously. Located a minor typo/bug that you'll want to
fix if you want to actually transmit useful data.
> 219 radio_ctrl->set_rx_frequency(freq, radio_chan);
>
should be:
> 219 radi
Hey Ryan,
Thanks a lot! I actually ended up doing pretty much the exact same things
you described, and came up with a piece of code very similar to yours.
Yours is neater though, so I will keep it ;-).
Regards,
Leo
On Wed, Sep 19, 2018 at 7:52 PM Ryan Marlow wrote:
> Hey Leo,
> I haven't seen
Hey Leo,
I haven't seen anyone respond yet and I recently needed to develop a TX
RFNoC example of my own. I worked off the rfnoc_rx_to_file.cpp example. Far
from perfect, but it gets the job done (transmits data). The main changes
are:
- copied send_from_file function from tx_samples_from_file.cpp
Hey everybody,
Is there anywhere I could find C++ examples of a TX stream using RFNoC
blocks? The latest rnoc-devel commit only has two RX examples, and I cannot
seem to replicate the behavior from that.
Thanks,
Leo
___
USRP-users mailing list
USRP-use