summaryrefslogtreecommitdiff
path: root/gr-blocks/grc/blocks_message_strobe.block.yml
blob: 6adb2948ed12cc81fe8269f4c2f0103fd77e3cf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
id: blocks_message_strobe
label: Message Strobe

parameters:
-   id: msg
    label: Message PMT
    dtype: raw
    default: pmt.intern("TEST")
-   id: period
    label: Period (ms)
    dtype: real
    default: '1000'

inputs:
-   domain: message
    id: set_msg
    optional: true

outputs:
-   domain: message
    id: strobe
    optional: true

templates:
    imports: |-
        from gnuradio import blocks
        import pmt
    make: blocks.message_strobe(${msg}, ${period})
    callbacks:
    - set_msg(${msg})
    - set_period(${period})

file_format: 1