Reputation: 1
I have created a GRC flowchart that includes a custom OOT module. The flowchart has been compiled, and the resulting .py file copied to my USRP device.
When I try to run this file on the USRP, I get an error: no module named "my_custom_blocks"
Which makes complete sense!
My Question: How do I integrate my custom OOT module onto the USRP device, so that my file will run correctly? Do I need to use gr_modtool on my USRP device (and then copy my code in?) is there an easier way?
Thank you for your help
Upvotes: 0
Views: 947
Reputation: 36352
You need to install that module on your E-series USRP (the fact that you can execute code on your USRP says it's E-Series).
That means either:
gr-my_custom_blocks
, thenmkdir build; cd build; cmake -DCMAKE_INSTALL_PREFIX=/usr ..; make; sudo make install
.In general, the cleaner (even for Python-only modules) and the only way sensible if you have C++ code in your module is
The Ettus Knowledge Base Application Notes AN-311 and AN-315 (your module is just like gr-ettus) will help.
Upvotes: 1