discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] gr.feval_dd questions


From: Marcus Leech
Subject: [Discuss-gnuradio] gr.feval_dd questions
Date: Wed, 22 Nov 2006 17:32:57 -0500
User-agent: Thunderbird 1.5.0.8 (X11/20061025)

I guess that there's something I don't get about how gr.feval_XX is supposed to work.

I do the following

class my_thing_dd(gr.feval_dd):
   def eval(self,x):
       x = x
       return(x)

...
...
...

      my_handle = my_thing_dd()
      ....
      self.connect(some_block, my_handle, some_other_block)


In the hopes that I could "hook in" my_thing_dd into the flow graph. No such luck.

It provokes an error from within basic_block.py/coerce_endpoint:

         raise ValueError, "Not coercible to endpoint: %s" % (x,)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]