Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- parameters:
- author: Barry Duggan
- catch_exceptions: 'True'
- category: Custom
- cmake_opt: ''
- comment: ''
- copyright: ''
- description: pkt_11
- gen_cmake: 'On'
- gen_linking: dynamic
- generate_options: qt_gui
- hier_block_src_path: '.:'
- id: pkt_11
- 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_11
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [16, 12.0]
- rotation: 0
- state: enabled
- blocks:
- - name: filt_delay
- id: variable
- parameters:
- comment: ''
- value: int(1+(taps_per_filt-1)//2)
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [360, 76.0]
- rotation: 0
- state: enabled
- - name: hdr_format
- id: variable
- parameters:
- comment: ''
- value: digital.header_format_crc(len_key, num_key)
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [272, 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: [456, 12.0]
- rotation: 0
- state: enabled
- - name: nfilts
- id: variable
- parameters:
- comment: ''
- value: '32'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [184, 76.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: [568, 12.0]
- rotation: 0
- state: enabled
- - name: samp_rate
- id: variable
- parameters:
- comment: ''
- value: '48000'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [184, 12.0]
- rotation: 0
- state: true
- - name: taps_per_filt
- id: variable
- parameters:
- comment: ''
- value: len(psf_taps)/nfilts
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [256, 76.0]
- rotation: 0
- state: enabled
- - name: blocks_char_to_float_0
- id: blocks_char_to_float
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- scale: '1'
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [544, 308.0]
- rotation: 0
- state: true
- - name: blocks_float_to_complex_0
- id: blocks_float_to_complex
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [704, 312.0]
- rotation: 0
- state: true
- - name: blocks_message_strobe_0
- id: blocks_message_strobe
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- msg: pmt.cons(pmt.PMT_NIL,pmt.init_u8vector(9,(71,78,85,32,82,97,100,105,111)))
- period: '1000'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [72, 164.0]
- rotation: 0
- state: enabled
- - name: blocks_null_source_0
- id: blocks_null_source
- parameters:
- affinity: ''
- alias: ''
- bus_structure_source: '[[0,],]'
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- num_outputs: '1'
- type: float
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [512, 360.0]
- rotation: 0
- state: true
- - name: blocks_repack_bits_bb_0
- id: blocks_repack_bits_bb
- parameters:
- affinity: ''
- alias: ''
- align_output: 'False'
- comment: ''
- endianness: gr.GR_MSB_FIRST
- k: '8'
- l: '1'
- len_tag_key: len_key
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [336, 300.0]
- rotation: 0
- state: enabled
- - name: blocks_tagged_stream_mux_0
- id: blocks_tagged_stream_mux
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- lengthtagname: '"packet_len"'
- maxoutbuf: '0'
- minoutbuf: '0'
- ninputs: '2'
- tag_preserve_head_pos: '0'
- type: byte
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1064, 160.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: [168, 308.0]
- rotation: 0
- state: enabled
- - name: digital_burst_shaper_xx_0
- id: digital_burst_shaper_xx
- parameters:
- affinity: ''
- alias: burst_shaper0
- comment: ''
- insert_phasing: 'True'
- length_tag_name: packet_len
- maxoutbuf: '0'
- minoutbuf: '0'
- post_padding: filt_delay
- pre_padding: '0'
- type: complex
- window: firdes.window(window.WIN_HANN, 20, 0)
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [888, 292.0]
- rotation: 0
- state: enabled
- - name: digital_crc32_async_bb_1
- id: digital_crc32_async_bb
- parameters:
- affinity: ''
- alias: ''
- check: 'False'
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [328, 172.0]
- rotation: 0
- state: enabled
- - name: digital_protocol_formatter_async_0
- id: digital_protocol_formatter_async
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- format: hdr_format
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [520, 160.0]
- rotation: 0
- state: enabled
- - name: pdu_pdu_to_tagged_stream_0
- id: pdu_pdu_to_tagged_stream
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- tag: '"packet_len"'
- type: byte
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [816, 156.0]
- rotation: 0
- state: enabled
- - name: pdu_pdu_to_tagged_stream_2
- id: pdu_pdu_to_tagged_stream
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- tag: '"packet_len"'
- type: byte
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [816, 220.0]
- rotation: 0
- state: true
- - name: psf_taps
- id: parameter
- parameters:
- alias: ''
- comment: ''
- hide: none
- label: Pulse Shape Filter
- short_id: ''
- type: ''
- value: '[0,]'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [448, 76.0]
- rotation: 0
- state: enabled
- - name: qtgui_time_sink_x_0
- id: qtgui_time_sink_x
- parameters:
- affinity: ''
- alias: ''
- alpha1: '1.0'
- alpha10: '1.0'
- alpha2: '1.0'
- alpha3: '1.0'
- alpha4: '1.0'
- alpha5: '1.0'
- alpha6: '1.0'
- alpha7: '1.0'
- alpha8: '1.0'
- alpha9: '1.0'
- autoscale: 'False'
- axislabels: 'True'
- color1: blue
- color10: dark blue
- color2: red
- color3: green
- color4: black
- color5: cyan
- color6: magenta
- color7: yellow
- color8: dark red
- color9: dark green
- comment: ''
- ctrlpanel: 'True'
- entags: 'True'
- grid: 'False'
- gui_hint: ''
- label1: Signal 1
- label10: Signal 10
- label2: Signal 2
- label3: Signal 3
- label4: Signal 4
- label5: Signal 5
- label6: Signal 6
- label7: Signal 7
- label8: Signal 8
- label9: Signal 9
- legend: 'True'
- marker1: '-1'
- marker10: '-1'
- marker2: '-1'
- marker3: '-1'
- marker4: '-1'
- marker5: '-1'
- marker6: '-1'
- marker7: '-1'
- marker8: '-1'
- marker9: '-1'
- name: '""'
- nconnections: '1'
- size: '256'
- srate: samp_rate
- stemplot: 'False'
- style1: '1'
- style10: '1'
- style2: '1'
- style3: '1'
- style4: '1'
- style5: '1'
- style6: '1'
- style7: '1'
- style8: '1'
- style9: '1'
- tr_chan: '0'
- tr_delay: '0'
- tr_level: '0.0'
- tr_mode: qtgui.TRIG_MODE_TAG
- tr_slope: qtgui.TRIG_SLOPE_POS
- tr_tag: '"packet_len"'
- type: complex
- update_time: '0.10'
- width1: '1'
- width10: '1'
- width2: '1'
- width3: '1'
- width4: '1'
- width5: '1'
- width6: '1'
- width7: '1'
- width8: '1'
- width9: '1'
- ylabel: Amplitude
- ymax: '1'
- ymin: '-1'
- yunit: '""'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1128, 308.0]
- rotation: 0
- state: true
- - name: virtual_sink_0
- id: virtual_sink
- parameters:
- alias: ''
- comment: ''
- stream_id: xs1
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1296, 172.0]
- rotation: 0
- state: true
- - name: virtual_source_0
- id: virtual_source
- parameters:
- alias: ''
- comment: ''
- stream_id: xs1
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [16, 308.0]
- rotation: 0
- state: true
- connections:
- - [blocks_char_to_float_0, '0', blocks_float_to_complex_0, '0']
- - [blocks_float_to_complex_0, '0', digital_burst_shaper_xx_0, '0']
- - [blocks_message_strobe_0, strobe, digital_crc32_async_bb_1, in]
- - [blocks_null_source_0, '0', blocks_float_to_complex_0, '1']
- - [blocks_repack_bits_bb_0, '0', blocks_char_to_float_0, '0']
- - [blocks_tagged_stream_mux_0, '0', virtual_sink_0, '0']
- - [blocks_throttle_0, '0', blocks_repack_bits_bb_0, '0']
- - [digital_burst_shaper_xx_0, '0', qtgui_time_sink_x_0, '0']
- - [digital_crc32_async_bb_1, out, digital_protocol_formatter_async_0, in]
- - [digital_protocol_formatter_async_0, header, pdu_pdu_to_tagged_stream_0, pdus]
- - [digital_protocol_formatter_async_0, payload, pdu_pdu_to_tagged_stream_2, pdus]
- - [pdu_pdu_to_tagged_stream_0, '0', blocks_tagged_stream_mux_0, '0']
- - [pdu_pdu_to_tagged_stream_2, '0', blocks_tagged_stream_mux_0, '1']
- - [virtual_source_0, '0', blocks_throttle_0, '0']
- metadata:
- file_format: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement