Re: [Discuss-gnuradio] RFX900 and Clocking Notes

2008-02-04 Thread TomasOMaille

Thanks Matt,

 Your board was already configured properly and you don't need to do any 
 of this.

Glad I didn't stumble in with a soldering iron.

Tomas
-- 
View this message in context: 
http://www.nabble.com/RFX900-and-Clocking-Notes-tp15202177p15264312.html
Sent from the GnuRadio mailing list archive at Nabble.com.



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


[Discuss-gnuradio] GMSK Demodulator -- Assertion 'imu=0 failed.

2008-02-04 Thread Fasika Alemayehu
Hi ,

I was running a GMSK demodulator to demodulate a file source signal, and I have 
come up with the following error. I think there is a data type problem 
associated. Does anybody have similar problem ? I check the previous posts but 
there is no answer on that. 

Here is the code : 
[EMAIL PROTECTED]:~$python demod_file.py 
 gr_fir_fff: using SSE
python: gri_mmse_fir_interpolator.cc:66: float 
gri_mmse_fir_interpolator::interpolate(const float*, float) const: Assertion 
`imu = 0' failed.
Aborted (core dumped)

Fasika 

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: Fwd: [Discuss-gnuradio] Ofdm parameters

2008-02-04 Thread Eric Blossom
On Sun, Feb 03, 2008 at 05:59:06PM +0100, Jacopo wrote:
 Thanks a lot
 
 Another question: It's possible to have adaptive modulation, that is the
 possibility to use different modulation for any subcarrier?
 
 Bye
 
 Jacopo

It's definitely possible.  The main question is how to design an
interface that isn't hideous.  If you want this, I think you should
work on it and let us know what you come up with.

Eric


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


[Discuss-gnuradio] problem with wx

2008-02-04 Thread sriram s
Hello everyone,
 I've installed gnuradio 3.1.1 on a system running 
slackware linux. Im new to linux and my knowledge on linux is rather limited. 
Inspite of this, I've somehow managed to install the packages correctly and 
have also successfully tested it by running the dialtone example and a few 
others. However, Im facing problems everytime i try to run a program involving 
wxPython. For example, when i run the hfx2.py, i get the following output,

Traceback (most recent call last):
  File ./hfx2.py, line 81, in ?
import os, wx, sys, math
ImportError: No module named wx

Could someone please tell me whats wrong? Any help will be greatly appreciated.

Thankyou.

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] RFX900 Transmit Power

2008-02-04 Thread TomasOMaille

Hello again,

I have another question regarding the RFX900 daughterboard.

I am trying to get a sense of the power transmitted by the RFX900 board 
in order to avoid breaching European communication regulations.

Ideally a figure for the equivalent isotropically radiated power (EIRP)
would be great.

Will the power output be different with and without the SAW filter?

Cheers,

Tomas O'Maille

PS. Thanks for taking the time to look at my increasing number of posts.
-- 
View this message in context: 
http://www.nabble.com/RFX900-Transmit-Power-tp15270526p15270526.html
Sent from the GnuRadio mailing list archive at Nabble.com.



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


Re: [Discuss-gnuradio] GMSK Demodulator -- Assertion 'imu=0 failed.

2008-02-04 Thread Eric Blossom
On Mon, Feb 04, 2008 at 02:27:09AM -0800, Fasika Alemayehu wrote:
 Hi ,
 
 I was running a GMSK demodulator to demodulate a file source signal,
 and I have come up with the following error. I think there is a data
 type problem associated. Does anybody have similar problem ? I check
 the previous posts but there is no answer on that.

Which GMSK demodulator?  
gnuadio-core/src/python/gnuradio/blks2impl/gmsk.py?
Which version of GNU Radio?

 Here is the code : 
 [EMAIL PROTECTED]:~$python demod_file.py 
  gr_fir_fff: using SSE
 python: gri_mmse_fir_interpolator.cc:66: float 
 gri_mmse_fir_interpolator::interpolate(const float*, float) const: Assertion 
 `imu = 0' failed.
 Aborted (core dumped)
 
 Fasika 

Eric


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


[Discuss-gnuradio] tunnel.py and PS3

2008-02-04 Thread Tim Meehan
Hello all,


tunnel.py  (examples/python/digital) hardcodes   a value

 TUNSETIFF = 0x400454ca


This does not seem to be compatible with the PS3.

running tunnel.py returns

ifs = ioctl(tun, TUNSETIFF, struct.pack(16sH, gr%d, mode))
IOError: [Errno 22] Invalid argument


Changing the hardcoded value to

 TUNSETIFF = 0x800454ca   (changed 4004 to 8004)

allows tunnel.py to function properly on PS3.

Question:  Anyone have a good way to set these values other than hard coding
them?

i.e. how can we get the values directly out of linux/if_tun.h?


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


Re: [Discuss-gnuradio] tunnel.py and PS3

2008-02-04 Thread Eric Blossom
On Mon, Feb 04, 2008 at 02:41:16PM -0500, Tim Meehan wrote:
 Hello all,
 
 tunnel.py  (examples/python/digital) hardcodes   a value
 
  TUNSETIFF = 0x400454ca
 
 This does not seem to be compatible with the PS3.
 
 running tunnel.py returns
 
 ifs = ioctl(tun, TUNSETIFF, struct.pack(16sH, gr%d, mode))
 IOError: [Errno 22] Invalid argument
 
 Changing the hardcoded value to
 
  TUNSETIFF = 0x800454ca   (changed 4004 to 8004)
 
 allows tunnel.py to function properly on PS3.
 
 Question:  Anyone have a good way to set these values other than hard coding
 them?
 
 i.e. how can we get the values directly out of linux/if_tun.h?
 
 Tim

We should probably swig the constants in linux/if_tun.h






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


Re: [Discuss-gnuradio] tunnel.py and PS3

2008-02-04 Thread Eric Blossom
On Mon, Feb 04, 2008 at 03:36:26PM -0500, Tim Meehan wrote:
 The relevant line in if_tun.h is
 
 #define TUNSETIFF _IOW('T', 202, int)
 
 I was not sure how to swig the _IOW stuff.  If anyone can provide a hint I
 will try.
 

It may be easiest to write a small stand-alone function that just
returns the value of TUNSETIFF and then swig that.  E.g.,

int 
get_TUNSETIFF()
{
#ifdef TUNSETIFF
  return TUNSETIFF;
#else
  return -1;
#endif
}

Feel free to drop it into gnuradio-core/src/lib/general and send a patch.

Thanks,
Eric


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


Re: [Discuss-gnuradio] problem with wx

2008-02-04 Thread Eric Blossom
On Mon, Feb 04, 2008 at 10:15:28AM -0800, sriram s wrote:
 Hello everyone,

   I've installed gnuradio 3.1.1 on a system running slackware
   linux. Im new to linux and my knowledge on linux is rather
   limited. Inspite of this, I've somehow managed to install the
   packages correctly and have also successfully tested it by
   running the dialtone example and a few others. However, Im
   facing problems everytime i try to run a program involving
   wxPython. For example, when i run the hfx2.py, i get the
   following output,

 
 Traceback (most recent call last):
   File ./hfx2.py, line 81, in ?
 import os, wx, sys, math
 ImportError: No module named wx
 
 Could someone please tell me whats wrong? Any help will be greatly 
 appreciated.

Uhhh, you don't have wxPython installed?

[EMAIL PROTECTED] gr]$ python
Python 2.5 (r25:51908, Nov  6 2007, 15:55:44)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-27)] on linux2
Type help, copyright, credits or license for more information.
 import wx


Eric


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


Re: [Discuss-gnuradio] tunnel.py and PS3

2008-02-04 Thread Tim Meehan
The relevant line in if_tun.h is

#define TUNSETIFF _IOW('T', 202, int)

I was not sure how to swig the _IOW stuff.  If anyone can provide a hint I
will try.



On Feb 4, 2008 2:57 PM, Eric Blossom [EMAIL PROTECTED] wrote:

 On Mon, Feb 04, 2008 at 02:41:16PM -0500, Tim Meehan wrote:
  Hello all,
 
  tunnel.py  (examples/python/digital) hardcodes   a value
 
   TUNSETIFF = 0x400454ca
 
  This does not seem to be compatible with the PS3.
 
  running tunnel.py returns
 
  ifs = ioctl(tun, TUNSETIFF, struct.pack(16sH, gr%d, mode))
  IOError: [Errno 22] Invalid argument
 
  Changing the hardcoded value to
 
   TUNSETIFF = 0x800454ca   (changed 4004 to 8004)
 
  allows tunnel.py to function properly on PS3.
 
  Question:  Anyone have a good way to set these values other than hard
 coding
  them?
 
  i.e. how can we get the values directly out of linux/if_tun.h?
 
  Tim

 We should probably swig the constants in linux/if_tun.h





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


[Discuss-gnuradio] kludge_copy question

2008-02-04 Thread W. David Li
Hi,

I have a class that inherits from gr.kludge_copy. For now this class
does nothing but to copy the inputs to outputs:


class MyClass (gr.kludge_copy):

def __init__(self, size):
gr.kludge_copy.__init__(size)


I might not have done something correctly so when I used MyClass as one
of the blocks in my flow graph, the error was:

TypeError: Error when calling the metaclass bases
function() argument 1 must be code, not str

I looked at the kludge_copy QA code. It's used as a standalone not an
inherited object. So am I using it correctly in MyClass?

Thanks.

- David




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


Re: Re: [Discuss-gnuradio] Information on ticket:181 and invitation to help (long)

2008-02-04 Thread Firas A.

Hi,

 Jonhathan wrote :

 Please only post to the list if the problem continues even after using
 trunk revision = 7461; we're looking for exceptions at this point.

As with r7554, GNU Radio still have the swig problem with top_block(). The
flow_graph does not have this problem. I'm using Ubuntu 7.10, on P4 system.
Here is my tests :


[EMAIL PROTECTED]:~$ python
Python 2.5.1 (r251:54863, Oct  5 2007, 13:36:32) 
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type help, copyright, credits or license for more information.
 from gnuradio import gr
 tb = gr.top_block()
 tb.start ()
 tb.stop ()
 tb.start ()
terminate called after throwing an instance of 'std::runtime_error'
  what():  already running
Aborted

[EMAIL PROTECTED]:~$ python
Python 2.5.1 (r251:54863, Oct  5 2007, 13:36:32) 
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type help, copyright, credits or license for more information.
 from gnuradio import gr
 fg = gr.flow_graph ()
 fg.start ()
 fg.stop ()
 fg.start ()
 fg.stop ()
 
=



My system information is :

[EMAIL PROTECTED]:~$ g++ --version
g++ (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[EMAIL PROTECTED]:~$ python -V
Python 2.5.1

[EMAIL PROTECTED]:~$ swig -version

SWIG Version 1.3.31

Compiled with g++ [i686-pc-linux-gnu]
Please see http://www.swig.org for reporting bugs and further information

[EMAIL PROTECTED]:~$ uname -a
Linux ubuntu 2.6.17-12-server #2 SMP Tue Dec 18 02:13:45 UTC 2007 i686
GNU/Linux


[EMAIL PROTECTED]:~/newgnuradio$ svn info
Path: .
URL: http://gnuradio.org/svn/gnuradio/trunk
Repository Root: http://gnuradio.org/svn
Repository UUID: 221aa14e-8319-0410-a670-987f0aec2ac5
Revision: 7554
Node Kind: directory
Schedule: normal
Last Changed Author: jcorgan
Last Changed Rev: 7536
Last Changed Date: 2008-02-01 11:48:00 -0500 (Fri, 01 Feb 2008)




Regards,

Firas



-- 
View this message in context: 
http://www.nabble.com/Information-on-ticket%3A181-and-invitation-to-help-%28long%29-tp14933481p15284990.html
Sent from the GnuRadio mailing list archive at Nabble.com.



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