Re: [Discuss-gnuradio] Re: transmission from usrp1 vs. usrp2

2009-08-11 Thread Lin HUANG
YES. I also found this fact that the dynamic ranges of two usrps are so
different, just in these days.

Furthermore, the range of usrp.source_32fc is also +-1.0, right? Because I
found the sample amplitude is very small when I use usrp2_fft.py observe the
same RF input on USRP2, compared with usrp_fft.py on USRP.

Lin


2009/8/11, Johnathan Corgan :
>
> On Tue, 2009-08-11 at 09:38 -0600, Jordan J Riggs wrote:
>
> > Here is the FFT output of the two devices.
>
> This looks like gain compression or even clipping on the USRP2.
>
> The dynamic range of samples to be sent to the usrp.sink_c block for the
> USRP1 is +- 32767.
>
> The dynamic range of samples to be sent to the usrp2.sink_32fc block for
> the USRP2 is +-1.0.
>
> In either case, the RFX boards go into gain compression in the upper 20
> dB or so of their transmit range, so if you have a modulation which
> requires linear frequency response (e.g., filtered BPSK), you need to
> restrict the sample amplitude to +- 3000 or so for USRP1 and += 0.1 or
> so for USRP2.
>
> If you are in fact sending the same actual sample range valid for the
> USRP1 (+-32767) into the USRP2 sink, you will of course get severe
> distortion as the sink will clip this to a +-1.0 square wave.
>
> Johnathan
>
>
>
> ___
> 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


[Discuss-gnuradio] How to deal with discrepancy in sample rate? (44.1Hz from a wavform, etc)

2009-08-11 Thread Jonathan Coveney
Ok, so my goal is to be able to use a wav file and then fm modulate it, and
store the result in a .dat file containing complex samples that could then
be demodulated by an fm demodulator I have. But I'm running into a couple of
problems!

Usually, the iconic sample rate seems to be 320KHz, and an audio_sink
usually is set to 32KHz. However, the wavfile_source block has a
sample_rate() attribute, and its about 44100. I didn't think that this would
matter, except that when calling the fm modulator
fmtx = blks2.nbfm_tx (audio_sample, file_sample, max_dev=5e3, tau=75e-6)
it seems I have to set the sample rate (file_sample) equal to an integer
multiple of the audio_sample rate...this makes intuitive sense, but it won't
let me go as large as I want? At 10*audio_sample (when audio_sample is
44100), I get an insufficient extremals error... but if the audio sample
rate is 32000, I can set the sample rate arbitrarily high!

Related to this is the question of demodulation. Usually, you want to be
symmetric in your sample rates and all that...but given I'll be demodulating
this signal via FM and probably going to a audio_sink (which has a sample
rate of 32000? or can I also instantiate it with a sample rate that is
higher?) I'm not sure how I can deal with the discrepancy between the two.

Your help is greatly appreciate!
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] C++ modules of GNU Radio

2009-08-11 Thread Himanshu Thapar
Well, what I am trying to acheive is this: I want to port a only C++
module of GNU Radio to this tool I am working on in Windows and see its
compliance. By compliance, I mean just see what kind of errors does this
tool give me, for example what features of C++ are not supported like
templates, etc. so that I can work on them and get rid of those errors and
hopefully make GNU Radio completely compliant with it one day..so the
first logical step is to make my tool compliant with the C++ standards used
in GNU Radio.and then move on to the next step...I know it will take
a long time but is the most logical in my case
.I hope this answers your doubt.

On Tue, Aug 11, 2009 at 5:25 PM, Eric Blossom  wrote:

>  On Tue, Aug 11, 2009 at 04:58:36PM -0500, Himanshu Thapar wrote:
> > Hello Everyone,
> >
> > I am new to GNU Radio and was wondering if anyone can guide me to the
> only
> > C++ modules of GNU Radio. I am actually trying to port these modules in
> > Windows in a commercial compiler and seeing what errors I run into. I am
> > basically trying to study the compliance issues I run across, so I can go
> > ahead and work on them in the tool and get rid of them.
> >
> > Thanks.
>
> Have you looked at the code?
> If so, what questions do you have?
>
> Eric
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] scope display bug? distortion of sine wave at high frequency

2009-08-11 Thread Josh Blum
what is the sample rate of your signal source? If its samp_rate, which 
defaults to 32KHz, then the plots attached make perfect sense.


-Josh

Milo Wong wrote:

Hi all,

I found sine waves will be terribly distorted when they are generated at
relatively high frequency(above 5khz) from signal source in GRC. I set the
sampl_rate of scope sink to 2Ghz(high enough, I think), and there are always
spikes on generated sine wave. This problem is especially distinct when
generated sine wave reaches 20Khz and the waveform displayed on scope sink
is almost "saw wave". There will be nothing to dispaly if I keep on
increasing frequency to 1Mhz. Is there anybody who met this problem before?
or it might only be the display problem in GRC? I guess it might be the
problem of scope sink which could not achieve that high sweep (sampling)
rate even I set it correctly.

Attached are snapshot of generated sine waves at different frequencies:


Your comments will be very much appreciated.

Thanks,

Milo














___
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] C++ modules of GNU Radio

2009-08-11 Thread Eric Blossom
On Tue, Aug 11, 2009 at 04:58:36PM -0500, Himanshu Thapar wrote:
> Hello Everyone,
> 
> I am new to GNU Radio and was wondering if anyone can guide me to the only
> C++ modules of GNU Radio. I am actually trying to port these modules in
> Windows in a commercial compiler and seeing what errors I run into. I am
> basically trying to study the compliance issues I run across, so I can go
> ahead and work on them in the tool and get rid of them.
> 
> Thanks.

Have you looked at the code?
If so, what questions do you have?

Eric


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


[Discuss-gnuradio] C++ modules of GNU Radio

2009-08-11 Thread Himanshu Thapar
Hello Everyone,

I am new to GNU Radio and was wondering if anyone can guide me to the only
C++ modules of GNU Radio. I am actually trying to port these modules in
Windows in a commercial compiler and seeing what errors I run into. I am
basically trying to study the compliance issues I run across, so I can go
ahead and work on them in the tool and get rid of them.

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


Re: [Discuss-gnuradio] Using scope in benchmark_tx to see signals before and after modulation

2009-08-11 Thread Eric Blossom
On Tue, Aug 11, 2009 at 02:18:15PM -0700, udadidd wrote:
> 
> sure i can do that.
> But my connections are like this.
> 

  self.connect(module A, module B)
  self.conenct(module B, module C)
  self.connect(module B, file_sink.1)
 
  self.connect(module C, module D)
  self.connect(module C, file_sink2)

  ...

Eric



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


Re: [Discuss-gnuradio] Using scope in benchmark_tx to see signals before and after modulation

2009-08-11 Thread Eric Blossom
On Tue, Aug 11, 2009 at 02:19:02PM -0700, udadidd wrote:
> 
> Sorry, Thats PORT B ALREADY in USE

An output port may have any number of inputs connected to it.

Eric


> udadidd wrote:
> > 
> > sure i can do that.
> > But my connections are like this.
> > 
> > self.connect(module A, module B, file_sink.1)
> > self.connect(module A,module B, module C)
> > 
> > self.connect (module C, module D, file_sink.2 )
> > self.connect (module C, module D, module E)
> > 
> > 
> > So now if i try to insert file in between my connections, it says, the
> > port C already in use!!
> > So is there a way i can tap the data at these points?
> > 
> > 
> > 
> > 
> > 
> > Eric Blossom wrote:
> >> 
> >> On Tue, Aug 11, 2009 at 08:59:23AM -0700, udadidd wrote:
> >>> 
> >>> hi 
> >>>  i want to see the signals on the scope before and after modulation. but
> >>> the
> >>> transmit_path.py use hier_block2 and benchmark_tx use top_block. can any
> >>> one
> >>> kindly help on where should i go ahead and make changes? 
> >> 
> >> May I suggest logging the data to a file using gr.file_sink(...)
> >> then examining it using octave, scipy, ...
> >> 
> >> Eric


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


Re: [Discuss-gnuradio] Using scope in benchmark_tx to see signals before and after modulation

2009-08-11 Thread udadidd

Sorry, Thats PORT B ALREADY in USE

udadidd wrote:
> 
> sure i can do that.
> But my connections are like this.
> 
> self.connect(module A, module B, file_sink.1)
> self.connect(module A,module B, module C)
> 
> self.connect (module C, module D, file_sink.2 )
> self.connect (module C, module D, module E)
> 
> 
> So now if i try to insert file in between my connections, it says, the
> port C already in use!!
> So is there a way i can tap the data at these points?
> 
> 
> 
> 
> 
> Eric Blossom wrote:
>> 
>> On Tue, Aug 11, 2009 at 08:59:23AM -0700, udadidd wrote:
>>> 
>>> hi 
>>>  i want to see the signals on the scope before and after modulation. but
>>> the
>>> transmit_path.py use hier_block2 and benchmark_tx use top_block. can any
>>> one
>>> kindly help on where should i go ahead and make changes? 
>> 
>> May I suggest logging the data to a file using gr.file_sink(...)
>> then examining it using octave, scipy, ...
>> 
>> Eric
>> 
>> 
>> ___
>> 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/Is-it-possible-to-change-ADC-DAC-rates--tp24178434p24925956.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] Using scope in benchmark_tx to see signals before and after modulation

2009-08-11 Thread udadidd

sure i can do that.
But my connections are like this.

self.connect(module A, module B, file_sink.1)
self.connect(module A,module B, module C)

self.connect (module C, module D, file_sink.2 )
self.connect (module C, module D, module E)


So now if i try to insert file in between my connections, it says, the port
C already in use!!
So is there a way i can tap the data at these points?





Eric Blossom wrote:
> 
> On Tue, Aug 11, 2009 at 08:59:23AM -0700, udadidd wrote:
>> 
>> hi 
>>  i want to see the signals on the scope before and after modulation. but
>> the
>> transmit_path.py use hier_block2 and benchmark_tx use top_block. can any
>> one
>> kindly help on where should i go ahead and make changes? 
> 
> May I suggest logging the data to a file using gr.file_sink(...)
> then examining it using octave, scipy, ...
> 
> Eric
> 
> 
> ___
> 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/Is-it-possible-to-change-ADC-DAC-rates--tp24178434p24925944.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] Re: OSX configure error

2009-08-11 Thread Jonathan Coveney
Are you installing from the tarball or from the svn repository? If it's the
former, you shouldn't bootstrap. If it's the latter, you should, but there
is a special command you need to create for it.
https://radioware.nd.edu/documentation/install-guides/mac-os-x/obtaining-and-installing-gnu-radio
sed -e 's...@libtool@glibt...@g' bootstrap > bootstrap_mp && sh bootstrap_mp

2009/8/11 Josef Vukovic 

> I have resolved this porblem.
> The error don't appear when the ./bootstrap script is not run
> before the ./configure script is run.
> So don't make a configure scritpt with ./bootstrap instead run
> simply ./configure.
>
> cu
> Josef Vukovic
>
> 2009/8/6 Josef Vukovic 
>
> Hello all,
>>
>> I am trying to install GNU-Radio on my PowerBook G4 1.67GHz with OS X
>> 10.4.11
>> I read the OS X build instructions from RadioWare. But get error during
>> the installation
>> of the dependent packages from Macports. I can't install the sdcc
>> compiler, so that is
>> not the problem because I am a GNURadio beginner and for the first time I
>> don't need
>> the usrp part of GNU-Radio. So I type in ./configure --disabel-usrp the
>> problem is that
>> the configure script quit with the error:
>>
>> configure: error: cannot find usable Python headers
>>
>> But the Python interpreter is installed and is working:
>>
>> q68f0:~/gnuradio josefvukovic$ python
>> Python 2.5.4 (r254:67916, Aug  6 2009, 10:03:18)
>> [GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> quit
>> Use quit() or Ctrl-D (i.e. EOF) to exit
>> >>>
>> q68f0:~/gnuradio josefvukovic$
>>
>>
>> Could someone be so kind to give me a hint what can I do :-(
>>
>> cu
>> Josef Vukovic
>>
>
>
> ___
> 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


[Discuss-gnuradio] WBX0510 daughterboard

2009-08-11 Thread Rafael Diniz
Hi People,
Do anyone have any news about the WBX0510?

Thanks in advance,
Rafael Diniz




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


[Discuss-gnuradio] DVB-T

2009-08-11 Thread Matt Ettus



I know that Vincenzo Pellegrini (and possibly others) had a working 
DVB-T implementation for GNU Radio, but all the links I find are dead. 
Can someone point me to the latest code or web page?


Thanks,
Matt



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


Re: [Discuss-gnuradio] Questions about data type conversion in GRC. (ADC, encoder)

2009-08-11 Thread Milo Wong
Hi Colin,

Thank you for your reply! What I am going to design is to separate the float
output from audio source into several branches for later 8b/10 encoding on
each branch. So before encoding, I was wondering if the data after "stream
to streams" is already byte type (or in bits) .

As you said "The samples from an audio source as well as other GNU radio
source, have already been digitized", is that means I could directly apply
any bits operation (like an 8b/10b encoding) on the output samples from
audio source or from output of "stream to streams" block?

To test the result, I put a couple of file sinks after audio source and
"stream to streams" conversion block(all I/O ports are float type), but the
data I gathered in the file are hex. Even though I got the digitized data as
I want, I am quite confused about the reason for that. I'll appreciate your
explanation.

Thank you,

Milo


Hi all,
Hope you guys had a great weekend. I have a question about the data type
between gnuradio blocks.
1)I used "stream to streams" block in GRC to de-multiplex the output of
audio source which type is float and drops in the range of (-1,+1), I was
wondering what is the type of data after "stream to streams"(de-multiplex)?
In my flow graph, all of the I/O type of blocks in GRC are float, however,
if I put the data streams into file sinks which input type is also float,
the data I gathered are hex. Why? I used "Bless" hex editor software to open
the file. Is that means the "bless" helped me with the type converting?
2) I do need the the bits(or byte) data after demultiplexing for later
digital signal processing, but there's no ADC in GRC which could help me
with converting the float data between (-1,+1) to bits (byte). How could I
achieve this conversion?
3) BTW, what is the difference between "stream to streams" and
"de-interleave" blocks. It seems that they have the same outputs.
Thank you very much!
Milo





---
Message: 20
Date: Fri, 07 Aug 2009 18:19:12 -0500
From: Colin Stagner 
Subject: Re: [Discuss-gnuradio] Questions about data type conversion
   in GRC. (ADC, encoder)
To: discuss-gnuradio@gnu.org
Message-ID: <4a7cb670.3060...@gmail.com>
Content-Type: text/plain; charset=UTF-8

Milo Wong wrote:
> So, I am going to encode the analog output of audio source(float, -1
> to +1 ??) to digital bit streams(byte) for digital signal Processing
> later on.
What exactly are you trying to accomplish? The samples you get from an
audio source, like any other GNU radio source, have already been
digitized. Are you trying to extract a modulated signal that contains
digital data (i.e. FSK, PSK) from your audio source?
> But I found there's no ADC or encoder in GRC which could properly
> convert float: -1~+1 to Byte: 00~FF. Is there any way to achieve that?
If you're just looking to convert floats to bytes, use either
gr.float_to_char (range -128 to 127) or gr.float_to_uchar (range 0 to
255). However, be aware that you will lose a lot of dynamic range—the
input is converted to a long integer first, then clipped. You will need
to scale your signal by adding 1 and dividing by 2/255 before you
convert it.

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


Re: [Discuss-gnuradio] Using scope in benchmark_tx to see signals before and after modulation

2009-08-11 Thread Eric Blossom
On Tue, Aug 11, 2009 at 08:59:23AM -0700, udadidd wrote:
> 
> hi 
>  i want to see the signals on the scope before and after modulation. but the
> transmit_path.py use hier_block2 and benchmark_tx use top_block. can any one
> kindly help on where should i go ahead and make changes? 

May I suggest logging the data to a file using gr.file_sink(...)
then examining it using octave, scipy, ...

Eric


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


Re: [Discuss-gnuradio] GNURadio Mail Distribution Problem

2009-08-11 Thread Johnathan Corgan
On Mon, Aug 10, 2009 at 20:02, Firas A. wrote:

> From about three days, gnuradio.org seems to stop sending the commit files.
> For me, the last revision received was 11546.

This was a server configuration error (caused by yours truly); Eric
just fixed it.

Johnathan


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


Re: [Discuss-gnuradio] GNURadio Mail Distribution Problem

2009-08-11 Thread Eric Blossom
On Mon, Aug 10, 2009 at 08:02:45PM -0700, Firas A. wrote:
> 
> Hi,
> 
> From about three days, gnuradio.org seems to stop sending the commit files.
> For me, the last revision received was 11546. 
> 
> 
> BR
> Firas

It's fixed now.

Eric


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


Re: [Discuss-gnuradio] How to properly generate documentation, and find the files behind the code?

2009-08-11 Thread Eric Blossom
On Mon, Aug 10, 2009 at 05:29:27PM -0400, Jonathan Coveney wrote:
> Howdy,
> 
> I want to better understand certain blocks... such as what the parameters of
> optfir.low_pass actually specify, how it's implemented, that sort of thing.
> But the gnuradio filetree is next to impossible to traverse.
> 
> I have been pointed here
> /usr/local/share/doc/gnuradio-3.3svn/html/index.html
> 
> which is definitely useful, but seems to be generated automatically off of
> header files, and doesn't link you to the actual source code, which I cannot
> find.
> 
> I'm sure this exists, just not sure how to grab it. Thoughts?
> 
> Thanks
> -Jonathan

If you haven't downloaded the source code, please do.

  http://gnuradio.org/trac/wiki/Download

There are _many_ tools available for browsing source code.  
Try grep or etags to start.

Eric


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


[Discuss-gnuradio] [Viterbi decoder]

2009-08-11 Thread Rita's pfc

Is there any way to use the viterbi decoder without using any modulation?
I read the documentation and it seems that there is no way, but I want to be
sure that there isn't any possibility.
Thank you
-- 
View this message in context: 
http://www.nabble.com/-Viterbi-decoder--tp24921515p24921515.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] Using scope in benchmark_tx to see signals before and after modulation

2009-08-11 Thread udadidd

hi 
 i want to see the signals on the scope before and after modulation. but the
transmit_path.py use hier_block2 and benchmark_tx use top_block. can any one
kindly help on where should i go ahead and make changes? 


-- 
View this message in context: 
http://www.nabble.com/Is-it-possible-to-change-ADC-DAC-rates--tp24178434p24920490.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] Re: transmission from usrp1 vs. usrp2

2009-08-11 Thread Johnathan Corgan
On Tue, 2009-08-11 at 09:38 -0600, Jordan J Riggs wrote:

> Here is the FFT output of the two devices.

This looks like gain compression or even clipping on the USRP2.

The dynamic range of samples to be sent to the usrp.sink_c block for the
USRP1 is +- 32767.

The dynamic range of samples to be sent to the usrp2.sink_32fc block for
the USRP2 is +-1.0.

In either case, the RFX boards go into gain compression in the upper 20
dB or so of their transmit range, so if you have a modulation which
requires linear frequency response (e.g., filtered BPSK), you need to
restrict the sample amplitude to +- 3000 or so for USRP1 and += 0.1 or
so for USRP2.

If you are in fact sending the same actual sample range valid for the
USRP1 (+-32767) into the USRP2 sink, you will of course get severe
distortion as the sink will clip this to a +-1.0 square wave.

Johnathan



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


Re: [Discuss-gnuradio] USB writing problem

2009-08-11 Thread Harvind Samra
I'll check out the /var/log/messages the next time it happens.

--- Harvind

On Mon, 2009-08-10 at 11:04 -0700, Eric Blossom wrote:
> On Mon, Aug 10, 2009 at 10:48:57AM -0700, Harvind Samra wrote:
> > We've occasionally encountered cases, while running OpenBTS, where the
> > USRP code hang up and starts spitting out the following message
> > repeatedly:
> > 
> > short write xfer: 0 != 3584
> > 
> > In looking at fusb_linux.cc, it looks like USB writes suddenly cease to
> > complete.  Sometimes, the host machine hangs so badly that a reboot is
> > needed.
> > 
> > I know USB on linux has always had problems.  So my questions are:
> > 
> > 1) Is this problem specific to the USRP or does it have to do with
> > libusb?
> > 2) Is the specific to certain USB controllers?
> > 3) Has this bug been addressed in recent updates/releases to gnuradio?
> > 
> > Any help is appreciated.  Thanks.
> > 
> > Harvind Samra
> > Kestrel Signal Processing, Inc.
> 
> Hi Harvind!
> 
> I've never seen this error.
> Have you checked the kernel logs? 
> /var/log/messages is probably a good place to start.
> 
> Eric




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


Re: [Discuss-gnuradio] How to simultaneously tx/rx on usrp with OFDM?

2009-08-11 Thread Mattias Kjellsson

> There are several problems I am facing now(sorry, I am not a good programmer, 
> maybe they are silly questions):
> 1. I am trying to use different threads to receive packets and transmit 
> packets. Although I used "global killed" and "sys.exit(1)" to make sure 
> threads exit when Ctrl-C pressed, it won't abort to the command line. 
>   
> 2. As I said I need to combine received packets and locally generated packets 
> at transmitting, but I didn't figure out how to achieve that. I am thinking 
> of 
> make a global variable payload_all[], and just throw every packets into it, 
> then use send_pkts to transmit the payload while receiving packets from 
> others 
> in another thread. Is that possible?
>   
> 3. The blocks transmit_path and receive_path I think are both having only 1 
> connector in the graph. Is there any easy way to connect these two parts? Or 
> is there any other blocks that I can use to make this kind of connection?
>
> Any related suggestion will be appreciated.
>   
Hi,

Have you had a look at gr_message_sink/source? I think they might be a
good substitute to the global "payload_all[]".

Just my uninitialized and very quick thoughts...

BR
//Mattias



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


[Discuss-gnuradio] How to simultaneously tx/rx on usrp with OFDM?

2009-08-11 Thread Yan Wang
Hi,
Basically I want to do following things on one usrp node.
1. receive packets from one other node
2. relay the packets received
3. transmit packets generated locally

So my idea is to get the packets through usrp_src and receive_path, then put 
the received packets and locally generated packets together into payload, then 
use send_pkts() to sendout packets through transmit_path and usrp_snk.

There are several problems I am facing now(sorry, I am not a good programmer, 
maybe they are silly questions):
1. I am trying to use different threads to receive packets and transmit 
packets. Although I used "global killed" and "sys.exit(1)" to make sure 
threads exit when Ctrl-C pressed, it won't abort to the command line. 

2. As I said I need to combine received packets and locally generated packets 
at transmitting, but I didn't figure out how to achieve that. I am thinking of 
make a global variable payload_all[], and just throw every packets into it, 
then use send_pkts to transmit the payload while receiving packets from others 
in another thread. Is that possible?

3. The blocks transmit_path and receive_path I think are both having only 1 
connector in the graph. Is there any easy way to connect these two parts? Or 
is there any other blocks that I can use to make this kind of connection?

Any related suggestion will be appreciated.

I posted my small test codes online(http://www.sendspace.com/file/6n64co), if 
you can take a look at it and give me some suggestion, that will be awsome.

Thanks a lot.
Yan Wang



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


[Discuss-gnuradio] Re: OSX configure error

2009-08-11 Thread Josef Vukovic
I have resolved this porblem.
The error don't appear when the ./bootstrap script is not run
before the ./configure script is run.
So don't make a configure scritpt with ./bootstrap instead run
simply ./configure.

cu
Josef Vukovic

2009/8/6 Josef Vukovic 

> Hello all,
>
> I am trying to install GNU-Radio on my PowerBook G4 1.67GHz with OS X
> 10.4.11
> I read the OS X build instructions from RadioWare. But get error during the
> installation
> of the dependent packages from Macports. I can't install the sdcc compiler,
> so that is
> not the problem because I am a GNURadio beginner and for the first time I
> don't need
> the usrp part of GNU-Radio. So I type in ./configure --disabel-usrp the
> problem is that
> the configure script quit with the error:
>
> configure: error: cannot find usable Python headers
>
> But the Python interpreter is installed and is working:
>
> q68f0:~/gnuradio josefvukovic$ python
> Python 2.5.4 (r254:67916, Aug  6 2009, 10:03:18)
> [GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> quit
> Use quit() or Ctrl-D (i.e. EOF) to exit
> >>>
> q68f0:~/gnuradio josefvukovic$
>
>
> Could someone be so kind to give me a hint what can I do :-(
>
> cu
> Josef Vukovic
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio