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
gr...@nwra.com
https://www.nwra.com/

Reply via email to