Re: [USRP-users] RFNoC TX Examples

2018-10-02 Thread Rob Kossler via USRP-users
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()

Re: [USRP-users] RFNoC TX Examples

2018-10-02 Thread Rob Kossler via USRP-users
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

Re: [USRP-users] RFNoC TX Examples

2018-09-20 Thread Ryan Marlow via USRP-users
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

Re: [USRP-users] RFNoC TX Examples

2018-09-20 Thread Leandro Echevarría via USRP-users
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

Re: [USRP-users] RFNoC TX Examples

2018-09-19 Thread Ryan Marlow via USRP-users
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

[USRP-users] RFNoC TX Examples

2018-09-17 Thread Leandro Echevarría via USRP-users
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