Difference between revisions of "Parameter"

From GNU Radio
Jump to: navigation, search
(Created page with "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 instant...")
 
Line 1: Line 1:
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.
+
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.
 
The parameter value cannot depend on any variables.

Revision as of 06:14, 27 December 2018

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.