Re: [Discuss-gnuradio] missing python package

2007-12-19 Thread Michael Dickens
NOTE: My previous comment about WX not working properly applied to  
Python 2.5, not Python 2.4.  Apparently the latter searches  
subdirectories while the former does not.  Thus the need to link in  
subdirector(ies) into the actual PYTHONPATH.


After getting the necessary background stuff installed, GRC works OK  
using a standard MacPorts python 2.4 install.  I am running: Intel  
iMac 20", OSX 10.4.11, latest GNU Radio SVN trunk, latest GRC SVN trunk.


Things to check:

* 'port installed' returns include (for GRC; dependencies will also  
be installed; make sure these are 'active' and if not then 'activate'  
them):


  py-gtk2 @2.10.4_0 (active)
  py-xml @0.8.4_0 (active)

* 'cd /opt/local_2.4/lib/python2.4/site-packages ; ls' contains (at  
least):


_xmlplus/
cairo/
gtk-2.0/
numpy/
pygtk.pth
pygtk.py
pygtk.pyc
pygtk.pyo
wx-2.8-mac-unicode/
wx.pth
wxaddons/
wxversion.py
wxversion.pyc

* 'printenv' contains the following (or more, but at least these):

PATH=/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/ 
X11R6/bin
PYTHONPATH=/opt/local/lib/python2.4/site-packages:/usr/local/lib/ 
python2.4/site-packages




___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Cygwin Python Import Error

2007-12-19 Thread Don Ward

So, that into the /audio, and type command: $python audio_fft.py

I gat a result:

Traceback (most recent call last):

 File "audio_fft.py", line 23, in

   From gnuradio import gr, gru, audio

ImportError: No module named gnuradio


Is there a "gnuradio" directory in /usr/local/lib/python2.5/site-packages? 
(There should be.)


Did you set your PYTHONPATH environment variable to 
/usr/local/lib/python2.5/site-packages?  (You should have.)


-- Don W.



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] missing python package

2007-12-19 Thread Michael Dickens
I just tried using py25-gtk2 (2.12.0; my personal install with a  
Python 2.5 framework, which is also a personal install), and it works  
just fine.  I'm moving back to Python 2.4 (not my personal install,  
just MacPorts) to test that out, and will report back when I know  
more ... I didn't have py-gtk2 installed, and that has a whole bunch  
of dependencies that need to be installed first, etc...


On a side note related to MacPorts and Python, some of the py-  
modules aren't installed correctly any longer; some never were (who's  
doing QA here!).  py-gtk2 might be one of them.  As e.g.: wx-python  
2.8 doesn't create the correct directory structure to do "import  
wx" ... links are needed to do this correctly (and aren't part of the  
standard Portfile; corrections have been submitted for this  
particular bug).



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] PSK31 with GNU Radio

2007-12-19 Thread Martin Dvh
Dan MD1CLV wrote:
> Hi all,
> 
> Is anyone using GNURadio to modulate or demodulate PSK31?  According to
> the archives, Chuck Swiger did have this working, but the page with his
> code on is gone and it isn't archived on the wayback machine.
Chuck has put up a new webpage at
http://www.swigerco.com/

The GnuRadio stuff is under
http://www.swigerco.com/gnuradio/index.html

But I can't find the PSK31 stuff.
On his old page it was at:
http://webpages.charter.net/cswiger/psk_experiment.html

(I am very happy though that his GnuRadio vector analyzer info is back online)

I have successfully decoded PSK31 in the past using the following.
Capture using Gnuradio to file.
convert the file to a wav file using sox
decode the file using some other opensource PSK31 program.

You can do all this in realtime if you use Pipes in stead of files.
in pseudocode it would look something like this:
mkfifo psk.raw
mkfifo psk.wav
usrp_rx_cfile.py [commandline options here] -s psk.raw
sox [commandline options here] psk.raw -o psk.wav
pskprogram psk.wav

It's a while ago, so I don't remember all settings I used.
I think I captured to file in the short format (not in the float format)

Of course, much better is to implement PSK31 in the gnuradio framework.

Greetings,
Martin

> Thanks,
> 
> Dan
> 
> 
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] RE: USRP - radio astronomy

2007-12-19 Thread Marcus Leech
Frank Rawlins wrote:
>  
> Yes Lars, I'm sure you are correct, it's something to do with our
> version of Python.
>  
> When I downloaded and installed a required package 'wxWidgets
> (wx-common)' and 'wxPython (python-wxgtx2.6)' 
> I had a message to say wx- was previously named 'wxWindows'.
>  
> Guess what? The last line of my fault listing states 'wxWindow' is
> expected.  All other lines refer to wx something or other.
>  
> Just hope Marcus turns up soon.
>  
> Regards,
>  
> Frank
>  
I haven't seen this error before.

I'm running Fedora Core 7, with all the updates.   I built and tested
from the Gnu Radio  developer tree a couple of weeks ago,
  and everything was fine.

I'll give you some more tutorials on the startup scripts later.





___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] RE: USRP - radio astronomy

2007-12-19 Thread Frank Rawlins
 
Yes Lars, I'm sure you are correct, it's something to do with our version of 
Python.
 
When I downloaded and installed a required package 'wxWidgets (wx-common)' and 
'wxPython (python-wxgtx2.6)' 
I had a message to say wx- was previously named 'wxWindows'.
 
Guess what? The last line of my fault listing states 'wxWindow' is expected.  
All other lines refer to wx something or other.
 
Just hope Marcus turns up soon.
 
Regards,
 
Frank
 
 
_
Telly addicts unite!
http://www.searchgamesbox.com/tvtown.shtml___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Cygwin Python Import Error

2007-12-19 Thread JackyYang
Dear Sir:

 

Hi, I am install gnuradio with cygwin on the vista.

 

In the /usr/src/gnuradio-3.1.1/gnuradio-examples/python, I want to choose
any example to run test.

 

So, that into the /audio, and type command: $python audio_fft.py

 

I gat a result:

Traceback (most recent call last):

  File "audio_fft.py", line 23, in

From gnuradio import gr, gru, audio

ImportError: No module named gnuradio

 

I am a beginner to learning gnuradio and python, that maybe a stupid
question. But I just don't know.

 

Who can help me, I am appreciation.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] missing python package

2007-12-19 Thread Ed Criscuolo

I just ran a macports upgrade of py-gtk2 to version
2.10.4,  and now GRC won't run.  Gives the error message:

Missing critical module: "pygtk"
Exiting!


GRC and GnuRadio were running fine before I did the
upgrade.  System stats are:

MacBook Pro w/Intel core 2 Duo processor
OSX 10.4.11
GnuRadio 3.1.1
GRC 0.69


Michael, Josh, any ideas?

@(^.^)@  Ed


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] USRP timestamps

2007-12-19 Thread Tomek
Hello!

I´ve got a code to write and need some help.
I´ve got gnuradio installed and the USRP up and running. I need to write
some python code that does the following:

-   it captures wlan traffic and tells me at which time a packet arrived
and at which time the transmission of this packet ended.

I do not need to decode the packet and neither do I need to know what kind
of packet that was, just the "timestamps" and the duration. So can anybody
give me a hint or maybe a link with some material on how to do that?

I already successfully can run the usrp_fft.py and I can see that the USRP
is working fine and I can see the device receiving signals if I set it to
the correct frequency, so I know that it works, I just need a simple code
that gives me an output of timestamps.

Thanks!"
tomek



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Filter FIR on FPGA

2007-12-19 Thread Brian Padalino
On Dec 19, 2007 9:22 AM,  <[EMAIL PROTECTED]> wrote:
> Hello,
> I'm working on FPGA and in particulary on side RX. I want to insert a filter 
> FIR
> pass band after the output of ADC and before the input of DDC. The filter is
> simulated across MATLAB in particulary across "fdatool" and it is written in
> verilog. What's the sampling frequency for this filter FIR? Is correct to
> insert this filter?

The sample rate of the ADC is 64Msps.  The samples then go through the
CORDIC to generate complex pairs, then through a CIC with minimum
decimation of 4, and then through a halfband 2:1 decimating filter.

What symbol rate are you looking at in your simulation and how many
samples per symbol are you looking to process?  What are the
characteristics of your filter (taps, symmetric, etc?)

The lack of hardware multipliers inside the FPGA requires you to run a
relatively simple filter unless you are running at "low" sample rates
which allows you to serialize the data going through one or two
multipliers and accumulate the output.

Brian


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Filter FIR on FPGA

2007-12-19 Thread tarara
Hello,
I'm working on FPGA and in particulary on side RX. I want to insert a filter FIR
pass band after the output of ADC and before the input of DDC. The filter is
simulated across MATLAB in particulary across "fdatool" and it is written in
verilog. What's the sampling frequency for this filter FIR? Is correct to
insert this filter?
Thank you very much.

Calogero





___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] problem with http link to Soft-DVB video

2007-12-19 Thread Vincenzo Pellegrini
if someone had problems with this link

http://httpwww.interfree.it/Realtime_Soft-DVB.mp4


i guess it was just because the file was still being uploaded when 
I sent the email...

now everything should be ok


thanks

vincenzo



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio