Statistics
| Branch: | Tag: | Revision:

root / grc / blocks / gr_message_burst_source.xml @ 7e0bf755

History | View | Annotate | Download (1.2 kB)

1
<?xml version="1.0"?>
2
<!--
3
###################################################
4
##Message Burst Source (the sink port is a message)
5
###################################################
6
 -->
7
<block>
8
        <name>Message Burst Source</name>
9
        <key>gr_message_burst_source</key>
10
        <import>from gnuradio import gr</import>
11
        <make>gr.message_burst_source($type.size*$vlen, $(id)_msgq_in)</make>
12
        <param>
13
                <name>Output Type</name>
14
                <key>type</key>
15
                <type>enum</type>
16
                <option>
17
                        <name>Complex</name>
18
                        <key>complex</key>
19
                        <opt>size:gr.sizeof_gr_complex</opt>
20
                </option>
21
                <option>
22
                        <name>Float</name>
23
                        <key>float</key>
24
                        <opt>size:gr.sizeof_float</opt>
25
                </option>
26
                <option>
27
                        <name>Int</name>
28
                        <key>int</key>
29
                        <opt>size:gr.sizeof_int</opt>
30
                </option>
31
                <option>
32
                        <name>Short</name>
33
                        <key>short</key>
34
                        <opt>size:gr.sizeof_short</opt>
35
                </option>
36
                <option>
37
                        <name>Byte</name>
38
                        <key>byte</key>
39
                        <opt>size:gr.sizeof_char</opt>
40
                </option>
41
        </param>
42
        <param>
43
                <name>Vec Length</name>
44
                <key>vlen</key>
45
                <value>1</value>
46
                <type>int</type>
47
        </param>
48
        <check>$vlen &gt; 0</check>
49
        <sink>
50
                <name>in</name>
51
                <type>msg</type>
52
        </sink>
53
        <source>
54
                <name>out</name>
55
                <type>$type</type>
56
                <vlen>$vlen</vlen>
57
        </source>
58
</block>