<block>
<name>source</name>
<key>SpanLab_source</key>
<category>[SpanLab]</category>
<import>import SpanLab</import>
<make>SpanLab.source($values)</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>source</name>
<key>source</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) -->
<!-- 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>
Hi,
I am trying to learn to build an OOT module using python.
To start with, a simple vector source (though it is already their) !, But I have further plans after the initial phase is complete.
Aim : The block should take in values from user for example (1,1,0,0) and output the same.
I am following the tutorial : https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_Python
After adding the block in gui & running it gives error (line 24, testing_source.py, I am attaching all the files that I created. Can you please help me, where I did wrong?
Ayaz
No comments:
Post a Comment