[prev in list] [next in list] [prev in thread] [next in thread]
List: usrp-users
Subject: [USRP-users] Multiple Streamers
From: "Rohde, Zach (US 333G) via USRP-users" <usrp-users () lists ! ettus ! com>
Date: 2024-02-22 22:08:21
Message-ID: SA1PR09MB9275DEEA7594782B53D7CEC392562 () SA1PR09MB9275 ! namprd09 ! prod ! outlook ! com
[Download RAW message or body]
Hello,
I have been running tests with multiple TX channels so that each channel ca=
n run at a different sample rate, using multiple calls to get_tx_stream() t=
o generate a unique streamer for each thread. This has been successful usin=
g the X440 and results in no errors or warnings.
My question is the documentation<https://files.ettus.com/manual/classuhd_1_=
1device.html#a66d1bf289dd03a03df3860f3eee578c0> states: =93Note: There can =
always only be one streamer. When calling get_tx_stream() a second time, th=
e first streamer must be destroyed beforehand.=94 Is this true? Why am I no=
t seeing any undefined behavior or errors/warnings?
In the documentation for multi_usrp_rfnoc<https://github.com/EttusResearch/=
uhd/blob/master/host/lib/usrp/multi_usrp_rfnoc.cpp#L78>, I noticed a docume=
ntation stub that mentioned, =93If there is only ever one Tx streamer, this=
will work as expected. For multiple streamers, only the last streamer's as=
ync messages will make it through.=94 So, it seems the documentation is sor=
t of contradicting one another on whether multiple TX streams are allowed.
Thanks,
Zach
[Attachment #3 (text/html)]
<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My question is <a \
href="https://files.ettus.com/manual/classuhd_1_1device.html#a66d1bf289dd03a03df3860f3eee578c0">
the documentation</a> 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?</p> <p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In the <a \
href="https://github.com/EttusResearch/uhd/blob/master/host/lib/usrp/multi_usrp_rfnoc.cpp#L78">
documentation for multi_usrp_rfnoc</a>, 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.</p> <p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Zach</p>
</div>
</body>
</html>
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com
--===============2930242126198222880==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic