I’m doing more or less the same thing you are and trying to figure out a 
standard way to port the existing blocks over. Rfnocmodtool is working but I’m 
still not there with a straightforward process. I spent the better part of the 
week last week trying to build up a siggen block and there are several things 
that don’t get picked up in the build process they have more to do with swig 
than anything else. As you’ve seen, they don’t get picked up until you try to 
import and call specific blocks in the module via the new radio. I’ll mention 
that you can also test some of this out via the python interpreter and see if 
your block is imported properly and has functions you can call:
import mymodule
dir(mymodule)
dir(mymodule.myblock)

I have also had the “cannot find block” issue, which means that you 
successfully built the gnuradio block, but the block that you built can’t find 
splitstream block on the FPGA. You said that uhd_usrp_probe shows that 
splitstream IS in fact in the image that you built, so my guess is that in the 
_impl file you didn’t pass the correct proper name string for the block. 

I’m doing this from memory but I’m pretty sure it’s in the make section in the 
impl.cc, regardless the proper name of the block is the name shown in 
uhd_usrp_probe under blocks. I think splitstream is “SplitStream” if it’s not 
case and spelling correct, your GNURadio block will be trying as hard as it can 
to find a block that doesn’t exist. Hoping that’s where your error is, 
otherwise it’s into deeper (swig) debugging. 

Good luck

<end transmission>

> On Jul 26, 2021, at 22:52, [email protected] wrote:
> 
> 
> Just to pile on to this, I’ve attempted to make a grc block for split stream. 
> I’ve copied the structure of DDC and everything appears to compile and cross 
> compile just fine for my e320. I used image builder to put a split stream 
> block on my fpga and verified its existence with the probe command. However, 
> when I run my application I get the very detailed error message:
> 
> 
> 
> File 
> "/data/localinstall/usr/lib/python3.7/site-packages/ettus/ettus_swig.py", 
> line 2034, in make
> 
> return _ettus_swig.rfnoc_split_stream_make(graph, block_args, device_select, 
> instance)
> 
> RuntimeError: Cannot find block!
> 
> 
> 
> which returns 0 Google results. I’m assuming I’ve missed some configuration 
> setting or didn’t compile some file. Is there a guide somewhere that 
> describes everything that must be included to get these blocks imported into 
> gnuradio?
> 
> _______________________________________________
> USRP-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to