diff --git a/firmware/tools/convert_C16_to_complex.grc b/firmware/tools/convert_C16_to_complex.grc new file mode 100644 index 00000000..a46b15f2 --- /dev/null +++ b/firmware/tools/convert_C16_to_complex.grc @@ -0,0 +1,117 @@ +options: + parameters: + author: '' + category: Custom + cmake_opt: '' + comment: '' + copyright: '' + description: '' + gen_cmake: 'On' + gen_linking: dynamic + generate_options: no_gui + hier_block_src_path: '.:' + id: top_block + max_nouts: '0' + output_language: python + placement: (0,0) + qt_qss_theme: '' + realtime_scheduling: '' + run: 'True' + run_command: '{python} -u {filename}' + run_options: run + sizing_mode: fixed + thread_safe_setters: '' + title: '' + window_size: '' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 8] + rotation: 0 + state: enabled + +blocks: +- name: blocks_file_sink_0 + id: blocks_file_sink + parameters: + affinity: '' + alias: '' + append: 'False' + comment: '' + file: /tmp/foo.cfile + type: complex + unbuffered: 'False' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [632, 140.0] + rotation: 0 + state: enabled +- name: blocks_file_source_0 + id: blocks_file_source + parameters: + affinity: '' + alias: '' + begin_tag: pmt.PMT_NIL + comment: '' + file: Porpack_Capture.C16 + length: '0' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + repeat: 'False' + type: short + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [64, 124.0] + rotation: 0 + state: enabled +- name: blocks_interleaved_short_to_complex_0 + id: blocks_interleaved_short_to_complex + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + swap: 'False' + vector_input: 'False' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [272, 156.0] + rotation: 0 + state: enabled +- name: blocks_multiply_const_vxx_0 + id: blocks_multiply_const_vxx + parameters: + affinity: '' + alias: '' + comment: '' + const: ' 1.0 / 32768.0' + maxoutbuf: '0' + minoutbuf: '0' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [448, 156.0] + rotation: 0 + state: true + +connections: +- [blocks_file_source_0, '0', blocks_interleaved_short_to_complex_0, '0'] +- [blocks_interleaved_short_to_complex_0, '0', blocks_multiply_const_vxx_0, '0'] +- [blocks_multiply_const_vxx_0, '0', blocks_file_sink_0, '0'] + +metadata: + file_format: 1