X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=grc%2Fblocks%2Foptions.xml;fp=grc%2Fblocks%2Foptions.xml;h=18d6e2f0c99fc0818a5177950cc438672e6f55d0;hb=25c5d91fb7c4b54f1e7d77fd9af213a3675a8339;hp=06ede76f07edc07ffdab0ed44a73d537d50c6237;hpb=a6396abe127c504f890d0cd45171c46ebfbb0f3d;p=debian%2Fgnuradio diff --git a/grc/blocks/options.xml b/grc/blocks/options.xml index 06ede76f..18d6e2f0 100644 --- a/grc/blocks/options.xml +++ b/grc/blocks/options.xml @@ -20,7 +20,8 @@ from gnuradio.eng_option import eng_option #end if - self.start($autostart) + if $run: self.start() +else: self.stop(); self.wait() Title title @@ -76,12 +77,12 @@ from gnuradio.eng_option import eng_option #if $generate_options() == 'hb' then 'none' else 'all'# - Autostart - autostart + Run + run True bool #if $generate_options() == 'wx_gui' - #if str($autostart) == 'True' + #if str($run) == 'True' part#slurp #else none#slurp @@ -90,11 +91,11 @@ none#slurp all#slurp #end if @@ -135,7 +136,7 @@ The generate options controls the type of code generated. \ Non-graphical flow graphs should avoid using graphical sinks or graphical variable controls. In a graphical application, \ -autostart can be controlled by a variable to start and stop the flowgraph at runtime. +run can be controlled by a variable to start and stop the flowgraph at runtime. The id of this block determines the name of the generated file and the name of the class. \ For example, an id of my_block will generate the file my_block.py and class my_block(gr....