[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] 'unable to coerce endpoint' Error
From: |
kaleem ahmad |
Subject: |
Re: [Discuss-gnuradio] 'unable to coerce endpoint' Error |
Date: |
Tue, 4 Nov 2008 11:23:45 -0800 (PST) |
I am using *stdgui2.std_top_block* to inherit my main class, then I am
connecting rxpath and txpath to it, its working fine (Both rxpath and txpath
are inherited from gr.hier_block2).
But when I add following, I get this 'coerce error':
self.fft_input = fftsink.fft_sink_c(....) ***PLEASE NOTE THAT I AM USING
fftsink NOT fftsink2***
self.connect (self.u, self.fft_input)
Can we use fftsink with stdgui2 rather than stdgui????
otherwise what can be the reason, Is there any example program using
fftsink2 (Actually I tried a lot but I could not use fftsink2 that's why I
used fftsink)
Kaleem Ahmad
Johnathan Corgan-2 wrote:
>
> On Tue, Nov 4, 2008 at 10:53 AM, kaleem ahmad <address@hidden>
> wrote:
>
>> I have following message, can someone tell me how can I remove it?
>>
> [...]
>> File "/usrp/cognitive/gr-comac1.0/src/python/receive_path.py", line 226,
>> in __init__
>> self.connect (self.u, self.fft_input)
> [...]
>> File
>> "/usr/local/lib/python2.5/site-packages/gnuradio/gr/hier_block2.py",
>> line 65, in _coerce_endpoint
>> raise ValueError("unable to coerce endpoint")
>> ValueError: unable to coerce endpoint
>
> It is complaining that either self.u or self.fft_input is not a
> regular or hierarchical block.
>
> -Johnathan
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
--
View this message in context:
http://www.nabble.com/%27unable-to-coerce-endpoint%27-Error-tp20328688p20329212.html
Sent from the GnuRadio mailing list archive at Nabble.com.