From bf41ed4934742edf85e9973286b04f023f660c2f Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 11 Nov 2021 19:45:58 +0100 Subject: Create ZMQ test --- tests/zmq/zmqtest.grc | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 tests/zmq/zmqtest.grc (limited to 'tests/zmq/zmqtest.grc') diff --git a/tests/zmq/zmqtest.grc b/tests/zmq/zmqtest.grc new file mode 100644 index 0000000..ad1729d --- /dev/null +++ b/tests/zmq/zmqtest.grc @@ -0,0 +1,112 @@ +options: + parameters: + author: Naoki Pross + category: '[GRC Hier Blocks]' + cmake_opt: '' + comment: '' + copyright: '' + description: '' + gen_cmake: 'On' + gen_linking: dynamic + generate_options: no_gui + hier_block_src_path: '.:' + id: zmqtest + max_nouts: '0' + output_language: python + placement: (0,0) + qt_qss_theme: '' + realtime_scheduling: '1' + run: 'True' + run_command: '{python} -u {filename}' + run_options: prompt + sizing_mode: fixed + thread_safe_setters: '' + title: ZMQ test + window_size: '' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 8] + rotation: 0 + state: enabled + +blocks: +- name: samp_rate + id: variable + parameters: + comment: '' + value: '32000' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [184, 12] + rotation: 0 + state: enabled +- name: blocks_throttle_0 + id: blocks_throttle + parameters: + affinity: '' + alias: '' + comment: '' + ignoretag: 'True' + maxoutbuf: '0' + minoutbuf: '0' + samples_per_second: samp_rate + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [440, 324.0] + rotation: 0 + state: true +- name: zeromq_rep_sink_0 + id: zeromq_rep_sink + parameters: + address: '' + affinity: '' + alias: '' + comment: '' + hwm: '-1' + pass_tags: 'False' + timeout: '100' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [664, 308.0] + rotation: 0 + state: true +- name: zeromq_req_source_0 + id: zeromq_req_source + parameters: + address: '' + affinity: '' + alias: '' + comment: '' + hwm: '-1' + maxoutbuf: '0' + minoutbuf: '0' + pass_tags: 'False' + timeout: '100' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [216, 308.0] + rotation: 0 + state: true + +connections: +- [blocks_throttle_0, '0', zeromq_rep_sink_0, '0'] +- [zeromq_req_source_0, '0', blocks_throttle_0, '0'] + +metadata: + file_format: 1 -- cgit v1.2.1