Files
GnuRadio/gr-jay/grc/jay_bit_packer.xml
T
2019-02-10 15:55:43 +00:00

49 lines
1.2 KiB
XML

<?xml version="1.0"?>
<block>
<name>Bit Packer</name>
<key>jay_bit_packer</key>
<category>[JAY]</category>
<import>import jay</import>
<make>jay.bit_packer($numBitsIn, $numBitsOut, $endianess)</make>
<!-- Make one 'param' node for every Parameter you want settable from the GUI.
Sub-nodes:
* name
* key (makes the value accessible as $keyname, e.g. in the make node)
* type -->
<param>
<name>Number of input bits</name>
<key>numBitsIn</key>
<type>int</type>
</param>
<param>
<name>Number of output bits</name>
<key>numBitsOut,</key>
<type>int</type>
</param>
<param>
<name>Endianess</name>
<key>endianess</key>
<type>int</type>
</param>
<!-- Make one 'sink' node per input. Sub-nodes:
* name (an identifier for the GUI)
* type
* vlen
* optional (set to 1 for optional inputs) -->
<sink>
<name>in</name>
<type>int</type>
</sink>
<!-- Make one 'source' node per output. Sub-nodes:
* name (an identifier for the GUI)
* type
* vlen
* optional (set to 1 for optional inputs) -->
<source>
<name>out</name>
<type>int</type>
</source>
</block>