Re: [Discuss-gnuradio] FFT Plot and Benchmark

2009-07-09 Thread ali siddiqi
Hi all,
I looked at fftsink_gl.py. It couldnt be executed because of import error of
fft_window. Also, if in case I manage
to run it, still I am finding it difficult to incoporate it in
benchmark_tx.py. Can someone elaborate a bit more on how to add FFT sink in
benchmark_tx?

Regards,
Ali

On Thu, Jul 9, 2009 at 10:29 PM, Eric Blossom  wrote:

> On Thu, Jul 09, 2009 at 01:44:36PM +0600, ali siddiqi wrote:
> > Hi all,
> >
> > I have edited benchmark_tx.py to shift between 3 different frequencies,
> > depending upon which one is free after sensing the apectrum. i have made
> a
> > separate program which senses the spectrum and it is called in
> benchmark_tx.
> >
> > Thus the system switches between transmit (benchmark_tx) and receive
> > (sensing) mode on a regular basis.
> >
> > This works fine.
> >
> > The problem arises when i want to show on the situation of the spectrum
> on a
> > FFT Plot. I ran the GRC flowgraph (USRP Source-->FFT Sink) in parallel
> with
> > the above mentioned programs. But it doesnt work.
> >
> > Can someone help me in finding out how to add FFT Plot in the above
> > programs.
>
> If you look at gr-wxgui/src/python/fftsink_gl.py or fftsink_nongl.py
> you'll see that there is a complete standalone example at the bottom.
>
> You basically just instantiate a fft_sink_c or _f.
>
> Eric
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] RSSI value in USRP2

2009-07-09 Thread Eric Lo
Is it possible to obtain rssi value in usrp2 with rcv2400 ?

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


Re: [Discuss-gnuradio] storing samples from the RFX900 board

2009-07-09 Thread Eric Blossom
On Thu, Jul 09, 2009 at 01:16:29PM -0700, cr...@yahoo.com wrote:
> 
> I am using a RFX900 board with the usrp. I plan to use the rx part of the 
> board and store the samples to a disk file. I am using c++ only.
> 
> Has anyone done something similar before? I need help with selecting and 
> setting the input channel,mux settings and DDC settings. 
> Also the DDC should be set to convert from 902-928Mhz ism and to an IF. is 
> 100Mhz a good value for this?
> 
> After browsing through the source, I think there are two ways of doing it.
> 1. using usrp_source_c from (/gnuradio/gr-usrp/) directories.
> 2. using functions from "usrp_standard.h"(gnuradio/usrp/host/lib/)
> 
> Can anyone compare the two approaches?
> 
> Regards
> -Rush

There's already C++ code that does what you want.

Please take a look at

  gr-usrp/apps/usrp_rx_cfile.cc

Eric


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


[Discuss-gnuradio] storing samples from the RFX900 board

2009-07-09 Thread crjqq

I am using a RFX900 board with the usrp. I plan to use the rx part of the board 
and store the samples to a disk file. I am using c++ only.

Has anyone done something similar before? I need help with selecting and 
setting the input channel,mux settings and DDC settings. 
Also the DDC should be set to convert from 902-928Mhz ism and to an IF. is 
100Mhz a good value for this?

After browsing through the source, I think there are two ways of doing it.
1. using usrp_source_c from (/gnuradio/gr-usrp/) directories.
2. using functions from "usrp_standard.h"(gnuradio/usrp/host/lib/)

Can anyone compare the two approaches?

Regards
-Rush


  


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


Re: [Discuss-gnuradio] Re: Question about the bandwidth of OFDM

2009-07-09 Thread Eric Blossom
On Thu, Jul 09, 2009 at 05:59:57PM +, Yan Wang wrote:
> Yan Wang  eden.rutgers.edu> writes:
> 
> > 
> > Hi,
> > I am trying to use benchmark_ofdm_tx.py and benchmark_ofdm_rx.py to test 
> > the 
> >...
> 
> 
> Am I asking questions at wrong place? If so, where shall I post them?
> Can anybody help?
> Thanks.

This is the right place.

Oftentimes when you don't get an answer, it indicates that either the
question you asked or how you asked it failed to get anybody's
attention.

See http://gnuradio.org/trac/wiki/ReportingErrors for suggestions on
how to maximize the chances of getting a useful response on pretty
much any mailing list.

Q: Why would you expect the number of bits in the A/D to have anything
to do with the occupied bandwidth?

Eric


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


[Discuss-gnuradio] Re: Question about the bandwidth of OFDM

2009-07-09 Thread Yan Wang
Yan Wang  eden.rutgers.edu> writes:

> 
> Hi,
> I am trying to use benchmark_ofdm_tx.py and benchmark_ofdm_rx.py to test the 
>...


Am I asking questions at wrong place? If so, where shall I post them?
Can anybody help?
Thanks.



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


Re: [Discuss-gnuradio] ubuntu package problem?

2009-07-09 Thread Johnathan Corgan
On Thu, Jul 9, 2009 at 10:02, Qi Chen wrote:

> Seems like the tunnel.py script under /digital/ also doesn't work after the
> update. The set frequency option is no longer available. Any ideas?

Actually, this isn't a packaging bug, it's in the current trunk and
the 3.2.1 release.

Unfortunately, to fix it, we'll need to issue a  3.2.2 release.  I'll
post a note to the list when we have a handle on it.

Johnathan


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


Re: [Discuss-gnuradio] ubuntu package problem?

2009-07-09 Thread Qi Chen

Johnathan Corgan wrote:

On Wed, Jul 8, 2009 at 13:44, Jordan J Riggs wrote:

  

I'm attempting to run gr-sounder on Ubuntu 9.04, using the 3.2 release from
the Ubuntu gnuradio repository. The core gnuradio packages seem to work
fine, but when I run usrp_sounder.py, I get an error indicating that the
sounder module cannot be imported. Cross-checking against an installation on
another machine (compiled from source), I see that gr-sounder includes a
file called sounder.py, which is not present in the Ubuntu repository
install. Out of curiosity, I tired running the gr-radar-mono, but got a
similar import error. Any ideas?



This is a packaging bug, thanks for the report.

The gr-radar-mono missing file issue is already fixed in package
version 3.2.1-1.  You should use apt-get or the Update Manager app to
upgrade.

The gr-sounder missing file issue you are reporting has a similar
cause, and will be fixed for package version 3.2.1-2, in the next day
or so.

Johnathan


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
  
Seems like the tunnel.py script under /digital/ also doesn't work after 
the update. The set frequency option is no longer available. Any ideas?



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


Re: [Discuss-gnuradio] Trunk updates

2009-07-09 Thread Eric Blossom
On Thu, Jul 09, 2009 at 09:40:19AM -0700, Johnathan Corgan wrote:
> The recent trunk merge of reorganized USRP code may result in
> difficulty doing an svn update to an existing working copy.  If you
> encounter an issue, you may either check out a new copy of the trunk,
> or delete the contents of your working directory (except for the top
> .svn subdirectory) and then reperform the svn update.

FWIW, after the failure

  $ rm -fr usrp/host/lib
  $ svn up

worked for me.

Eric


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


[Discuss-gnuradio] Trunk updates

2009-07-09 Thread Johnathan Corgan
The recent trunk merge of reorganized USRP code may result in
difficulty doing an svn update to an existing working copy.  If you
encounter an issue, you may either check out a new copy of the trunk,
or delete the contents of your working directory (except for the top
.svn subdirectory) and then reperform the svn update.

Johnathan


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


Re: [Discuss-gnuradio] Blocks and GRC

2009-07-09 Thread Eric Blossom
On Thu, Jul 09, 2009 at 03:08:52AM -0700, Abdalla Sokar wrote:
> Dear All
> i have a question so sorry for disturbing u all
> 
> if i was able to add blocks to gnu radio, will these blocks will be available 
> for use with GRC directly
> and if no, is there away to add them to GRC?

Please try google before posting...

  http://www.google.com/search?q=adding+blocks+to+grc

  http://gnuradio.org/trac/wiki/GNURadioCompanion#AddingCustomBlocks

Eric


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


Re: [Discuss-gnuradio] Blocks and GRC

2009-07-09 Thread Josh Blum



Abdalla Sokar wrote:

Dear All
i have a question so sorry for disturbing u all

if i was able to add blocks to gnu radio, will these blocks will be available 
for use with GRC directly


i wish...


and if no, is there away to add them to GRC?



http://gnuradio.org/trac/wiki/GNURadioCompanion#AddingCustomBlocks




  





___
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] FFT Plot and Benchmark

2009-07-09 Thread Eric Blossom
On Thu, Jul 09, 2009 at 01:44:36PM +0600, ali siddiqi wrote:
> Hi all,
> 
> I have edited benchmark_tx.py to shift between 3 different frequencies,
> depending upon which one is free after sensing the apectrum. i have made a
> separate program which senses the spectrum and it is called in benchmark_tx.
> 
> Thus the system switches between transmit (benchmark_tx) and receive
> (sensing) mode on a regular basis.
> 
> This works fine.
> 
> The problem arises when i want to show on the situation of the spectrum on a
> FFT Plot. I ran the GRC flowgraph (USRP Source-->FFT Sink) in parallel with
> the above mentioned programs. But it doesnt work.
> 
> Can someone help me in finding out how to add FFT Plot in the above
> programs.

If you look at gr-wxgui/src/python/fftsink_gl.py or fftsink_nongl.py
you'll see that there is a complete standalone example at the bottom.

You basically just instantiate a fft_sink_c or _f.

Eric


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


Re: [Discuss-gnuradio] Problem in executing GRC

2009-07-09 Thread udadidd

Hi
I have deleted al gnuradio/ files from /usr/local/{directories}
-and again started from bootstrap
-ran grc
Now I get the error:

Xlib:  extension "RANDR" missing on display "/tmp/launch-zFqALC/:0".
Traceback (most recent call last):
  File "/usr/local/bin/grc", line 33, in 
from gnuradio.grc import VERSION
ImportError: No module named grc

 

Johnathan Corgan-2 wrote:
> 
> On Sun, Jul 5, 2009 at 18:05, udadidd wrote:
> 
>> Do i have to configure, make and make install?
> 
> What may have happened here is fallout from a reorganization of the
> grc directories in the source/install tree on the trunk.  You're best
> best is to manually go through /usr/local/{bin,lib,...} and remove all
> traces of gnuradio, then go back to your gnuradio source tree and
> start from the bootstrap step.
> 
> That's a bit of overkill, but should clear the issue up.
> 
> Johnathan
> 
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-in-Installing-gnuradio-3.2-tp22518659p24411097.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] Blocks and GRC

2009-07-09 Thread Abdalla Sokar
Dear All
i have a question so sorry for disturbing u all

if i was able to add blocks to gnu radio, will these blocks will be available 
for use with GRC directly
and if no, is there away to add them to GRC?



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


[Discuss-gnuradio] FFT Plot and Benchmark

2009-07-09 Thread ali siddiqi
Hi all,

I have edited benchmark_tx.py to shift between 3 different frequencies,
depending upon which one is free after sensing the apectrum. i have made a
separate program which senses the spectrum and it is called in benchmark_tx.

Thus the system switches between transmit (benchmark_tx) and receive
(sensing) mode on a regular basis.

This works fine.

The problem arises when i want to show on the situation of the spectrum on a
FFT Plot. I ran the GRC flowgraph (USRP Source-->FFT Sink) in parallel with
the above mentioned programs. But it doesnt work.

Can someone help me in finding out how to add FFT Plot in the above
programs.

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