discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hier-block parameter-propagating possibly mishandled by GRC resulting in


From: Grace Yeung
Subject: Hier-block parameter-propagating possibly mishandled by GRC resulting in source/sink IO size mismatch error
Date: Tue, 13 Sep 2022 03:41:56 +0000

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/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]