summaryrefslogtreecommitdiff
path: root/grc/blocks/gr_char_to_short.xml
blob: 57261e0845c8bb563f7de7a64450720b6b22aa99 (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>gr_char_to_short</key>
	<import>from gnuradio import gr</import>
	<make>gr.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>