Forum: GNU Radio Problem with gr.noise_source_x

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bb3ff9c86361ea921a64632a4c46e824?d=identicon&s=25 Trond Danielsen (Guest)
on 2007-01-16 16:58
(Received via mailing list)
Hi!

I have a problem with gr.noise_source_x. The following section speaks
for it self:

-----------------------------------------------
[trondd@dhcp-3252 channel-coding]$
PYTHONPATH=/usr/local/lib64/python2.4/site-packages/ ./test_tcm.py
fsm_files/awgn1o2_4.fsm 6.0 1000
Traceback (most recent call last):
  File "./test_tcm.py", line 118, in ?
    main (sys.argv[1:])
  File "./test_tcm.py", line 106, in main
    (s,e)=run_test(f,Kb,bitspersymbol,K,dimensionality,constellation,N0,-long(666+i))
# run experiment with different seed to get different noise
realizations
  File "./test_tcm.py", line 30, in run_test
    noise = gr.noise_source_f(gr.GR_GAUSSIAN,math.sqrt(N0/2),seed)
  File
"/usr/local/lib64/python2.4/site-packages/gnuradio/gr/gnuradio_swig_py_gengen.py",
line 4538, in noise_source_f
    return _gnuradio_swig_py_gengen.noise_source_f(*args)
NotImplementedError: Wrong number of arguments for overloaded function
'noise_source_f'.
  Possible C/C++ prototypes are:
    gr_make_noise_source_f(gr_noise_type_t,float,long)
    gr_make_noise_source_f(gr_noise_type_t,float)
-----------------------------------------------

Any ideas what might cause this error? I am using GNU Radio from SVN.

--
Trond Danielsen
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2007-01-16 17:15
(Received via mailing list)
On Tue, Jan 16, 2007 at 04:57:55PM +0100, Trond Danielsen wrote:
> Hi!
>
> I have a problem with gr.noise_source_x. The following section speaks
> for it self:

I'm guess this is a problem related to splitting gnuradio_swig_python.
I'll take a look at it later today.  I suspect that we don't have any
QA code that confirms that the noise source is working (or at least
works).

Eric
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2007-01-16 19:03
(Received via mailing list)
On Tue, Jan 16, 2007 at 04:57:55PM +0100, Trond Danielsen wrote:
> Hi!
>
> I have a problem with gr.noise_source_x. The following section speaks
> for it self:

Fixed in svn r4280.

Eric
This topic is locked and can not be replied to.