Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- parameters:
- author: Barry Duggan
- catch_exceptions: 'True'
- category: '[GRC Hier Blocks]'
- cmake_opt: ''
- comment: ''
- copyright: ''
- description: Packet format
- gen_cmake: 'On'
- gen_linking: dynamic
- generate_options: qt_gui
- hier_block_src_path: '.:'
- id: pkt_12
- max_nouts: '0'
- output_language: python
- placement: (0,0)
- qt_qss_theme: ''
- realtime_scheduling: ''
- run: 'True'
- run_command: '{python} -u {filename}'
- run_options: prompt
- sizing_mode: fixed
- thread_safe_setters: ''
- title: pkt_12
- window_size: (1000,1000)
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [16, 12.0]
- rotation: 0
- state: enabled
- blocks:
- - name: hdr_format
- id: variable
- parameters:
- comment: header_format_crc
- value: digital.header_format_crc(len_key, num_key)
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [528, 12.0]
- rotation: 0
- state: enabled
- - name: len_key
- id: variable
- parameters:
- comment: ''
- value: '"packet_len"'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [296, 12.0]
- rotation: 0
- state: enabled
- - name: num_key
- id: variable
- parameters:
- comment: ''
- value: '"packet_num"'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [408, 12.0]
- rotation: 0
- state: enabled
- - name: samp_rate
- id: variable
- parameters:
- comment: ''
- value: '32000'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [200, 12.0]
- rotation: 0
- state: enabled
- - name: blocks_file_source_0
- id: blocks_file_source
- parameters:
- affinity: ''
- alias: ''
- begin_tag: pmt.PMT_NIL
- comment: ''
- file: /home/barry/Documents/Org2022.txt
- length: '0'
- maxoutbuf: '0'
- minoutbuf: '0'
- offset: '0'
- repeat: 'False'
- type: byte
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [64, 164.0]
- rotation: 0
- state: true
- - name: blocks_message_debug_0
- id: blocks_message_debug
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- en_uvec: 'True'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1200, 272.0]
- rotation: 180
- state: enabled
- - name: blocks_stream_to_tagged_stream_0
- id: blocks_stream_to_tagged_stream
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- len_tag_key: '"packet_len"'
- maxoutbuf: '0'
- minoutbuf: '0'
- packet_len: '290'
- type: byte
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [464, 188.0]
- rotation: 0
- state: true
- - name: blocks_throttle_0
- id: blocks_throttle
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- ignoretag: 'True'
- maxoutbuf: '0'
- minoutbuf: '0'
- samples_per_second: samp_rate
- type: byte
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [288, 196.0]
- rotation: 0
- state: true
- - name: digital_crc32_bb_0
- id: digital_crc32_bb
- parameters:
- affinity: ''
- alias: ''
- check: 'False'
- comment: ''
- lengthtagname: '"packet_len"'
- maxoutbuf: '0'
- minoutbuf: '0'
- packed: 'True'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [696, 180.0]
- rotation: 0
- state: true
- - name: digital_protocol_formatter_bb_0
- id: digital_protocol_formatter_bb
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- format: hdr_format
- len_tag_key: '"packet_len"'
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [928, 188.0]
- rotation: 0
- state: true
- - name: pdu_tagged_stream_to_pdu_0
- id: pdu_tagged_stream_to_pdu
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- tag: packet_len
- type: byte
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1168, 196.0]
- rotation: 0
- state: true
- connections:
- - [blocks_file_source_0, '0', blocks_throttle_0, '0']
- - [blocks_stream_to_tagged_stream_0, '0', digital_crc32_bb_0, '0']
- - [blocks_throttle_0, '0', blocks_stream_to_tagged_stream_0, '0']
- - [digital_crc32_bb_0, '0', digital_protocol_formatter_bb_0, '0']
- - [digital_protocol_formatter_bb_0, '0', pdu_tagged_stream_to_pdu_0, '0']
- - [pdu_tagged_stream_to_pdu_0, pdus, blocks_message_debug_0, print]
- metadata:
- file_format: 1
- grc_version: 3.10.5.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement