[prev in list] [next in list] [prev in thread] [next in thread]
List: gnuradio-discuss
Subject: Re: Hier-block parameter-propagating possibly mishandled by GRC resulting in source/sink IO size mis
From: Jeff Long <willcode4 () gmail ! com>
Date: 2022-09-13 11:34:29
Message-ID: CAC5f9jaoC22-zLhNa+EyYqj43Jhka9nRYZro5eYR7MZzFQ5j9g () mail ! gmail ! com
[Download RAW message or body]
This is likely the same issue as
https://github.com/gnuradio/gnuradio/issues/6045
On Mon, Sep 12, 2022 at 11:49 PM Grace Yeung <grace@nwra.com> wrote:
> Hi,
>
> I have the following major hier-block parameter-passing problem using GRC
> version 3.8.5.0 (and not an earlier version). Not sure if anyone has
> experienced this.
>
> Scenario
> I have a hier block that uses as a parameter the input vector length,
> block_size, the value of which is set in the main flowgraph and is passed
> into the hier block.
>
>
>
>
>
> * When does error occur? Error occurs whenever the value of block_size set
> in the main flowgraph does not match the value of the corresponding
> parameter initialized in the hier block. This is not an issue with any of
> the other parameters passed into the hier block. What is the error? The
> block following the hier block is expecting an input vector of
> length block_size as set in the main flowgraph, but the flowgraph error
> message claims that the hier block is outputting a vector of the size
> corresponding to the initial/default value set inside the hier block.
> Therefore, whenever the initial parameter value does not match that set in
> the top flowgraph, error occurs. Hypothesis The error message generated in
> GRC may not be a problem due to the failure of the passing of parameters
> during run-time but the problem of GRC using the initial parameter value
> defined internally in the hier block when it comes to determining the
> source/sink I/O size. Thank you for any insights you may provide. Grace *
>
> --
> Grace K. Yeung, MS
> NorthWest Research Associates
> 301 Webster Street
> Monterey, CA 93940
> grace@nwra.com
> https://www.nwra.com/
>
>
[Attachment #3 (text/html)]
<div dir="ltr"><div>This is likely the same issue as <a \
href="https://github.com/gnuradio/gnuradio/issues/6045">https://github.com/gnuradio/gnuradio/issues/6045</a></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 12, 2022 at 11:49 \
PM Grace Yeung <<a href="mailto:grace@nwra.com">grace@nwra.com</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
class="msg-5953090905752713591">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Hi,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">
I have the following major hier-block parameter-passing problem using GRC version \
3.8.5.0 (and not an earlier version). Not sure if anyone has experienced this.</div> \
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">
Scenario</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">
I have a hier block that uses as a parameter the input vector length, <span \
style="font-family:"Courier New",monospace">block_size,</span> the value \
of which is set in the main flowgraph and is passed into the hier block.</div> <div \
style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">
</div>
<b style="font-weight:normal">
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal">When does \
error occur?</span></p> <p dir="ltr" \
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal">Error \
occurs</span><span style="font-size:10pt;font-weight:400;line-height:normal"><font \
face="Courier New"><span style="font-family:Arial,Helvetica,sans-serif"> \
</span></font></span><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal">whenever \
the value of </span><span style="font-size:10pt;font-family:"Courier \
New";font-weight:400;line-height:normal">block_size</span><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal"> set in \
the main flowgraph does not match the value of the corresponding parameter \
initialized in the hier block. </span><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal">This is \
not an issue with any of the other parameters passed into the hier block.</span></p> \
<br> <p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal">What is \
the error?</span></p> <p dir="ltr" \
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal">The block \
following the hier block is expecting an input vector of length </span><span \
style="font-size:10pt;font-family:"Courier \
New";font-weight:400;line-height:normal">block_size</span><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal"> as set \
in the main flowgraph, but the flowgraph error message claims that the hier block is \
outputting a vector of the size corresponding to the initial/default value set \
</span><span style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal">inside \
the hier block. Therefore, whenever the initial parameter value does not match that \
set in the top flowgraph, error occurs.</span></p> <br>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal">Hypothesis</span></p>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal">The error \
message generated in GRC may not be a problem due to the failure of the passing of \
parameters during run-time but the problem of GRC using the initial parameter value \
defined internally in the hier block when it comes to determining the source/sink I/O \
size.</span></p> <p dir="ltr" \
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal"><br> \
</span></p> <p dir="ltr" \
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal">Thank you \
for any insights you may provide.</span></p> <p dir="ltr" \
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal"><br> \
</span></p> <p dir="ltr" \
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:10pt;font-family:Arial;font-weight:400;line-height:normal">Grace</span></p>
</b><br>
<br>
<div id="m_-5953090905752713591Signature">
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-family:Candara,Optima,sans-serif;font-size:10pt;color:rgb(0,0,0)"></span><span \
style="font-family:Candara,Optima,sans-serif;font-size:10pt;color:rgb(0,0,0)">--</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-family:Candara,Optima,sans-serif;font-size:10pt;color:rgb(0,0,0)">Grace \
K. Yeung, MS</span></div> <div \
style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-family:Candara,Optima,sans-serif;font-size:10pt;color:rgb(0,0,0)">NorthWest \
Research Associates</span></div> <div \
style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-family:Candara,Optima,sans-serif;font-size:10pt;color:rgb(0,0,0)">301 \
Webster Street</span></div> <div \
style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-family:Candara,Optima,sans-serif;font-size:10pt;color:rgb(0,0,0)">Monterey, \
CA 93940</span></div> <div \
style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-family:Candara,Optima,sans-serif;font-size:10pt;color:rgb(0,0,0)"><a \
href="mailto:grace@nwra.com" target="_blank">grace@nwra.com</a></span></div> <span \
style="font-size:10pt;color:rgb(0,0,0);font-family:Candara,Optima,sans-serif"><a \
href="https://www.nwra.com/" target="_blank">https://www.nwra.com/</a></span> <div \
style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
</div>
</div>
</div>
</div>
</div></blockquote></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic