Advertisement
duggabe

pkt_11.grc

Oct 4th, 2021
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.61 KB | None | 0 0
  1. options:
  2. parameters:
  3. author: Barry Duggan
  4. catch_exceptions: 'True'
  5. category: Custom
  6. cmake_opt: ''
  7. comment: ''
  8. copyright: ''
  9. description: pkt_11
  10. gen_cmake: 'On'
  11. gen_linking: dynamic
  12. generate_options: qt_gui
  13. hier_block_src_path: '.:'
  14. id: pkt_11
  15. max_nouts: '0'
  16. output_language: python
  17. placement: (0,0)
  18. qt_qss_theme: ''
  19. realtime_scheduling: ''
  20. run: 'True'
  21. run_command: '{python} -u {filename}'
  22. run_options: prompt
  23. sizing_mode: fixed
  24. thread_safe_setters: ''
  25. title: pkt_11
  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: filt_delay
  36. id: variable
  37. parameters:
  38. comment: ''
  39. value: int(1+(taps_per_filt-1)//2)
  40. states:
  41. bus_sink: false
  42. bus_source: false
  43. bus_structure: null
  44. coordinate: [360, 76.0]
  45. rotation: 0
  46. state: enabled
  47. - name: hdr_format
  48. id: variable
  49. parameters:
  50. comment: ''
  51. value: digital.header_format_crc(len_key, num_key)
  52. states:
  53. bus_sink: false
  54. bus_source: false
  55. bus_structure: null
  56. coordinate: [272, 12.0]
  57. rotation: 0
  58. state: enabled
  59. - name: len_key
  60. id: variable
  61. parameters:
  62. comment: ''
  63. value: '"packet_len"'
  64. states:
  65. bus_sink: false
  66. bus_source: false
  67. bus_structure: null
  68. coordinate: [456, 12.0]
  69. rotation: 0
  70. state: enabled
  71. - name: nfilts
  72. id: variable
  73. parameters:
  74. comment: ''
  75. value: '32'
  76. states:
  77. bus_sink: false
  78. bus_source: false
  79. bus_structure: null
  80. coordinate: [184, 76.0]
  81. rotation: 0
  82. state: enabled
  83. - name: num_key
  84. id: variable
  85. parameters:
  86. comment: ''
  87. value: '"packet_num"'
  88. states:
  89. bus_sink: false
  90. bus_source: false
  91. bus_structure: null
  92. coordinate: [568, 12.0]
  93. rotation: 0
  94. state: enabled
  95. - name: samp_rate
  96. id: variable
  97. parameters:
  98. comment: ''
  99. value: '48000'
  100. states:
  101. bus_sink: false
  102. bus_source: false
  103. bus_structure: null
  104. coordinate: [184, 12.0]
  105. rotation: 0
  106. state: true
  107. - name: taps_per_filt
  108. id: variable
  109. parameters:
  110. comment: ''
  111. value: len(psf_taps)/nfilts
  112. states:
  113. bus_sink: false
  114. bus_source: false
  115. bus_structure: null
  116. coordinate: [256, 76.0]
  117. rotation: 0
  118. state: enabled
  119. - name: blocks_char_to_float_0
  120. id: blocks_char_to_float
  121. parameters:
  122. affinity: ''
  123. alias: ''
  124. comment: ''
  125. maxoutbuf: '0'
  126. minoutbuf: '0'
  127. scale: '1'
  128. vlen: '1'
  129. states:
  130. bus_sink: false
  131. bus_source: false
  132. bus_structure: null
  133. coordinate: [544, 308.0]
  134. rotation: 0
  135. state: true
  136. - name: blocks_float_to_complex_0
  137. id: blocks_float_to_complex
  138. parameters:
  139. affinity: ''
  140. alias: ''
  141. comment: ''
  142. maxoutbuf: '0'
  143. minoutbuf: '0'
  144. vlen: '1'
  145. states:
  146. bus_sink: false
  147. bus_source: false
  148. bus_structure: null
  149. coordinate: [704, 312.0]
  150. rotation: 0
  151. state: true
  152. - name: blocks_message_strobe_0
  153. id: blocks_message_strobe
  154. parameters:
  155. affinity: ''
  156. alias: ''
  157. comment: ''
  158. maxoutbuf: '0'
  159. minoutbuf: '0'
  160. msg: pmt.cons(pmt.PMT_NIL,pmt.init_u8vector(9,(71,78,85,32,82,97,100,105,111)))
  161. period: '1000'
  162. states:
  163. bus_sink: false
  164. bus_source: false
  165. bus_structure: null
  166. coordinate: [72, 164.0]
  167. rotation: 0
  168. state: enabled
  169. - name: blocks_null_source_0
  170. id: blocks_null_source
  171. parameters:
  172. affinity: ''
  173. alias: ''
  174. bus_structure_source: '[[0,],]'
  175. comment: ''
  176. maxoutbuf: '0'
  177. minoutbuf: '0'
  178. num_outputs: '1'
  179. type: float
  180. vlen: '1'
  181. states:
  182. bus_sink: false
  183. bus_source: false
  184. bus_structure: null
  185. coordinate: [512, 360.0]
  186. rotation: 0
  187. state: true
  188. - name: blocks_repack_bits_bb_0
  189. id: blocks_repack_bits_bb
  190. parameters:
  191. affinity: ''
  192. alias: ''
  193. align_output: 'False'
  194. comment: ''
  195. endianness: gr.GR_MSB_FIRST
  196. k: '8'
  197. l: '1'
  198. len_tag_key: len_key
  199. maxoutbuf: '0'
  200. minoutbuf: '0'
  201. states:
  202. bus_sink: false
  203. bus_source: false
  204. bus_structure: null
  205. coordinate: [336, 300.0]
  206. rotation: 0
  207. state: enabled
  208. - name: blocks_tagged_stream_mux_0
  209. id: blocks_tagged_stream_mux
  210. parameters:
  211. affinity: ''
  212. alias: ''
  213. comment: ''
  214. lengthtagname: '"packet_len"'
  215. maxoutbuf: '0'
  216. minoutbuf: '0'
  217. ninputs: '2'
  218. tag_preserve_head_pos: '0'
  219. type: byte
  220. vlen: '1'
  221. states:
  222. bus_sink: false
  223. bus_source: false
  224. bus_structure: null
  225. coordinate: [1064, 160.0]
  226. rotation: 0
  227. state: true
  228. - name: blocks_throttle_0
  229. id: blocks_throttle
  230. parameters:
  231. affinity: ''
  232. alias: ''
  233. comment: ''
  234. ignoretag: 'True'
  235. maxoutbuf: '0'
  236. minoutbuf: '0'
  237. samples_per_second: samp_rate
  238. type: byte
  239. vlen: '1'
  240. states:
  241. bus_sink: false
  242. bus_source: false
  243. bus_structure: null
  244. coordinate: [168, 308.0]
  245. rotation: 0
  246. state: enabled
  247. - name: digital_burst_shaper_xx_0
  248. id: digital_burst_shaper_xx
  249. parameters:
  250. affinity: ''
  251. alias: burst_shaper0
  252. comment: ''
  253. insert_phasing: 'True'
  254. length_tag_name: packet_len
  255. maxoutbuf: '0'
  256. minoutbuf: '0'
  257. post_padding: filt_delay
  258. pre_padding: '0'
  259. type: complex
  260. window: firdes.window(window.WIN_HANN, 20, 0)
  261. states:
  262. bus_sink: false
  263. bus_source: false
  264. bus_structure: null
  265. coordinate: [888, 292.0]
  266. rotation: 0
  267. state: enabled
  268. - name: digital_crc32_async_bb_1
  269. id: digital_crc32_async_bb
  270. parameters:
  271. affinity: ''
  272. alias: ''
  273. check: 'False'
  274. comment: ''
  275. maxoutbuf: '0'
  276. minoutbuf: '0'
  277. states:
  278. bus_sink: false
  279. bus_source: false
  280. bus_structure: null
  281. coordinate: [328, 172.0]
  282. rotation: 0
  283. state: enabled
  284. - name: digital_protocol_formatter_async_0
  285. id: digital_protocol_formatter_async
  286. parameters:
  287. affinity: ''
  288. alias: ''
  289. comment: ''
  290. format: hdr_format
  291. maxoutbuf: '0'
  292. minoutbuf: '0'
  293. states:
  294. bus_sink: false
  295. bus_source: false
  296. bus_structure: null
  297. coordinate: [520, 160.0]
  298. rotation: 0
  299. state: enabled
  300. - name: pdu_pdu_to_tagged_stream_0
  301. id: pdu_pdu_to_tagged_stream
  302. parameters:
  303. affinity: ''
  304. alias: ''
  305. comment: ''
  306. maxoutbuf: '0'
  307. minoutbuf: '0'
  308. tag: '"packet_len"'
  309. type: byte
  310. states:
  311. bus_sink: false
  312. bus_source: false
  313. bus_structure: null
  314. coordinate: [816, 156.0]
  315. rotation: 0
  316. state: enabled
  317. - name: pdu_pdu_to_tagged_stream_2
  318. id: pdu_pdu_to_tagged_stream
  319. parameters:
  320. affinity: ''
  321. alias: ''
  322. comment: ''
  323. maxoutbuf: '0'
  324. minoutbuf: '0'
  325. tag: '"packet_len"'
  326. type: byte
  327. states:
  328. bus_sink: false
  329. bus_source: false
  330. bus_structure: null
  331. coordinate: [816, 220.0]
  332. rotation: 0
  333. state: true
  334. - name: psf_taps
  335. id: parameter
  336. parameters:
  337. alias: ''
  338. comment: ''
  339. hide: none
  340. label: Pulse Shape Filter
  341. short_id: ''
  342. type: ''
  343. value: '[0,]'
  344. states:
  345. bus_sink: false
  346. bus_source: false
  347. bus_structure: null
  348. coordinate: [448, 76.0]
  349. rotation: 0
  350. state: enabled
  351. - name: qtgui_time_sink_x_0
  352. id: qtgui_time_sink_x
  353. parameters:
  354. affinity: ''
  355. alias: ''
  356. alpha1: '1.0'
  357. alpha10: '1.0'
  358. alpha2: '1.0'
  359. alpha3: '1.0'
  360. alpha4: '1.0'
  361. alpha5: '1.0'
  362. alpha6: '1.0'
  363. alpha7: '1.0'
  364. alpha8: '1.0'
  365. alpha9: '1.0'
  366. autoscale: 'False'
  367. axislabels: 'True'
  368. color1: blue
  369. color10: dark blue
  370. color2: red
  371. color3: green
  372. color4: black
  373. color5: cyan
  374. color6: magenta
  375. color7: yellow
  376. color8: dark red
  377. color9: dark green
  378. comment: ''
  379. ctrlpanel: 'True'
  380. entags: 'True'
  381. grid: 'False'
  382. gui_hint: ''
  383. label1: Signal 1
  384. label10: Signal 10
  385. label2: Signal 2
  386. label3: Signal 3
  387. label4: Signal 4
  388. label5: Signal 5
  389. label6: Signal 6
  390. label7: Signal 7
  391. label8: Signal 8
  392. label9: Signal 9
  393. legend: 'True'
  394. marker1: '-1'
  395. marker10: '-1'
  396. marker2: '-1'
  397. marker3: '-1'
  398. marker4: '-1'
  399. marker5: '-1'
  400. marker6: '-1'
  401. marker7: '-1'
  402. marker8: '-1'
  403. marker9: '-1'
  404. name: '""'
  405. nconnections: '1'
  406. size: '256'
  407. srate: samp_rate
  408. stemplot: 'False'
  409. style1: '1'
  410. style10: '1'
  411. style2: '1'
  412. style3: '1'
  413. style4: '1'
  414. style5: '1'
  415. style6: '1'
  416. style7: '1'
  417. style8: '1'
  418. style9: '1'
  419. tr_chan: '0'
  420. tr_delay: '0'
  421. tr_level: '0.0'
  422. tr_mode: qtgui.TRIG_MODE_TAG
  423. tr_slope: qtgui.TRIG_SLOPE_POS
  424. tr_tag: '"packet_len"'
  425. type: complex
  426. update_time: '0.10'
  427. width1: '1'
  428. width10: '1'
  429. width2: '1'
  430. width3: '1'
  431. width4: '1'
  432. width5: '1'
  433. width6: '1'
  434. width7: '1'
  435. width8: '1'
  436. width9: '1'
  437. ylabel: Amplitude
  438. ymax: '1'
  439. ymin: '-1'
  440. yunit: '""'
  441. states:
  442. bus_sink: false
  443. bus_source: false
  444. bus_structure: null
  445. coordinate: [1128, 308.0]
  446. rotation: 0
  447. state: true
  448. - name: virtual_sink_0
  449. id: virtual_sink
  450. parameters:
  451. alias: ''
  452. comment: ''
  453. stream_id: xs1
  454. states:
  455. bus_sink: false
  456. bus_source: false
  457. bus_structure: null
  458. coordinate: [1296, 172.0]
  459. rotation: 0
  460. state: true
  461. - name: virtual_source_0
  462. id: virtual_source
  463. parameters:
  464. alias: ''
  465. comment: ''
  466. stream_id: xs1
  467. states:
  468. bus_sink: false
  469. bus_source: false
  470. bus_structure: null
  471. coordinate: [16, 308.0]
  472. rotation: 0
  473. state: true
  474.  
  475. connections:
  476. - [blocks_char_to_float_0, '0', blocks_float_to_complex_0, '0']
  477. - [blocks_float_to_complex_0, '0', digital_burst_shaper_xx_0, '0']
  478. - [blocks_message_strobe_0, strobe, digital_crc32_async_bb_1, in]
  479. - [blocks_null_source_0, '0', blocks_float_to_complex_0, '1']
  480. - [blocks_repack_bits_bb_0, '0', blocks_char_to_float_0, '0']
  481. - [blocks_tagged_stream_mux_0, '0', virtual_sink_0, '0']
  482. - [blocks_throttle_0, '0', blocks_repack_bits_bb_0, '0']
  483. - [digital_burst_shaper_xx_0, '0', qtgui_time_sink_x_0, '0']
  484. - [digital_crc32_async_bb_1, out, digital_protocol_formatter_async_0, in]
  485. - [digital_protocol_formatter_async_0, header, pdu_pdu_to_tagged_stream_0, pdus]
  486. - [digital_protocol_formatter_async_0, payload, pdu_pdu_to_tagged_stream_2, pdus]
  487. - [pdu_pdu_to_tagged_stream_0, '0', blocks_tagged_stream_mux_0, '0']
  488. - [pdu_pdu_to_tagged_stream_2, '0', blocks_tagged_stream_mux_0, '1']
  489. - [virtual_source_0, '0', blocks_throttle_0, '0']
  490.  
  491. metadata:
  492. file_format: 1
  493.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement