Thanks Rob. I agree. The documentation needs to be reworded to, “Note: There can always only be one streamer per channel…”. That would probably help people out.
Regards, Zach From: Rob Kossler <[email protected]> Date: Thursday, February 22, 2024 at 3:13 PM To: Rohde, Zach (US 333G) <[email protected]> Cc: [email protected] <[email protected]> Subject: [EXTERNAL] Re: [USRP-users] Multiple Streamers Hi Zach, There can definitely be multiple tx streamers (& rx streamers). Take a look at the Ettus rx_samples_to_file example which does this with rx streamers. You are probably doing everything right already. The documentation might be just poorly worded such that maybe it should say that you can only have one streamer per channel. Rob On Thu, Feb 22, 2024 at 5:08 PM Rohde, Zach (US 333G) via USRP-users <[email protected]<mailto:[email protected]>> wrote: Hello, I have been running tests with multiple TX channels so that each channel can run at a different sample rate, using multiple calls to get_tx_stream() to generate a unique streamer for each thread. This has been successful using the X440 and results in no errors or warnings. My question is the documentation<https://urldefense.us/v3/__https:/files.ettus.com/manual/classuhd_1_1device.html*a66d1bf289dd03a03df3860f3eee578c0__;Iw!!PvBDto6Hs4WbVuu7!MXEfHO7LaEESM1gY0e9LRsk-dpWTIlz99pVQMh2wh6fVV6FRDjt23acYEhLtjRuAJl3tjfDFtGFkaUP6rAV99F5HpCU$> states: “Note: There can always only be one streamer. When calling get_tx_stream() a second time, the first streamer must be destroyed beforehand.” Is this true? Why am I not seeing any undefined behavior or errors/warnings? In the documentation for multi_usrp_rfnoc<https://urldefense.us/v3/__https:/github.com/EttusResearch/uhd/blob/master/host/lib/usrp/multi_usrp_rfnoc.cpp*L78__;Iw!!PvBDto6Hs4WbVuu7!MXEfHO7LaEESM1gY0e9LRsk-dpWTIlz99pVQMh2wh6fVV6FRDjt23acYEhLtjRuAJl3tjfDFtGFkaUP6rAV9F_MMrvg$>, I noticed a documentation stub that mentioned, “If there is only ever one Tx streamer, this will work as expected. For multiple streamers, only the last streamer's async messages will make it through.” So, it seems the documentation is sort of contradicting one another on whether multiple TX streams are allowed. Thanks, Zach _______________________________________________ USRP-users mailing list -- [email protected]<mailto:[email protected]> To unsubscribe send an email to [email protected]<mailto:[email protected]>
_______________________________________________ USRP-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
