blob: 893e7862b2613e0cd4eedc115c3279aa1942b096 (
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
|
id: blocks_sample_and_hold_xx
label: Sample and Hold
parameters:
- id: type
label: Type
dtype: enum
options: [float, int, short, byte]
option_attributes:
fcn: [ff, ii, ss, bb]
hide: part
inputs:
- domain: stream
dtype: ${ type }
- label: ctrl
domain: stream
dtype: byte
outputs:
- domain: stream
dtype: ${ type }
templates:
imports: from gnuradio import blocks
make: blocks.sample_and_hold_${type.fcn}()
file_format: 1
|