[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Re: Problem with interleaved_short_to_complex
From: |
Prateek Dayal |
Subject: |
[Discuss-gnuradio] Re: Problem with interleaved_short_to_complex |
Date: |
Sun, 31 Oct 2004 08:41:05 +0000 |
Hi,
I forgot to mention that when I cvsgrab the gnuradio-core, I cannot
update the folllowing file
[WARN] CVSGrab - -cvs update: warning: cannot update
/gnuradio/gnuradio-core/src/lib/runtime/gr_types.h. A file with the
same name is in the way.
Could this be the reason for the problem
Prateek
On Sun, 31 Oct 2004 08:37:20 +0000, Prateek Dayal
<address@hidden> wrote:
> Hi,
>
> The CVS has a function gr.interleaved_short_to_complex() . I have
> compiled and installed the CVS properly but still I am not able to use
> that function. The script that uses the function when run says
>
> address@hidden@PMD old $ python wfm_rcv_from_ntsc_file.py -i
> ntsc-short-complex-baseband-8MS.dat
> audio: using audio_oss
> Traceback (most recent call last):
> File "wfm_rcv_from_ntsc_file.py", line 96, in ?
> main ()
> File "wfm_rcv_from_ntsc_file.py", line 89, in main
> fg = build_graph (options.input, options.repeat)
> File "wfm_rcv_from_ntsc_file.py", line 33, in build_graph
> deinterleaver = gr.interleaved_short_to_complex ()
> AttributeError: 'module' object has no attribute
> 'interleaved_short_to_complex'
>
> I ran a locate on this function and another function that is working
> and got the following results
>
> address@hidden@PMD old $ locate short_to_complex
> /usr/local/include/gnuradio/swig/gr_interleaved_short_to_complex.i
> /usr/local/include/gnuradio/gri_interleaved_short_to_complex.h
> /usr/local/include/gnuradio/gr_interleaved_short_to_complex.h
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/general/.deps/gri_interleaved_short_to_complex.P
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/general/.deps/gr_interleaved_short_to_complex.P
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/general/gri_interleaved_short_to_complex.h
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/general/gr_interleaved_short_to_complex.cc
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/general/gr_interleaved_short_to_complex.lo
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/general/gr_interleaved_short_to_complex.h
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/general/gr_interleaved_short_to_complex.i
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/general/gri_interleaved_short_to_complex.cc
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/general/gri_interleaved_short_to_complex.lo
>
> address@hidden@PMD old $ locate file_source
> /usr/local/include/gnuradio/swig/gr_file_source.i
> /usr/local/include/gnuradio/gr_file_source.h
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/io/.deps/gr_file_source.Plo
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/io/.deps/gr_file_source.P
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/io/gr_file_source.cc
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/io/gr_file_source.lo
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/io/gr_file_source.h
> /home/prateek/BTP/CVS/gnuradio/gnuradio-core/src/lib/io/gr_file_source.i
>
> The difference that I noted is that there is not .Plo file
> corresponding to the gr_interleaved_short_to_complex, where as there
> is a .Plo file corresponding to the gr_file_source. Could this be the
> reason ...
>
> I have attached the script that i am trying to run. The script
> demodulates FM from NTSC TV samples
>
> Regards,
>
> Prateek
>
> I have tried everything and still not been able to get it work ...
>
> --
> Prateek Dayal
> B.Tech 4th Year
> ECE
> IIT Guwahati
>
> www.geocities.com/pmd_iitgw
>
>
>
--
Prateek Dayal
B.Tech 4th Year
ECE
IIT Guwahati
www.geocities.com/pmd_iitgw