aboutsummaryrefslogtreecommitdiffstats
path: root/tests/sockets/Socket_test.grc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/sockets/Socket_test.grc (renamed from tests/zmq/zmqtest.grc)92
1 files changed, 60 insertions, 32 deletions
diff --git a/tests/zmq/zmqtest.grc b/tests/sockets/Socket_test.grc
index ad1729d..fbc3cdf 100644
--- a/tests/zmq/zmqtest.grc
+++ b/tests/sockets/Socket_test.grc
@@ -1,6 +1,6 @@
options:
parameters:
- author: Naoki Pross
+ author: 'Sara Halter '
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
@@ -10,18 +10,18 @@ options:
gen_linking: dynamic
generate_options: no_gui
hier_block_src_path: '.:'
- id: zmqtest
+ id: Test_Bit_Errorrate
max_nouts: '0'
output_language: python
placement: (0,0)
qt_qss_theme: ''
- realtime_scheduling: '1'
+ realtime_scheduling: ''
run: 'True'
run_command: '{python} -u {filename}'
- run_options: prompt
+ run_options: run
sizing_mode: fixed
thread_safe_setters: ''
- title: ZMQ test
+ title: 'Bit Error Rate test '
window_size: ''
states:
bus_sink: false
@@ -41,72 +41,100 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
- coordinate: [184, 12]
+ coordinate: [216, 20.0]
rotation: 0
state: enabled
-- name: blocks_throttle_0
- id: blocks_throttle
+- name: analog_noise_source_x_0
+ id: analog_noise_source_x
parameters:
affinity: ''
alias: ''
+ amp: '1'
comment: ''
- ignoretag: 'True'
maxoutbuf: '0'
minoutbuf: '0'
- samples_per_second: samp_rate
- type: complex
- vlen: '1'
+ noise_type: analog.GR_GAUSSIAN
+ seed: '0'
+ type: float
states:
bus_sink: false
bus_source: false
bus_structure: null
- coordinate: [440, 324.0]
+ coordinate: [32, 148.0]
rotation: 0
- state: true
-- name: zeromq_rep_sink_0
- id: zeromq_rep_sink
+ state: enabled
+- name: blocks_null_source_0
+ id: blocks_null_source
parameters:
- address: ''
affinity: ''
alias: ''
+ bus_structure_source: '[[0,],]'
comment: ''
- hwm: '-1'
- pass_tags: 'False'
- timeout: '100'
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ num_outputs: '1'
type: complex
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
- coordinate: [664, 308.0]
+ coordinate: [64, 264.0]
rotation: 0
- state: true
-- name: zeromq_req_source_0
- id: zeromq_req_source
+ state: disabled
+- name: blocks_throttle_1
+ id: blocks_throttle
parameters:
- address: ''
affinity: ''
alias: ''
comment: ''
- hwm: '-1'
+ ignoretag: 'True'
maxoutbuf: '0'
minoutbuf: '0'
- pass_tags: 'False'
- timeout: '100'
- type: complex
+ samples_per_second: samp_rate
+ type: float
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
- coordinate: [216, 308.0]
+ coordinate: [280, 164.0]
+ rotation: 0
+ state: true
+- name: fadingui_netsink_0
+ id: fadingui_netsink
+ parameters:
+ address: udp://localhost:31415
+ affinity: ''
+ alias: ''
+ comment: ''
+ type: float
+ veclen: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [504, 164.0]
+ rotation: 0
+ state: true
+- name: import_0
+ id: import
+ parameters:
+ alias: ''
+ comment: ''
+ imports: import numpy as np
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [328, 20.0]
rotation: 0
state: true
connections:
-- [blocks_throttle_0, '0', zeromq_rep_sink_0, '0']
-- [zeromq_req_source_0, '0', blocks_throttle_0, '0']
+- [analog_noise_source_x_0, '0', blocks_throttle_1, '0']
+- [blocks_null_source_0, '0', blocks_throttle_1, '0']
+- [blocks_throttle_1, '0', fadingui_netsink_0, '0']
metadata:
file_format: 1