Browse Source

flowchart: add label indicating current voltage

Fabian Peter Hammerle 3 years ago
parent
commit
4212ef20ce
1 changed files with 49 additions and 2 deletions
  1. 49 2
      scope.grc

+ 49 - 2
scope.grc

@@ -56,6 +56,52 @@ 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:
@@ -177,8 +223,8 @@ blocks:
     width8: '1'
     width9: '1'
     wintype: firdes.WIN_BLACKMAN_hARRIS
-    ymax: '10'
-    ymin: '-140'
+    ymax: '0'
+    ymin: '-100'
   states:
     bus_sink: false
     bus_source: false
@@ -285,6 +331,7 @@ 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_time_sink_x_0, '0']
 - [epy_block_0, '0', blocks_short_to_float_0, '0']