|
From: | Michael Dickens |
Subject: | Re: [Discuss-gnuradio] port number 1 exceeds max of 0 |
Date: | Tue, 25 Sep 2018 13:40:59 -0400 |
Hi,
I have made a block with take two streams of input and produces four stream of outputs.
The impl.cc file has the following declaration:
static int ios1[] = {48, 48*sizeof(float), 48, 48*sizeof(float)};static std::vector<int> iosig1(ios1, ios1+sizeof(ios1)/sizeof(int));soft_frame_equalizer_impl_dc::soft_frame_equalizer_impl_dc(Equalizer_soft_dc algo, double freq, double bw, int scaling, int threshold, bool log, bool debug) :gr::block("soft_frame_equalizer_dc",gr::io_signature::make2(2, 2, 64 * sizeof(gr_complex), 64 * sizeof(gr_complex)),gr::io_signature::makev(4, 4, iosig1)),I made the corresponding xml file also. No error during compiling but when I connect my block and run I get the error:
File "/home/john/myprefix/src/gr-ieee-80211/examples/sbmrc_testing.py", line 555, in <module>main()File "/home/john/myprefix/src/gr-ieee-80211/examples/sbmrc_testing.py", line 543, in maintb = top_block_cls(bandwidth=options.bandwidth, encoding=options.encoding, frequency=options.frequency, sensitivity=options.sensitivity)File "/home/john/myprefix/src/gr-ieee-80211/examples/sbmrc_testing.py", line 350, in __init__self.connect((self.fft_vxx_0_1, 0), (self.ieee802_11_soft_frame_equalizer_dc_0, 1))File "/home/john/myprefix/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 47, in wrappedfunc(self, src, src_port, dst, dst_port)File "/home/john/myprefix/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 110, in connectself.primitive_connect(*args)File "/home/john/myprefix/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 4574, in primitive_connectreturn _runtime_swig.top_block_sptr_primitive_connect(self, *args)ValueError: port number 1 exceeds max of 0I am attaching the xml file. Can anyone help me figuring out the mistake :)
Regards
Sumit
_______________________________________________Discuss-gnuradio mailing listEmail had 1 attachment:
ieee802_11_soft_frame_equalizer_dc.xml
3k (text/xml)
[Prev in Thread] | Current Thread | [Next in Thread] |