|
From: | Driesprong, Fokko |
Subject: | Re: [Discuss-gnuradio] Porting GR-AIS to GN3.7 |
Date: | Sun, 8 Sep 2013 23:47:07 +0200 |
Hi Fokko,
The information you're offering is a little sparse.
Do you have the source code (at leas ais_rx.py in your current version) somewhere?
On 09/08/2013 09:25 PM, Driesprong, Fokko wrote:
He guys,
I have managed to fix all the swig error's, but now I have some issue's with python. Maybe you guys have run into it earlier?
All the SWIG objects and Python classes are available. But something might have changed in the connect method of the top_block.
Traceback (most recent call last):File "/usr/local/bin/ais_rx.py", line 216, in <module>main()File "/usr/local/bin/ais_rx.py", line 169, in maintb = my_top_block(options, queue)File "/usr/local/bin/ais_rx.py", line 79, in __init__self.ais_rx(self.u, 161.975e6 - 162.0e6, "A", options, queue);File "/usr/local/bin/ais_rx.py", line 121, in ais_rxself.connect(self.u, self.filter, self.demod, self.unstuff, self.start_correlator, self.stop_correlator, self.parse)File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", line 131, in connectself._connect(points[i-1], points[i])File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", line 143, in _connectdst_block.to_basic_block(), dst_port)File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 4130, in primitive_connectreturn _runtime_swig.top_block_sptr_primitive_connect(self, *args)NotImplementedError: 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)
Some blocks are getting chained by the connect method. It crashes on the following blocks:<gr_block osmosdr_source_c_impl (0)> -> <gr_block freq_xlating_fir_filter_ccf (1)>These two blocks should pass complex numbers.
Anyone any idea? I am confused because the osmosdr and freq_xlanting objects shipped with osmosdr/gnuradio.Kind regards,ing. Fokko Driesprong
2013/9/5 Martin Braun (CEL) <address@hidden>
On Thu, Sep 05, 2013 at 12:20:17AM +0200, Driesprong, Fokko wrote:Fokko,
> He Guys,
>
> Thank you for the prompt replies, in special Nick Foster for the reply, I am
> very thankful for the gr-ais package! :)
>
> Currently I am working with the modtool. I didn't know it's existence. A very
> helpful tool.
You really should read the tutorials on how to work with out-of-tree
modules if you want to work with out-of-tree modules:
http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules
MB
--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)
Dipl.-Ing. Martin Braun
Research Associate
Kaiserstraße 12
Building 05.01
76131 Karlsruhe
Phone: +49 721 608-43790
KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |