diff options
author | Josh Morman <jmorman@perspectalabs.com> | 2019-07-30 10:05:03 -0400 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2020-01-06 18:52:27 -0800 |
commit | dc0df099909d65a2ab15ce857ca667e40848e4db (patch) | |
tree | c047ed8469485343edc194866e9a14d0f5c4cde4 /gr-filter/grc | |
parent | filter: gr_filter_design restore save/load behavior (diff) | |
download | gnuradio-dc0df099909d65a2ab15ce857ca667e40848e4db.tar.xz gnuradio-dc0df099909d65a2ab15ce857ca667e40848e4db.zip |
filter: fix issues with filter taps loader
Continuing the work previously done on the loader but polishing a few
remaining items in the yml
Adds an example as well
Diffstat (limited to 'gr-filter/grc')
-rw-r--r-- | gr-filter/grc/variable_file_filter_taps.block.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-filter/grc/variable_file_filter_taps.block.yml b/gr-filter/grc/variable_file_filter_taps.block.yml index d15151e6d7..56f0506e2a 100644 --- a/gr-filter/grc/variable_file_filter_taps.block.yml +++ b/gr-filter/grc/variable_file_filter_taps.block.yml @@ -1,6 +1,6 @@ id: variable_file_filter_taps label: Filter Taps Loader -flags: [ python ] +flags: [show_id, python ] parameters: - id: file @@ -11,12 +11,12 @@ parameters: dtype: bool default: False +value: ${filter.file_taps_loader(file, verbose).get_taps()} + templates: imports: from gnuradio import filter var_make: |- - self.${id} = ${id} = filter.file_taps_loader($file, $verbose).get_taps() - var_value: |- - filter.file_taps_loader($file, $verbose).get_taps() + self.${id} = ${id} = filter.file_taps_loader(${file}, ${verbose}).get_taps() documentation: |- This block maps filter taps created with gr_filter_design to a variable. |