discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Simple FM receiver GRC error


From: Phil
Subject: Re: [Discuss-gnuradio] Simple FM receiver GRC error
Date: Fri, 08 Jun 2012 14:43:56 +1000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.4) Gecko/20120426 Thunderbird/10.0.4

On 08/06/12 13:04, ki6njf wrote:

Phil, I just got simple_fm_rcv working today.

I had to:

open up a terminal

cd to my radio flowdiagram directory - /home/jim/gnu_radio

svn co https://www.cgran.org/svn/projects/simple_fm_rcv

cd to the directory - in my case - /home/jim/gnu_radio/simple_fm_rcv/trunk/

make install

export PYTHONPATH=$PYTHONPATH:/home/jim/bin

then run gnuradio-companion

then open simple_fm_rcv.grc

it works! Before this, I was getting an import error for
simple_fm_helper no matter where I put the simple_fm_helper program or
what I set the PYTHONPATH to.

now each time I run gnuradio-companion or the python variant, I have to
run the export PYTHONPATH=$PYTHONPATH:/home/jim/bin


Thanks Marcus and Jim for the detailed instructions, however I still cannot get this to work!

This my python path:

address@hidden trunk]$ cat $PYTHONPATH
cat: /usr/local/src/gr-osmosdr/include/osmosdr/:/home/phil/bin

The path points to osmosdr_source_c.h.

And these are still the same errors:

Error 0:
Block - import_1 - Import(import):
  Param - Import(import):
    Import "import simple_fm_helper" failed.

Error 1:
Block - cur_freq - Variable(variable):
  Param - Value(value):
Value "simple_fm_helper.freq_select(ifreq,preselect)" cannot be evaluated:
    name 'simple_fm_helper' is not defined

Error 2:
Block - rtext_0 - WX GUI Static Text(variable_static_text):
  Param - Default Value(value):
    Value "cur_freq" cannot be evaluated:
    name 'cur_freq' is not defined

Error 3:
Block - gr_freq_xlating_fir_filter_xxx_0 - Frequency Xlating FIR Filter(gr_freq_xlating_fir_filter_xxx):
  Sink - in(0):
    Port is not connected.

I'm at my wits end.

--
Regards,
Phil



reply via email to

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