Parameter

From GNU Radio
Revision as of 06:14, 27 December 2018 by 777arc (talk | contribs)
Jump to navigation Jump to search

This block represents a parameter to the flow graph. A parameter can be used to pass command line arguments into a top block. Or, parameters can pass arguments into an instantiated hierarchical block. If you don't care about command line arguments, see the Variable Block.

The parameter value cannot depend on any variables.

Leave the label blank to use the parameter id as the label.

When type is not None, this parameter also becomes a command line option of the form:

-[short_id] --[id] [value]

The Short ID field may be left blank.

To disable showing the parameter on the hierarchical block in GRC, use Only in Properties option in the Show field.