summaryrefslogtreecommitdiff
path: root/gr-blocks/grc/blocks_char_to_short.xml
blob: b19fdb46aef79f3c8dbbb8534069723b367f4f42 (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
<?xml version="1.0"?>
<!--
###################################################
##Char to Short:
###################################################
 -->
<block>
	<name>Char To Short</name>
	<key>blocks_char_to_short</key>
	<import>from gnuradio import blocks</import>
	<make>blocks.char_to_short($vlen)</make>
	<param>
		<name>Vec Length</name>
		<key>vlen</key>
		<value>1</value>
		<type>int</type>
	</param>
	<sink>
		<name>in</name>
		<type>byte</type>
		<vlen>$vlen</vlen>
	</sink>
	<source>
		<name>out</name>
		<type>short</type>
		<vlen>$vlen</vlen>
	</source>
</block>