I got a step further. The rfnoc domain for grc can be defined by a file rfnoc.domain.yml.
Now I can connect the module and generate a Python file from the flowgraph.
The connections still do not work at run time, though , see below.
I have defined 'connect:' and 'cpp_connect:' in rfnoc.domain.yml, but this definitions have no effect since this file is not read at run time and not included in
rfnoc_test1.py either.
Any suggestions?
Thanks and best regards,
Erik
Traceback (most recent call last):
File "./rfnoc_test1.py", line 180, in <module>
main()
File "./rfnoc_test1.py", line 158, in main
tb = top_block_cls()
File "./rfnoc_test1.py", line 125, in __init__
self.connect((self.uhd_rfnoc_streamer_dma_fifo_0, 'out'), (self.qtgui_sink_x_0, 0))
File "/usr/lib/python3.6/site-packages/gnuradio/gr/hier_block2.py", line 48, in wrapped
func(self, src, src_port, dst, dst_port)
File "/usr/lib/python3.6/site-packages/gnuradio/gr/hier_block2.py", line 111, in connect
self.primitive_connect(*args)
File "/usr/lib/python3.6/site-packages/gnuradio/gr/runtime_swig.py", line 3606, in primitive_connect
return _runtime_swig.top_block_sptr_primitive_connect(self, *args)
TypeError: Wrong number or type of arguments for overloaded function 'top_block_sptr_primitive_connect'.
Possible C/C++ prototypes are:
gr::hier_block2::connect(gr::basic_block_sptr)
gr::hier_block2::connect(gr::basic_block_sptr,int,gr::basic_block_sptr,int)
Gesendet: Freitag, 28. Juni 2019 18:12
An: discuss-gnuradio@gnu.org; usrp-users@lists.ettus.com
Betreff: [USRP-users] gr-ettus and GNU radio v3.8
No comments:
Post a Comment