GRC version 0.65

Hello all. I’ve been lurking for a while but this is my first post to
the list, and I first wanted to take the opportunity to thank everybody
responsible for GNU Radio, GRC, and the USRP. What a great set of
products!

I’m using GNU Radio on an Intel MacBook Pro under OSX 10.4. Here’s my
main config info:
OSX 10.4.10
python 2.4
GNU Radio 3.0.3
GRC 0.65

I’m having a problem with GRC. When I try to construct a flow graph
using Clock Recovery, it fails at runtime, with an error message:

Wrong number of arguments for overloaded function
‘clock_recovery_mm_ff’.
Possible C/C++ prototypes are:
gr_make_clock_recovery_mm_ff(float,float,float,float,float)
gr_make_clock_recovery_mm_ff(float,float,float,float)

I can construct the identical flowgraph by hand in python without using
GRC and it runs fine.

I tried checking src/SignalBlkDefs/Filters.py, and I’m pretty sure the
problem’s in the return statement of “def ClockRecovery(sb):”, but I’m
not sure how to fix it.

Can anyone help?

@(^.^)@ Ed

Hello Ed,

This was a typo in 0.65 with the clock recovery. I decided to fix it
just now (yikes, i made changes to a tag!). You can re-download or
re-check out 0.65.

This has been long-since fixed in the grc trunk if you’d like to give
that a try. svn co http://gnuradio.org/svn/grc/trunk grc

GL,
-Josh

Ed Criscuolo wrote:

I’m having a problem with GRC. When I try to construct a flow graph
using Clock Recovery, it fails at runtime, with an error message:

Wrong number of arguments for overloaded function ‘clock_recovery_mm_ff’.
Possible C/C++ prototypes are:
gr_make_clock_recovery_mm_ff(float,float,float,float,float)
gr_make_clock_recovery_mm_ff(float,float,float,float)

Josh B. wrote:

Hello Ed,

This was a typo in 0.65 with the clock recovery. I decided to fix it
just now (yikes, i made changes to a tag!). You can re-download or
re-check out 0.65.

This has been long-since fixed in the grc trunk if you’d like to give
that a try. svn co http://gnuradio.org/svn/grc/trunk grc

GL,
-Josh

Thanks Josh.

I finally was able to get it to work when I realized the constructor for
clock_recovery_mm_ff was getting passed a flowgraph as the first arg.
Changing the last part of the return statement from

... type.parse()[0](fg, *map(lambda a: a.parse(), args))

to

... type.parse()[0](*map(lambda a: a.parse(), args))

seemed to do the trick.

@(^.^)@ Ed

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs