[prev in list] [next in list] [prev in thread] [next in thread] 

List:       usrp-users
Subject:    [USRP-users] Re: RFNoC + GNU Radio: spp is set differently - error found!
From:       "Bachmaier, Luca" <luca.bachmaier () iis ! fraunhofer ! de>
Date:       2023-10-18 10:13:06
Message-ID: 8c067a26d428450f9d4324c734ded1c2 () iis ! fraunhofer ! de
[Download RAW message or body]

[Attachment #2 (text/plain)]

Hi Marcus,

the version is UHD 4.4.0.0-33-g4a77791c. Both scripts are located in /usr/local/bin.

On a different note, I was finally able to find the problem that causes this. You can \
read the detailed report here: https://github.com/gnuradio/gnuradio/issues/6921 In \
short, spp / ais are resolved differently because in rfnoc_rx_to_file the resolver \
gets active *after* commiting the graph. In GNU Radio it's the other way around and \
this causes problems. The quick work around was to set the default FFT length in the \
respective UHD source file to 1024. I hope this is also helpful to you. Either way I \
want to thank you for all the support you've given so far!

Regards
Luca



Von: Marcus D. Leech <patchvonbraun@gmail.com>
Gesendet: Montag, 16. Oktober 2023 15:12
An: Bachmaier, Luca <luca.bachmaier@iis.fraunhofer.de>; usrp-users@lists.ettus.com
Betreff: Re: AW: [USRP-users] Re: RFNoC + GNU Radio: spp is set differently

On 16/10/2023 02:29, Bachmaier, Luca wrote:
Hello Marcus,

when starting my flowgraph in GNU Radio it puts out this first:
Generating: '/home/sdr/dev/rfnoc/fft3/fft3.py'

Executing: /usr/bin/python3 -u /home/sdr/dev/rfnoc/fft3/fft3.py

[INFO] [UHD] linux; GNU C++ version 12.2.0; Boost_107400; UHD_4.4.0.0-33-g4a77791c


It's correct that I used to have the distro packages of GNU Radio and UHD installed \
on my system but since then I removed these versions and installed both from source, \
first UHD and then GNU Radio. In last line of the output above, "UHD_4.4.0.0…" \
should be a definitive indicator that GNU Radio uses the installation from source, \
right? UHD 4.4 is the version I installed from source, apt (I'm on a Debian system) \
only offers UHD 4.3 to be installed.

Regards
Luca
Run:

uhd_config_info --version

And also:

which uhd_config_info
which uhd_usrp_probe

What do those return?





Von: Marcus D. Leech <patchvonbraun@gmail.com><mailto:patchvonbraun@gmail.com>
Gesendet: Montag, 9. Oktober 2023 18:24
An: usrp-users@lists.ettus.com<mailto:usrp-users@lists.ettus.com>
Betreff: [USRP-users] Re: RFNoC + GNU Radio: spp is set differently

On 09/10/2023 10:56, Bachmaier, Luca wrote:
Hi all,

I'm currently implementing a GNU Radio flowgraph that makes use of the RFNoC FFT \
block. After fixing a bug found out by Rob Kossler (mail in this mailing list from \
September 14) in the UHD repository, the original problem persists in GNU Radio: \
trying to use FFT lengths greater than 256 throws the error "samples per package must \
not be smaller than atomic item size".

When trying to look closer into the problem I noticed that the spp parameter is set \
differently when using the UHD python API directly (script rfnoc_rx_to_file) and when \
using GNU Radio. I added debug statements to the rfnoc_rx_streamer block that print \
the values of spp and ais.get() (atomic item size). When calling the rfnoc_rx_to_file \
script with a spp set to 1024 and an FFT length of 1024 I get the following output:

[INFO] [0/LogPwr#0] Setting default MTU forward policy.
Using radio 0, channel 0 Attempting to connect FFT:0 to 0/Radio#0:0...
Requesting RX Freq: 0 MHz... Actual RX Freq: 1 MHz...
Waiting for "lo_locked": ++++++++++ locked.
Requesting samples per packet of: 1024
Actual samples per packet = 1024
Using streamer args:

[DEBUG] spp = 18446744073709551615
[DEBUG] ais.get() = 1

[DEBUG] spp = 2000
[DEBUG] ais.get() = 1

[DEBUG] spp = 2000
[DEBUG] ais.get() = 1024

[DEBUG] spp = 1024
[DEBUG] ais.get() = 1024

Since here spp is not smaller than ais.get(), the flowgraph is able to run. When \
trying the same as a GNU Radio flowgraph, the output is the following:

[INFO] [0/LogPwr#0] Setting default MTU forward policy.

[DEBUG] spp = 18446744073709551615
[DEBUG] ais.get() = 1

[DEBUG] spp = 2000
[DEBUG] ais.get() = 1

[DEBUG] spp = 2000
[DEBUG] ais.get() = 2048

[DEBUG] spp = 0
[DEBUG] ais.get() = 2048

For some reason, spp is finally set to zero and ais.get() is set to 2048. I do not \
understand why, and I also don't get why the behavior is different for GNU Radio at \
all. Is it possible that GNU Radio uses its own version of UHD? Up until now I \
believed that GNU Radio simply uses the already installed UHD implementation over the \
UHD Python API. If this is not the case, how can I change this specific GNU Radio UHD \
version? I tried looking into the source code of gnuradio/gr-uhd/lib/rfnoc but I do \
not understand it unfortunately.

Regards
Luca




_______________________________________________

USRP-users mailing list -- \
usrp-users@lists.ettus.com<mailto:usrp-users@lists.ettus.com>

To unsubscribe send an email to \
usrp-users-leave@lists.ettus.com<mailto:usrp-users-leave@lists.ettus.com> If you \
installed Gnu Radio from the distros package, it will have been linked against \
whatever version of the UHD was also  packaged by the distro.

If you then build UHD from source (with your fixes), Gnu Radio won't see that version \
of UHD.  What you might need to do is  having built your patched UHD from source, \
also build Gnu Radio from source, having first removed the installed-by-the-distro  \
UHD and Gnu Radio packages.

This is just an emergent property of large complex software systems, the semantics of \
compiled languages and linking, and  conflicts between built-from-source, and \
installed-from-the-distro packages.


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
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=utf-8">
<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;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Vorformatiert Zchn";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.HTMLVorformatiertZchn
	{mso-style-name:"HTML Vorformatiert Zchn";
	mso-style-priority:99;
	mso-style-link:"HTML Vorformatiert";
	font-family:Consolas;
	mso-fareast-language:EN-US;}
p.msonormal0, li.msonormal0, div.msonormal0
	{mso-style-name:msonormal;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
span.E-MailFormatvorlage20
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.E-MailFormatvorlage21
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
span.E-MailFormatvorlage22
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Hi \
Marcus,<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="color:#1F497D"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US" style="color:#1F497D">the version is UHD 4.4.0.0-33-g4a77791c. Both \
scripts are located in /usr/local/bin.<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" \
style="color:#1F497D"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US" style="color:#1F497D">On a different note, I was finally able to find \
the problem that causes this. You can read the detailed report here: \
https://github.com/gnuradio/gnuradio/issues/6921<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" style="color:#1F497D">In short, spp / ais are \
resolved differently because in rfnoc_rx_to_file the resolver gets active \
*<b>after</b>* commiting the graph. In GNU Radio it's the other way around and this \
causes problems.  The quick work around was to set the default FFT length in the \
respective UHD source file to 1024.<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US" style="color:#1F497D">I hope this is also helpful to you. Either way I \
want to thank you for all the support you've given so far!<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" \
style="color:#1F497D"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US" style="color:#1F497D">Regards<br> Luca</span><span lang="EN-US" \
style="color:#1F497D"><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="color:#1F497D"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US" style="color:#1F497D"><o:p>&nbsp;</o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p> <div \
style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"> <div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="mso-fareast-language:DE">Von:</span></b><span \
style="mso-fareast-language:DE"> Marcus D. Leech &lt;patchvonbraun@gmail.com&gt; <br>
<b>Gesendet:</b> Montag, 16. </span><span lang="EN-US" \
style="mso-fareast-language:DE">Oktober 2023 15:12<br> <b>An:</b> Bachmaier, Luca \
&lt;luca.bachmaier@iis.fraunhofer.de&gt;; usrp-users@lists.ettus.com<br> \
<b>Betreff:</b> Re: AW: [USRP-users] Re: RFNoC &#43; GNU Radio: spp is set \
differently<o:p></o:p></span></p> </div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On 16/10/2023 02:29, Bachmaier, Luca \
wrote:</span><span lang="EN-US" \
style="font-size:12.0pt;mso-fareast-language:DE"><o:p></o:p></span></p> </div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Hello \
Marcus,</span><span lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US" style="color:#1F497D">&nbsp;</span><span \
lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="color:#1F497D">when starting my flowgraph in GNU Radio it puts out this \
first:</span><span lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal" \
style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">Generating: \
'/home/sdr/dev/rfnoc/fft3/fft3.py' </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">&nbsp;</span><span \
lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal" \
style="text-indent:35.4pt"><span lang="EN-US" style="color:#1F497D">Executing: \
/usr/bin/python3 -u /home/sdr/dev/rfnoc/fft3/fft3.py</span><span \
lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="color:#1F497D">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p> <p \
class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" \
style="color:#1F497D">[INFO] [UHD] linux; GNU C&#43;&#43; version 12.2.0; \
Boost_107400; UHD_4.4.0.0-33-g4a77791c</span><span \
lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal" \
style="text-indent:35.4pt"><span lang="EN-US" \
style="color:#1F497D">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p> <p \
class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" \
style="color:#1F497D">&nbsp;</span><span lang="EN-US"><o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" style="color:#1F497D">It's correct that I used \
to have the distro packages of GNU Radio and UHD installed on my system but since \
then I removed these versions and installed both from source, first UHD and then GNU \
Radio.  In last line of the output above, "UHD_4.4.0.0…" should be a definitive \
indicator that GNU Radio uses the installation from source, right? UHD 4.4 is the \
version I installed from source, apt (I'm on a Debian system) only offers UHD 4.3 to \
be installed.</span><span lang="EN-US"><o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" style="color:#1F497D">&nbsp;</span><span \
lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="color:#1F497D">Regards</span><span lang="EN-US"><o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Luca</span><span \
lang="EN-US"><o:p></o:p></span></p> </blockquote>
<p class="MsoNormal"><span lang="EN-US" \
style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif;mso-fareast-language:DE">Run:<br> <br>
uhd_config_info --version<br>
<br>
And also:<br>
<br>
which uhd_config_info<br>
which uhd_usrp_probe<br>
<br>
What do those return?<br>
<br>
<br>
<br>
<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">&nbsp;</span><span \
lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US">&nbsp;<o:p></o:p></span></p> <div style="border:none;border-left:solid \
blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"> <div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="mso-fareast-language:DE">Von:</span></b><span \
style="mso-fareast-language:DE"> Marcus D. Leech </span><a \
href="mailto:patchvonbraun@gmail.com"><span \
style="mso-fareast-language:DE">&lt;patchvonbraun@gmail.com&gt;</span></a><span \
style="mso-fareast-language:DE"> <br>
<b>Gesendet:</b> Montag, 9. </span><span lang="EN-US" \
style="mso-fareast-language:DE">Oktober 2023 18:24<br> <b>An:</b> </span><a \
href="mailto:usrp-users@lists.ettus.com"><span lang="EN-US" \
style="mso-fareast-language:DE">usrp-users@lists.ettus.com</span></a><span \
lang="EN-US" style="mso-fareast-language:DE"><br> <b>Betreff:</b> [USRP-users] Re: \
RFNoC &#43; GNU Radio: spp is set differently</span><span \
lang="EN-US"><o:p></o:p></span></p> </div>
</div>
<p class="MsoNormal"><span lang="EN-US">&nbsp;<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On 09/10/2023 10:56, Bachmaier, Luca \
wrote:<o:p></o:p></span></p> </div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I'm currently implementing a GNU Radio \
flowgraph that makes use of the RFNoC FFT block. After fixing a bug found out by Rob \
Kossler (mail in this mailing list from September 14) in the UHD repository, the \
original problem  persists in GNU Radio: trying to use FFT lengths greater than 256 \
throws the error "samples per package must not be smaller than atomic item \
size".<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US">&nbsp;<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US">When trying to look closer into the problem I noticed that the spp \
parameter is set differently when using the UHD python API directly (script \
rfnoc_rx_to_file) and when using GNU Radio. I added debug statements to the  \
rfnoc_rx_streamer block that print the values of spp and ais.get() (atomic item \
size). When calling the rfnoc_rx_to_file script with a spp set to 1024 and an FFT \
length of 1024 I get the following output:<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US">&nbsp;<o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">[INFO] [0/LogPwr#0] \
Setting default MTU forward policy.<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:35.4pt"><span lang="EN-US">Using radio 0, channel 0 Attempting to \
connect FFT:0 to 0/Radio#0:0...<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:35.4pt"><span lang="EN-US">Requesting RX Freq: 0 MHz... Actual RX \
Freq: 1 MHz...<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:35.4pt"><span lang="EN-US">Waiting for &quot;lo_locked&quot;: \
&#43;&#43;&#43;&#43;&#43;&#43;&#43;&#43;&#43;&#43; locked.<o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">Requesting samples \
per packet of: 1024<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:35.4pt"><span lang="EN-US">Actual samples per packet = \
1024<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:35.4pt"><span \
lang="EN-US">Using streamer args:<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:35.4pt"><span lang="EN-US">&nbsp;<o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">[DEBUG] spp = \
18446744073709551615<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:35.4pt"><span lang="EN-US">[DEBUG] ais.get() = \
1<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:35.4pt"><span \
lang="EN-US">&nbsp;<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:35.4pt"><span lang="EN-US">[DEBUG] spp = \
2000<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:35.4pt"><span \
lang="EN-US">[DEBUG] ais.get() = 1<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:35.4pt"><span lang="EN-US">&nbsp;<o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">[DEBUG] spp = \
2000<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:35.4pt"><span \
lang="EN-US">[DEBUG] ais.get() = 1024<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:35.4pt"><span lang="EN-US">&nbsp;<o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">[DEBUG] spp = \
1024<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:35.4pt"><span \
lang="EN-US">[DEBUG] ais.get() = 1024<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US">&nbsp;<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US">Since here spp is not smaller than ais.get(), \
the flowgraph is able to run. When trying the same as a GNU Radio flowgraph, the \
output is the following:<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US">&nbsp;<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:35.4pt"><span lang="EN-US">[INFO] [0/LogPwr#0] Setting default MTU \
forward policy. <br>
<br>
[DEBUG] spp = 18446744073709551615<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">[DEBUG] ais.get() \
= 1<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:35.4pt"><span \
lang="EN-US">&nbsp;<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:35.4pt"><span lang="EN-US">[DEBUG] spp = \
2000<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:35.4pt"><span \
lang="EN-US">[DEBUG] ais.get() = 1<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:35.4pt"><span lang="EN-US">&nbsp;<o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">[DEBUG] spp = \
2000<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:35.4pt"><span \
lang="EN-US">[DEBUG] ais.get() = 2048<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:35.4pt"><span lang="EN-US">&nbsp;<o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">[DEBUG] spp = \
0<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:35.4pt"><span \
lang="EN-US">[DEBUG] ais.get() = 2048<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US">&nbsp;<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US">For some reason, spp is finally set to zero and \
ais.get() is set to 2048. I do not understand why, and I also don't get why the \
behavior is different for GNU Radio at all. Is it possible that GNU Radio uses its \
own version  of UHD? Up until now I believed that GNU Radio simply uses the already \
installed UHD implementation over the UHD Python API. If this is not the case, how \
can I change this specific GNU Radio UHD version? I tried looking into the source \
code of gnuradio/gr-uhd/lib/rfnoc  but I do not understand it \
unfortunately.<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US">&nbsp;<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US">Regards<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US">Luca<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif;mso-fareast-language:DE"><br> <br>
<br>
</span><span lang="EN-US"><o:p></o:p></span></p>
<pre><span lang="EN-US">_______________________________________________<o:p></o:p></span></pre>
 <pre><span lang="EN-US">USRP-users mailing list -- </span><a \
href="mailto:usrp-users@lists.ettus.com"><span \
lang="EN-US">usrp-users@lists.ettus.com</span></a><span \
lang="EN-US"><o:p></o:p></span></pre> <pre><span lang="EN-US">To unsubscribe send an \
email to </span><a href="mailto:usrp-users-leave@lists.ettus.com"><span \
lang="EN-US">usrp-users-leave@lists.ettus.com</span></a><span \
lang="EN-US"><o:p></o:p></span></pre> </blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" \
style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif;mso-fareast-language:DE">If you installed Gnu Radio from the \
distros package, it will have been linked against whatever version  of the UHD was \
also<br> &nbsp; packaged by the distro.<br>
<br>
If you then build UHD from source (with your fixes), Gnu Radio won't see that version \
of UHD.&nbsp; What you might need to do is<br> &nbsp; having built your patched UHD \
from source, also build Gnu Radio from source, having first removed the \
installed-by-the-distro<br> &nbsp; UHD and Gnu Radio packages.<br>
<br>
This is just an emergent property of large complex software systems, the semantics of \
compiled languages and linking, and<br> &nbsp; conflicts between built-from-source, \
and installed-from-the-distro packages.<br> <br>
<br>
</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</blockquote>
<p class="MsoNormal"><span lang="EN-US" \
style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif;mso-fareast-language:DE"><o:p>&nbsp;</o:p></span></p> </div>
</div>
</body>
</html>



_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

--===============3810402342331928901==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic