duggabe

Pluto_NFM.grc

Jul 2nd, 2020
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.33 KB | None | 0 0
  1. options:
  2. parameters:
  3. author: ''
  4. category: '[GRC Hier Blocks]'
  5. cmake_opt: ''
  6. comment: ''
  7. copyright: ''
  8. description: ''
  9. gen_cmake: 'On'
  10. gen_linking: dynamic
  11. generate_options: qt_gui
  12. hier_block_src_path: '.:'
  13. id: Pluto_NFM
  14. max_nouts: '0'
  15. output_language: python
  16. placement: (0,0)
  17. qt_qss_theme: ''
  18. realtime_scheduling: ''
  19. run: 'True'
  20. run_command: '{python} -u {filename}'
  21. run_options: prompt
  22. sizing_mode: fixed
  23. thread_safe_setters: ''
  24. title: Pluto 2 meter NB FM
  25. window_size: (1536,1024)
  26. states:
  27. bus_sink: false
  28. bus_source: false
  29. bus_structure: null
  30. coordinate: [16, 12.0]
  31. rotation: 0
  32. state: enabled
  33.  
  34. blocks:
  35. - name: rf_decim
  36. id: variable
  37. parameters:
  38. comment: ''
  39. value: '5'
  40. states:
  41. bus_sink: false
  42. bus_source: false
  43. bus_structure: null
  44. coordinate: [272, 12.0]
  45. rotation: 0
  46. state: true
  47. - name: rf_gain
  48. id: variable_qtgui_range
  49. parameters:
  50. comment: ''
  51. gui_hint: ''
  52. label: RF Gain
  53. min_len: '200'
  54. orient: Qt.Horizontal
  55. rangeType: float
  56. start: '0'
  57. step: '1'
  58. stop: '70'
  59. value: '50'
  60. widget: slider
  61. states:
  62. bus_sink: false
  63. bus_source: false
  64. bus_structure: null
  65. coordinate: [504, 12.0]
  66. rotation: 0
  67. state: true
  68. - name: samp_rate
  69. id: variable
  70. parameters:
  71. comment: ''
  72. value: '1920000'
  73. states:
  74. bus_sink: false
  75. bus_source: false
  76. bus_structure: null
  77. coordinate: [184, 12.0]
  78. rotation: 0
  79. state: enabled
  80. - name: sq_lvl
  81. id: variable_qtgui_range
  82. parameters:
  83. comment: ''
  84. gui_hint: ''
  85. label: Squelch
  86. min_len: '200'
  87. orient: Qt.Horizontal
  88. rangeType: float
  89. start: '-100'
  90. step: '5'
  91. stop: '0'
  92. value: '-50'
  93. widget: counter_slider
  94. states:
  95. bus_sink: false
  96. bus_source: false
  97. bus_structure: null
  98. coordinate: [624, 12.0]
  99. rotation: 0
  100. state: enabled
  101. - name: tuning
  102. id: variable_qtgui_range
  103. parameters:
  104. comment: ''
  105. gui_hint: ''
  106. label: Tuning
  107. min_len: '200'
  108. orient: Qt.Horizontal
  109. rangeType: float
  110. start: 144.0e6
  111. step: 1.0e3
  112. stop: 148.0e6
  113. value: 146.94e6
  114. widget: counter_slider
  115. states:
  116. bus_sink: false
  117. bus_source: false
  118. bus_structure: null
  119. coordinate: [360, 12.0]
  120. rotation: 0
  121. state: enabled
  122. - name: volume
  123. id: variable_qtgui_range
  124. parameters:
  125. comment: ''
  126. gui_hint: ''
  127. label: Volume
  128. min_len: '200'
  129. orient: Qt.Horizontal
  130. rangeType: float
  131. start: '0'
  132. step: '0.1'
  133. stop: '1.00'
  134. value: '0.3'
  135. widget: slider
  136. states:
  137. bus_sink: false
  138. bus_source: false
  139. bus_structure: null
  140. coordinate: [744, 12.0]
  141. rotation: 0
  142. state: enabled
  143. - name: analog_nbfm_rx_0
  144. id: analog_nbfm_rx
  145. parameters:
  146. affinity: ''
  147. alias: ''
  148. audio_rate: '48000'
  149. comment: ''
  150. max_dev: 5e3
  151. maxoutbuf: '0'
  152. minoutbuf: '0'
  153. quad_rate: (int)(samp_rate/rf_decim)
  154. tau: 75e-6
  155. states:
  156. bus_sink: false
  157. bus_source: false
  158. bus_structure: null
  159. coordinate: [672, 212.0]
  160. rotation: 0
  161. state: enabled
  162. - name: analog_simple_squelch_cc_0
  163. id: analog_simple_squelch_cc
  164. parameters:
  165. affinity: ''
  166. alias: ''
  167. alpha: '1'
  168. comment: ''
  169. maxoutbuf: '0'
  170. minoutbuf: '0'
  171. threshold: sq_lvl
  172. states:
  173. bus_sink: false
  174. bus_source: false
  175. bus_structure: null
  176. coordinate: [488, 228.0]
  177. rotation: 0
  178. state: enabled
  179. - name: audio_sink_0
  180. id: audio_sink
  181. parameters:
  182. affinity: ''
  183. alias: ''
  184. comment: ''
  185. device_name: hw:CARD=Generic,DEV=0
  186. num_inputs: '1'
  187. ok_to_block: 'False'
  188. samp_rate: '48000'
  189. states:
  190. bus_sink: false
  191. bus_source: false
  192. bus_structure: null
  193. coordinate: [720, 340.0]
  194. rotation: 0
  195. state: enabled
  196. - name: blocks_multiply_const_vxx_0_0
  197. id: blocks_multiply_const_vxx
  198. parameters:
  199. affinity: ''
  200. alias: ''
  201. comment: Volume
  202. const: volume
  203. maxoutbuf: '0'
  204. minoutbuf: '0'
  205. type: float
  206. vlen: '1'
  207. states:
  208. bus_sink: false
  209. bus_source: false
  210. bus_structure: null
  211. coordinate: [552, 348.0]
  212. rotation: 0
  213. state: enabled
  214. - name: iio_pluto_source_0
  215. id: iio_pluto_source
  216. parameters:
  217. affinity: ''
  218. alias: ''
  219. auto_filter: 'True'
  220. bandwidth: '1000000'
  221. bbdc: 'True'
  222. buffer_size: '8192'
  223. comment: ''
  224. filter: ''
  225. frequency: int(tuning)
  226. gain1: '''manual'''
  227. manual_gain1: rf_gain
  228. maxoutbuf: '0'
  229. minoutbuf: '0'
  230. quadrature: 'True'
  231. rfdc: 'True'
  232. samplerate: samp_rate
  233. uri: ip:192.168.3.1
  234. states:
  235. bus_sink: false
  236. bus_source: false
  237. bus_structure: null
  238. coordinate: [64, 148.0]
  239. rotation: 0
  240. state: true
  241. - name: low_pass_filter_0
  242. id: low_pass_filter
  243. parameters:
  244. affinity: ''
  245. alias: ''
  246. beta: '6.76'
  247. comment: ''
  248. cutoff_freq: '6000'
  249. decim: rf_decim
  250. gain: '1'
  251. interp: '1'
  252. maxoutbuf: '0'
  253. minoutbuf: '0'
  254. samp_rate: samp_rate
  255. type: fir_filter_ccf
  256. width: '2000'
  257. win: firdes.WIN_HAMMING
  258. states:
  259. bus_sink: false
  260. bus_source: false
  261. bus_structure: null
  262. coordinate: [296, 188.0]
  263. rotation: 0
  264. state: enabled
  265. - name: qtgui_sink_x_0
  266. id: qtgui_sink_x
  267. parameters:
  268. affinity: ''
  269. alias: ''
  270. bw: samp_rate
  271. comment: ''
  272. fc: tuning
  273. fftsize: '1024'
  274. gui_hint: ''
  275. maxoutbuf: '0'
  276. minoutbuf: '0'
  277. name: '""'
  278. plotconst: 'True'
  279. plotfreq: 'True'
  280. plottime: 'True'
  281. plotwaterfall: 'True'
  282. rate: '10'
  283. showports: 'False'
  284. showrf: 'True'
  285. type: complex
  286. wintype: firdes.WIN_BLACKMAN_hARRIS
  287. states:
  288. bus_sink: false
  289. bus_source: false
  290. bus_structure: null
  291. coordinate: [296, 348.0]
  292. rotation: 0
  293. state: true
  294.  
  295. connections:
  296. - [analog_nbfm_rx_0, '0', blocks_multiply_const_vxx_0_0, '0']
  297. - [analog_simple_squelch_cc_0, '0', analog_nbfm_rx_0, '0']
  298. - [blocks_multiply_const_vxx_0_0, '0', audio_sink_0, '0']
  299. - [iio_pluto_source_0, '0', low_pass_filter_0, '0']
  300. - [iio_pluto_source_0, '0', qtgui_sink_x_0, '0']
  301. - [low_pass_filter_0, '0', analog_simple_squelch_cc_0, '0']
  302.  
  303. metadata:
  304. file_format: 1
Add Comment
Please, Sign In to add comment