Note: This Question Category is currently disabled. You cannot post anything here.
0
Way to create block in Python

Please\r\n tell me way to create block in python. I added code for block in \r\npython. Now i want to install this code how to do this? does cmake will \r\nrun for python? (Tell me procedure after editing code)


Sandhi 24-08-15, 5:57 p.m. Ashwini
0
Copy all the .py extension files to following location using sudo privilege
sudo cp /path_of_your_python_files/  /usr/local/lib/python2.7/dist-packages/gnuradio/controls/
sudo cp /path_of_your_python_files/  /usr/local/lib/python2.7/dist-packages/gnuradio/

Copy all the .xml extension files to follwing location using sudo privilege

sudo cp /path_of_your_xml_files/  /usr/local/share/gnuradio/grc/blocks

Then click on blue Reload Blocks button available at Right top side then your block will appeared in right panel.
25-08-15, 12:46 p.m. Mushirahmed