45 lines
853 B
YAML
45 lines
853 B
YAML
# auto-generated by grc.converter
|
|
|
|
id: foo_periodic_msg_source
|
|
label: Periodic Message Source
|
|
category: '[Foo]'
|
|
|
|
parameters:
|
|
- id: msg
|
|
label: Message PMT
|
|
dtype: raw
|
|
default: pmt.intern("Hello World!")
|
|
- id: interval
|
|
label: Period (ms)
|
|
dtype: int
|
|
default: '1000'
|
|
- id: quit
|
|
label: Quit
|
|
dtype: bool
|
|
default: 'True'
|
|
options: ['True', 'False']
|
|
option_labels: [Enable, Disable]
|
|
- id: debug
|
|
label: Debug
|
|
dtype: bool
|
|
default: 'False'
|
|
options: ['True', 'False']
|
|
option_labels: [Enable, Disable]
|
|
- id: num
|
|
label: Num Messages
|
|
dtype: int
|
|
default: '-1'
|
|
|
|
outputs:
|
|
- domain: message
|
|
id: out
|
|
optional: true
|
|
|
|
templates:
|
|
imports: |-
|
|
import foo
|
|
import pmt
|
|
make: foo.periodic_msg_source(${msg}, ${interval}, ${num}, ${quit}, ${debug})
|
|
|
|
file_format: 1
|