X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=grc%2Fblocks%2Fparameter.xml;fp=grc%2Fblocks%2Fparameter.xml;h=d3bab94c30eb3f57bc82b11d81ae2dc389e8ac1f;hb=9988664127b367fa8fee4409f8460673d6f265e1;hp=0000000000000000000000000000000000000000;hpb=885e6fe1fd0e06476511c79515f34ffcef50287d;p=debian%2Fgnuradio diff --git a/grc/blocks/parameter.xml b/grc/blocks/parameter.xml new file mode 100644 index 00000000..d3bab94c --- /dev/null +++ b/grc/blocks/parameter.xml @@ -0,0 +1,80 @@ + + + + Parameter + parameter + self.$(id) = $(id) + $value + + Label + label + + string + #if $label() then 'none' else 'part'# + + + Value + value + 0 + $type.type + + + Type + type + + enum + $type.hide + + + + + + + + +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. + +The paramater value cannot depend on any variables. + +Leave the label blank to use the parameter id as the label. \ +The label only applies when this flow graph is instantiated as a hierarchical block. + +When type is not None, this parameter also becomes a command line option of the form --[id] [value]. + +