Browse Source

flowchart: replace voltage probe with number sink

Fabian Peter Hammerle 3 years ago
parent
commit
34644f9656
1 changed files with 64 additions and 47 deletions
  1. 64 47
      scope.grc

+ 64 - 47
scope.grc

@@ -56,52 +56,6 @@ blocks:
     coordinate: [437, 63]
     rotation: 0
     state: enabled
-- name: voltage_label
-  id: variable_qtgui_label
-  parameters:
-    comment: ''
-    formatter: '"{:.01f} V".format'
-    gui_hint: ''
-    label: Voltage
-    type: real
-    value: voltage_probe
-  states:
-    bus_sink: false
-    bus_source: false
-    bus_structure: null
-    coordinate: [419, 429]
-    rotation: 0
-    state: true
-- name: voltage_probe
-  id: variable_function_probe
-  parameters:
-    block_id: blocks_probe_signal_x_0
-    comment: ''
-    function_args: ''
-    function_name: level
-    poll_rate: '10'
-    value: '0'
-  states:
-    bus_sink: false
-    bus_source: false
-    bus_structure: null
-    coordinate: [26, 414]
-    rotation: 0
-    state: enabled
-- name: blocks_probe_signal_x_0
-  id: blocks_probe_signal_x
-  parameters:
-    affinity: ''
-    alias: ''
-    comment: ''
-    type: float
-  states:
-    bus_sink: false
-    bus_source: false
-    bus_structure: null
-    coordinate: [758, 512]
-    rotation: 0
-    state: true
 - name: blocks_short_to_float_0
   id: blocks_short_to_float
   parameters:
@@ -232,6 +186,69 @@ blocks:
     coordinate: [768, 356]
     rotation: 0
     state: true
+- name: qtgui_number_sink_0
+  id: qtgui_number_sink
+  parameters:
+    affinity: ''
+    alias: ''
+    autoscale: 'False'
+    avg: '0'
+    color1: ("black", "black")
+    color10: ("black", "black")
+    color2: ("black", "black")
+    color3: ("black", "black")
+    color4: ("black", "black")
+    color5: ("black", "black")
+    color6: ("black", "black")
+    color7: ("black", "black")
+    color8: ("black", "black")
+    color9: ("black", "black")
+    comment: ''
+    factor1: '1'
+    factor10: '1'
+    factor2: '1'
+    factor3: '1'
+    factor4: '1'
+    factor5: '1'
+    factor6: '1'
+    factor7: '1'
+    factor8: '1'
+    factor9: '1'
+    graph_type: qtgui.NUM_GRAPH_HORIZ
+    gui_hint: ''
+    label1: Voltage
+    label10: ''
+    label2: ''
+    label3: ''
+    label4: ''
+    label5: ''
+    label6: ''
+    label7: ''
+    label8: ''
+    label9: ''
+    max: reference_voltage
+    min: '0'
+    name: '""'
+    nconnections: '1'
+    type: float
+    unit1: V
+    unit10: ''
+    unit2: ''
+    unit3: ''
+    unit4: ''
+    unit5: ''
+    unit6: ''
+    unit7: ''
+    unit8: ''
+    unit9: ''
+    update_time: '0.10'
+  states:
+    bus_sink: false
+    bus_source: false
+    bus_structure: null
+    coordinate: [723, 489]
+    rotation: 0
+    state: true
 - name: qtgui_time_sink_x_0
   id: qtgui_time_sink_x
   parameters:
@@ -331,8 +348,8 @@ blocks:
     state: true
 
 connections:
-- [blocks_short_to_float_0, '0', blocks_probe_signal_x_0, '0']
 - [blocks_short_to_float_0, '0', qtgui_freq_sink_x_0, '0']
+- [blocks_short_to_float_0, '0', qtgui_number_sink_0, '0']
 - [blocks_short_to_float_0, '0', qtgui_time_sink_x_0, '0']
 - [epy_block_0, '0', blocks_short_to_float_0, '0']