Guest User

packet_msg.grc

a guest
Jun 22nd, 2025
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.35 KB | None | 0 0
  1. options:
  2. parameters:
  3. author: ''
  4. catch_exceptions: 'True'
  5. category: '[GRC Hier Blocks]'
  6. cmake_opt: ''
  7. comment: ''
  8. copyright: ''
  9. description: ''
  10. gen_cmake: 'On'
  11. gen_linking: dynamic
  12. generate_options: qt_gui
  13. hier_block_src_path: '.:'
  14. id: packet_msg
  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: Not titled yet
  26. window_size: (1000,1000)
  27. states:
  28. bus_sink: false
  29. bus_source: false
  30. bus_structure: null
  31. coordinate: [8, 8]
  32. rotation: 0
  33. state: enabled
  34.  
  35. blocks:
  36. - name: constellation
  37. id: variable_constellation
  38. parameters:
  39. comment: ''
  40. const_points: '[-1-1j, -1+1j, 1+1j, 1-1j]'
  41. dims: '1'
  42. normalization: digital.constellation.AMPLITUDE_NORMALIZATION
  43. npwr: '1.0'
  44. precision: '8'
  45. rot_sym: '4'
  46. soft_dec_lut: None
  47. sym_map: '[0, 1, 3, 2]'
  48. type: bpsk
  49. states:
  50. bus_sink: false
  51. bus_source: false
  52. bus_structure: null
  53. coordinate: [568, 24.0]
  54. rotation: 0
  55. state: disabled
  56. - name: constellation
  57. id: variable_constellation
  58. parameters:
  59. comment: ''
  60. const_points: '[1,-1]'
  61. dims: '1'
  62. normalization: digital.constellation.AMPLITUDE_NORMALIZATION
  63. npwr: '1.0'
  64. precision: '8'
  65. rot_sym: '2'
  66. soft_dec_lut: None
  67. sym_map: '[0,1]'
  68. type: calcdist
  69. states:
  70. bus_sink: false
  71. bus_source: false
  72. bus_structure: null
  73. coordinate: [728, 24.0]
  74. rotation: 0
  75. state: enabled
  76. - name: dec
  77. id: variable_cc_decoder_def
  78. parameters:
  79. comment: ''
  80. dim1: '1'
  81. dim2: '1'
  82. framebits: '2048'
  83. k: '7'
  84. mode: fec.CC_TRUNCATED
  85. ndim: '0'
  86. padding: 'False'
  87. polys: '[79,109]'
  88. rate: '2'
  89. state_end: '-1'
  90. state_start: '0'
  91. value: '"ok"'
  92. states:
  93. bus_sink: false
  94. bus_source: false
  95. bus_structure: null
  96. coordinate: [1704, 44.0]
  97. rotation: 0
  98. state: enabled
  99. - name: enc
  100. id: variable_cc_encoder_def
  101. parameters:
  102. comment: ''
  103. dim1: '1'
  104. dim2: '1'
  105. framebits: '2048'
  106. k: '7'
  107. mode: fec.CC_TRUNCATED
  108. ndim: '0'
  109. padding: 'False'
  110. polys: '[79,109]'
  111. rate: '2'
  112. state_start: '0'
  113. states:
  114. bus_sink: false
  115. bus_source: false
  116. bus_structure: null
  117. coordinate: [1464, 44.0]
  118. rotation: 0
  119. state: enabled
  120. - name: hdr_fmt
  121. id: variable_header_format_default
  122. parameters:
  123. access_code: '1010110011011101101001001110001011110010100011000010000011111100'
  124. bps: '1'
  125. comment: ''
  126. threshold: '1'
  127. states:
  128. bus_sink: false
  129. bus_source: false
  130. bus_structure: null
  131. coordinate: [1240, 48.0]
  132. rotation: 0
  133. state: enabled
  134. - name: my_fec
  135. id: variable_ccsds_encoder_def
  136. parameters:
  137. comment: ''
  138. dim1: '1'
  139. dim2: '1'
  140. framebits: '2048'
  141. mode: fec.CC_STREAMING
  142. ndim: '0'
  143. state_start: '0'
  144. states:
  145. bus_sink: false
  146. bus_source: false
  147. bus_structure: null
  148. coordinate: [1008, 48.0]
  149. rotation: 0
  150. state: enabled
  151. - name: radio_taps
  152. id: variable_rrc_filter_taps
  153. parameters:
  154. alpha: '0.35'
  155. comment: ''
  156. gain: '32'
  157. ntaps: 11*sps*32
  158. samp_rate: '32'
  159. sym_rate: '.5'
  160. value: ''
  161. states:
  162. bus_sink: false
  163. bus_source: false
  164. bus_structure: null
  165. coordinate: [384, 16.0]
  166. rotation: 0
  167. state: enabled
  168. - name: samp_rate
  169. id: variable
  170. parameters:
  171. comment: ''
  172. value: '32000'
  173. states:
  174. bus_sink: false
  175. bus_source: false
  176. bus_structure: null
  177. coordinate: [200, 12]
  178. rotation: 0
  179. state: enabled
  180. - name: sps
  181. id: variable
  182. parameters:
  183. comment: ''
  184. value: '2'
  185. states:
  186. bus_sink: false
  187. bus_source: false
  188. bus_structure: null
  189. coordinate: [296, 16.0]
  190. rotation: 0
  191. state: enabled
  192. - name: blocks_complex_to_mag_0
  193. id: blocks_complex_to_mag
  194. parameters:
  195. affinity: ''
  196. alias: ''
  197. comment: ''
  198. maxoutbuf: '0'
  199. minoutbuf: '0'
  200. vlen: '1'
  201. states:
  202. bus_sink: false
  203. bus_source: false
  204. bus_structure: null
  205. coordinate: [576, 568.0]
  206. rotation: 180
  207. state: enabled
  208. - name: blocks_message_debug_0
  209. id: blocks_message_debug
  210. parameters:
  211. affinity: ''
  212. alias: ''
  213. comment: ''
  214. en_uvec: 'True'
  215. log_level: info
  216. states:
  217. bus_sink: false
  218. bus_source: false
  219. bus_structure: null
  220. coordinate: [336, 736.0]
  221. rotation: 180
  222. state: enabled
  223. - name: blocks_message_strobe_0
  224. id: blocks_message_strobe
  225. parameters:
  226. affinity: ''
  227. alias: ''
  228. comment: ''
  229. maxoutbuf: '0'
  230. minoutbuf: '0'
  231. msg: pmt.cons(pmt.PMT_NIL,pmt.init_u8vector(9,(71,78,85,32,82,97,100,105,111)))
  232. period: '2000'
  233. states:
  234. bus_sink: false
  235. bus_source: false
  236. bus_structure: null
  237. coordinate: [544, 248.0]
  238. rotation: 0
  239. state: enabled
  240. - name: blocks_throttle2_0
  241. id: blocks_throttle2
  242. parameters:
  243. affinity: ''
  244. alias: ''
  245. comment: ''
  246. ignoretag: 'True'
  247. limit: auto
  248. maximum: '0.1'
  249. maxoutbuf: '0'
  250. minoutbuf: '0'
  251. samples_per_second: samp_rate
  252. type: complex
  253. vlen: '1'
  254. states:
  255. bus_sink: false
  256. bus_source: false
  257. bus_structure: null
  258. coordinate: [1480.0, 464]
  259. rotation: 270
  260. state: enabled
  261. - name: foo_periodic_msg_source_0
  262. id: foo_periodic_msg_source
  263. parameters:
  264. affinity: ''
  265. alias: ''
  266. comment: ''
  267. debug: 'False'
  268. interval: '1000'
  269. maxoutbuf: '0'
  270. minoutbuf: '0'
  271. msg: pmt.intern("Hello World!")
  272. num: '-1'
  273. quit: 'True'
  274. states:
  275. bus_sink: false
  276. bus_source: false
  277. bus_structure: null
  278. coordinate: [512, 320.0]
  279. rotation: 0
  280. state: enabled
  281. - name: packet_rx_0
  282. id: packet_rx
  283. parameters:
  284. affinity: ''
  285. alias: ''
  286. comment: ''
  287. eb: '0.35'
  288. hdr_const: constellation
  289. hdr_format: hdr_fmt
  290. maxoutbuf: '0'
  291. minoutbuf: '0'
  292. pld_const: constellation
  293. preamble: '[0xe1, 0x39, 0xcc, 0xb0, 0xf6, 0xa6, 0xdd, 0x24, 0xe8, 0x58, 0xae,
  294. 0x08, 0xd5, 0xf1, 0x19, 0x42]'
  295. psf_taps: radio_taps
  296. sps: '2'
  297. states:
  298. bus_sink: false
  299. bus_source: false
  300. bus_structure: null
  301. coordinate: [848, 688.0]
  302. rotation: 180
  303. state: enabled
  304. - name: packet_tx_0
  305. id: packet_tx
  306. parameters:
  307. affinity: ''
  308. alias: ''
  309. comment: ''
  310. hdr_const: constellation
  311. hdr_enc: enc
  312. hdr_format: hdr_fmt
  313. maxoutbuf: '0'
  314. minoutbuf: '0'
  315. pld_const: constellation
  316. pld_enc: enc
  317. psf_taps: radio_taps
  318. sps: '2'
  319. states:
  320. bus_sink: false
  321. bus_source: false
  322. bus_structure: null
  323. coordinate: [872, 288.0]
  324. rotation: 0
  325. state: enabled
  326. - name: qtgui_const_sink_x_0
  327. id: qtgui_const_sink_x
  328. parameters:
  329. affinity: ''
  330. alias: ''
  331. alpha1: '1.0'
  332. alpha10: '1.0'
  333. alpha2: '1.0'
  334. alpha3: '1.0'
  335. alpha4: '1.0'
  336. alpha5: '1.0'
  337. alpha6: '1.0'
  338. alpha7: '1.0'
  339. alpha8: '1.0'
  340. alpha9: '1.0'
  341. autoscale: 'False'
  342. axislabels: 'True'
  343. color1: '"blue"'
  344. color10: '"dark blue"'
  345. color2: '"red"'
  346. color3: '"green"'
  347. color4: '"black"'
  348. color5: '"cyan"'
  349. color6: '"magenta"'
  350. color7: '"yellow"'
  351. color8: '"dark red"'
  352. color9: '"dark green"'
  353. comment: ''
  354. grid: 'False'
  355. gui_hint: ''
  356. label1: ''
  357. label10: ''
  358. label2: ''
  359. label3: ''
  360. label4: ''
  361. label5: ''
  362. label6: ''
  363. label7: ''
  364. label8: ''
  365. label9: ''
  366. legend: 'True'
  367. marker1: '0'
  368. marker10: '0'
  369. marker2: '0'
  370. marker3: '0'
  371. marker4: '0'
  372. marker5: '0'
  373. marker6: '0'
  374. marker7: '0'
  375. marker8: '0'
  376. marker9: '0'
  377. name: '"Clock Sync Out"'
  378. nconnections: '1'
  379. size: '1024'
  380. style1: '0'
  381. style10: '0'
  382. style2: '0'
  383. style3: '0'
  384. style4: '0'
  385. style5: '0'
  386. style6: '0'
  387. style7: '0'
  388. style8: '0'
  389. style9: '0'
  390. tr_chan: '0'
  391. tr_level: '0.0'
  392. tr_mode: qtgui.TRIG_MODE_FREE
  393. tr_slope: qtgui.TRIG_SLOPE_POS
  394. tr_tag: '""'
  395. type: complex
  396. update_time: '0.10'
  397. width1: '1'
  398. width10: '1'
  399. width2: '1'
  400. width3: '1'
  401. width4: '1'
  402. width5: '1'
  403. width6: '1'
  404. width7: '1'
  405. width8: '1'
  406. width9: '1'
  407. xmax: '2'
  408. xmin: '-2'
  409. ymax: '2'
  410. ymin: '-2'
  411. states:
  412. bus_sink: false
  413. bus_source: false
  414. bus_structure: null
  415. coordinate: [808, 568.0]
  416. rotation: 0
  417. state: enabled
  418. - name: qtgui_freq_sink_x_0
  419. id: qtgui_freq_sink_x
  420. parameters:
  421. affinity: ''
  422. alias: ''
  423. alpha1: '1.0'
  424. alpha10: '1.0'
  425. alpha2: '1.0'
  426. alpha3: '1.0'
  427. alpha4: '1.0'
  428. alpha5: '1.0'
  429. alpha6: '1.0'
  430. alpha7: '1.0'
  431. alpha8: '1.0'
  432. alpha9: '1.0'
  433. autoscale: 'False'
  434. average: '1.0'
  435. axislabels: 'True'
  436. bw: samp_rate
  437. color1: '"blue"'
  438. color10: '"dark blue"'
  439. color2: '"red"'
  440. color3: '"green"'
  441. color4: '"black"'
  442. color5: '"cyan"'
  443. color6: '"magenta"'
  444. color7: '"yellow"'
  445. color8: '"dark red"'
  446. color9: '"dark green"'
  447. comment: ''
  448. ctrlpanel: 'False'
  449. fc: '0'
  450. fftsize: '1024'
  451. freqhalf: 'True'
  452. grid: 'False'
  453. gui_hint: ''
  454. label: Relative Gain
  455. label1: ''
  456. label10: ''''''
  457. label2: ''''''
  458. label3: ''''''
  459. label4: ''''''
  460. label5: ''''''
  461. label6: ''''''
  462. label7: ''''''
  463. label8: ''''''
  464. label9: ''''''
  465. legend: 'True'
  466. maxoutbuf: '0'
  467. minoutbuf: '0'
  468. name: '"RF"'
  469. nconnections: '1'
  470. norm_window: 'False'
  471. showports: 'False'
  472. tr_chan: '0'
  473. tr_level: '0.0'
  474. tr_mode: qtgui.TRIG_MODE_FREE
  475. tr_tag: '""'
  476. type: complex
  477. units: dB
  478. update_time: '0.10'
  479. width1: '1'
  480. width10: '1'
  481. width2: '1'
  482. width3: '1'
  483. width4: '1'
  484. width5: '1'
  485. width6: '1'
  486. width7: '1'
  487. width8: '1'
  488. width9: '1'
  489. wintype: window.WIN_BLACKMAN_hARRIS
  490. ymax: '10'
  491. ymin: '-140'
  492. states:
  493. bus_sink: false
  494. bus_source: false
  495. bus_structure: null
  496. coordinate: [1792, 608.0]
  497. rotation: 0
  498. state: enabled
  499. - name: qtgui_freq_sink_x_0_0
  500. id: qtgui_freq_sink_x
  501. parameters:
  502. affinity: ''
  503. alias: ''
  504. alpha1: '1.0'
  505. alpha10: '1.0'
  506. alpha2: '1.0'
  507. alpha3: '1.0'
  508. alpha4: '1.0'
  509. alpha5: '1.0'
  510. alpha6: '1.0'
  511. alpha7: '1.0'
  512. alpha8: '1.0'
  513. alpha9: '1.0'
  514. autoscale: 'False'
  515. average: '1.0'
  516. axislabels: 'True'
  517. bw: samp_rate
  518. color1: '"blue"'
  519. color10: '"dark blue"'
  520. color2: '"red"'
  521. color3: '"green"'
  522. color4: '"black"'
  523. color5: '"cyan"'
  524. color6: '"magenta"'
  525. color7: '"yellow"'
  526. color8: '"dark red"'
  527. color9: '"dark green"'
  528. comment: ''
  529. ctrlpanel: 'False'
  530. fc: '0'
  531. fftsize: '1024'
  532. freqhalf: 'True'
  533. grid: 'False'
  534. gui_hint: ''
  535. label: Relative Gain
  536. label1: ''
  537. label10: ''''''
  538. label2: ''''''
  539. label3: ''''''
  540. label4: ''''''
  541. label5: ''''''
  542. label6: ''''''
  543. label7: ''''''
  544. label8: ''''''
  545. label9: ''''''
  546. legend: 'True'
  547. maxoutbuf: '0'
  548. minoutbuf: '0'
  549. name: '"Correlated Stream Out"'
  550. nconnections: '1'
  551. norm_window: 'False'
  552. showports: 'True'
  553. tr_chan: '0'
  554. tr_level: '0.0'
  555. tr_mode: qtgui.TRIG_MODE_FREE
  556. tr_tag: '""'
  557. type: complex
  558. units: dB
  559. update_time: '0.10'
  560. width1: '1'
  561. width10: '1'
  562. width2: '1'
  563. width3: '1'
  564. width4: '1'
  565. width5: '1'
  566. width6: '1'
  567. width7: '1'
  568. width8: '1'
  569. width9: '1'
  570. wintype: window.WIN_BLACKMAN_hARRIS
  571. ymax: '10'
  572. ymin: '-140'
  573. states:
  574. bus_sink: false
  575. bus_source: false
  576. bus_structure: null
  577. coordinate: [528, 880.0]
  578. rotation: 180
  579. state: enabled
  580. - name: qtgui_time_sink_x_0
  581. id: qtgui_time_sink_x
  582. parameters:
  583. affinity: ''
  584. alias: ''
  585. alpha1: '1.0'
  586. alpha10: '1.0'
  587. alpha2: '1.0'
  588. alpha3: '1.0'
  589. alpha4: '1.0'
  590. alpha5: '1.0'
  591. alpha6: '1.0'
  592. alpha7: '1.0'
  593. alpha8: '1.0'
  594. alpha9: '1.0'
  595. autoscale: 'False'
  596. axislabels: 'True'
  597. color1: blue
  598. color10: dark blue
  599. color2: red
  600. color3: green
  601. color4: black
  602. color5: cyan
  603. color6: magenta
  604. color7: yellow
  605. color8: dark red
  606. color9: dark green
  607. comment: ''
  608. ctrlpanel: 'False'
  609. entags: 'True'
  610. grid: 'False'
  611. gui_hint: ''
  612. label1: Signal 1
  613. label10: Signal 10
  614. label2: Signal 2
  615. label3: Signal 3
  616. label4: Signal 4
  617. label5: Signal 5
  618. label6: Signal 6
  619. label7: Signal 7
  620. label8: Signal 8
  621. label9: Signal 9
  622. legend: 'True'
  623. marker1: '-1'
  624. marker10: '-1'
  625. marker2: '-1'
  626. marker3: '-1'
  627. marker4: '-1'
  628. marker5: '-1'
  629. marker6: '-1'
  630. marker7: '-1'
  631. marker8: '-1'
  632. marker9: '-1'
  633. name: '"Correlation Estimate"'
  634. nconnections: '1'
  635. size: '1024'
  636. srate: '32000'
  637. stemplot: 'False'
  638. style1: '1'
  639. style10: '1'
  640. style2: '1'
  641. style3: '1'
  642. style4: '1'
  643. style5: '1'
  644. style6: '1'
  645. style7: '1'
  646. style8: '1'
  647. style9: '1'
  648. tr_chan: '0'
  649. tr_delay: '0'
  650. tr_level: '0.0'
  651. tr_mode: qtgui.TRIG_MODE_FREE
  652. tr_slope: qtgui.TRIG_SLOPE_POS
  653. tr_tag: time_est
  654. type: float
  655. update_time: '0.10'
  656. width1: '1'
  657. width10: '1'
  658. width2: '1'
  659. width3: '1'
  660. width4: '1'
  661. width5: '1'
  662. width6: '1'
  663. width7: '1'
  664. width8: '1'
  665. width9: '1'
  666. ylabel: Amplitude
  667. ymax: '1'
  668. ymin: '-1'
  669. yunit: '""'
  670. states:
  671. bus_sink: false
  672. bus_source: false
  673. bus_structure: null
  674. coordinate: [288, 512.0]
  675. rotation: 180
  676. state: enabled
  677. - name: qtgui_time_sink_x_1
  678. id: qtgui_time_sink_x
  679. parameters:
  680. affinity: ''
  681. alias: ''
  682. alpha1: '1.0'
  683. alpha10: '1.0'
  684. alpha2: '1.0'
  685. alpha3: '1.0'
  686. alpha4: '1.0'
  687. alpha5: '1.0'
  688. alpha6: '1.0'
  689. alpha7: '1.0'
  690. alpha8: '1.0'
  691. alpha9: '1.0'
  692. autoscale: 'False'
  693. axislabels: 'True'
  694. color1: blue
  695. color10: dark blue
  696. color2: red
  697. color3: green
  698. color4: black
  699. color5: cyan
  700. color6: magenta
  701. color7: yellow
  702. color8: dark red
  703. color9: dark green
  704. comment: ''
  705. ctrlpanel: 'False'
  706. entags: 'True'
  707. grid: 'False'
  708. gui_hint: ''
  709. label1: Signal 1
  710. label10: Signal 10
  711. label2: Signal 2
  712. label3: Signal 3
  713. label4: Signal 4
  714. label5: Signal 5
  715. label6: Signal 6
  716. label7: Signal 7
  717. label8: Signal 8
  718. label9: Signal 9
  719. legend: 'True'
  720. marker1: '-1'
  721. marker10: '-1'
  722. marker2: '-1'
  723. marker3: '-1'
  724. marker4: '-1'
  725. marker5: '-1'
  726. marker6: '-1'
  727. marker7: '-1'
  728. marker8: '-1'
  729. marker9: '-1'
  730. name: '"Correlated Stream Out"'
  731. nconnections: '1'
  732. size: '1024'
  733. srate: samp_rate
  734. stemplot: 'False'
  735. style1: '1'
  736. style10: '1'
  737. style2: '1'
  738. style3: '1'
  739. style4: '1'
  740. style5: '1'
  741. style6: '1'
  742. style7: '1'
  743. style8: '1'
  744. style9: '1'
  745. tr_chan: '0'
  746. tr_delay: '0'
  747. tr_level: '0.0'
  748. tr_mode: qtgui.TRIG_MODE_FREE
  749. tr_slope: qtgui.TRIG_SLOPE_POS
  750. tr_tag: time_est
  751. type: complex
  752. update_time: '0.10'
  753. width1: '1'
  754. width10: '1'
  755. width2: '1'
  756. width3: '1'
  757. width4: '1'
  758. width5: '1'
  759. width6: '1'
  760. width7: '1'
  761. width8: '1'
  762. width9: '1'
  763. ylabel: Amplitude
  764. ymax: '1'
  765. ymin: '-1'
  766. yunit: '""'
  767. states:
  768. bus_sink: false
  769. bus_source: false
  770. bus_structure: null
  771. coordinate: [424, 608.0]
  772. rotation: 180
  773. state: enabled
  774.  
  775. connections:
  776. - [blocks_complex_to_mag_0, '0', qtgui_time_sink_x_0, '0']
  777. - [blocks_message_strobe_0, strobe, packet_tx_0, in]
  778. - [blocks_throttle2_0, '0', packet_rx_0, '0']
  779. - [blocks_throttle2_0, '0', qtgui_freq_sink_x_0, '0']
  780. - [packet_rx_0, '0', blocks_complex_to_mag_0, '0']
  781. - [packet_rx_0, '0', qtgui_const_sink_x_0, '0']
  782. - [packet_rx_0, '1', qtgui_freq_sink_x_0_0, '0']
  783. - [packet_rx_0, '1', qtgui_time_sink_x_1, '0']
  784. - [packet_rx_0, msw out, blocks_message_debug_0, log]
  785. - [packet_tx_0, '0', blocks_throttle2_0, '0']
  786. - [packet_tx_0, hdr_fec_out, blocks_message_debug_0, print]
  787.  
  788. metadata:
  789. file_format: 1
  790. grc_version: 3.10.12.0
  791.  
Advertisement
Add Comment
Please, Sign In to add comment