[Discuss-gnuradio] usrp for sale

2009-06-26 Thread davek
im gonna sell my usrp for now , need some quick cash
Its virtually brand new, sat on my desk since march only touched a few
times to swap cards.
usrp 1 motherboard, case, powersupply, fan, screws.
dbsrx w/cable
tvrx w/cable
rfx900
will include all original packaging
bought new for $1255.00 in march
price is 1125$ in united states
paypal or check
email me for details, if i dont have any takers i will put on ebay
dave


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


Re: [Discuss-gnuradio] coding entirely in C++

2009-06-26 Thread Firas Abbas

Hi,

Did you saw?

http://gnuradio.org/trac/browser/gnuradio/trunk/gr-usrp/apps
http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-core/src/lib/hier

BR

Firas


--- On Sat, 6/27/09, cr...@yahoo.com  wrote:

> From: cr...@yahoo.com 
> Subject: Re: [Discuss-gnuradio] coding entirely in C++
> To: "Philip Balister" 
> Cc: discuss-gnuradio@gnu.org
> Date: Saturday, June 27, 2009, 8:35 AM
> 
> Thanks for the link. I'll study the file to learn more
> about writing GNU radio apps in c++.
> I noticed that this was the only example in the c++
> directory.
> Any pointers on compiling the c++ source files? libraries,
> compiler options  and such.
> 
> Thank you
> -Rush
> 
> --- On Sat, 6/27/09, Philip Balister 
> wrote:
> 
> > From: Philip Balister 
> > Subject: Re: [Discuss-gnuradio] coding entirely in
> C++
> > To: "discuss-gnura...@gnu. Org" 
> > Date: Saturday, June 27, 2009, 4:06 AM
> > cr...@yahoo.com
> > wrote:
> > > I want to write GNUradio apps entirely in C++.
> > > 
> > > Could anyone outline a general procedure of
> converting
> > a sample python example(say, dial_tone.py) to c++?
> > 
> > Does this help?
> > 
> > http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-examples/c%2B%2B/dial_tone/dial_tone.cc
> > 
> > Philip
> > 
> > > 
> > > I saw online that the usrp can be interfaced by
> using
> > the -lusrp switch when using g++. How do I find the
> > corresponding -l... switches when I include the c++
> headers
> > I need?
> > > 
> > > Also, after building GNUradio 3.2, I could see
> pyhton
> > examples in the folder
> > gnuradio-3.2/gnuradio-examples/python/ but didn't find
> the
> > c++ examples in gnuradio-3.2/gnuradio-examples/c++.
> > > Did I forget a step while building or these
> examples
> > don't exist?
> > > 
> > > Any help would be appreciated.
> > > 
> > > -Rush
> > > 
> > > 
> > >       
> > > 
> > > ___
> > > Discuss-gnuradio mailing list
> > > Discuss-gnuradio@gnu.org
> > > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> > > 
> > 
> > -Inline Attachment Follows-
> > 
> > ___
> > 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 mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] coding entirely in C++

2009-06-26 Thread crjqq

Thanks for the link. I'll study the file to learn more about writing GNU radio 
apps in c++.
I noticed that this was the only example in the c++ directory.
Any pointers on compiling the c++ source files? libraries, compiler options  
and such.

Thank you
-Rush

--- On Sat, 6/27/09, Philip Balister  wrote:

> From: Philip Balister 
> Subject: Re: [Discuss-gnuradio] coding entirely in C++
> To: "discuss-gnura...@gnu. Org" 
> Date: Saturday, June 27, 2009, 4:06 AM
> cr...@yahoo.com
> wrote:
> > I want to write GNUradio apps entirely in C++.
> > 
> > Could anyone outline a general procedure of converting
> a sample python example(say, dial_tone.py) to c++?
> 
> Does this help?
> 
> http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-examples/c%2B%2B/dial_tone/dial_tone.cc
> 
> Philip
> 
> > 
> > I saw online that the usrp can be interfaced by using
> the -lusrp switch when using g++. How do I find the
> corresponding -l... switches when I include the c++ headers
> I need?
> > 
> > Also, after building GNUradio 3.2, I could see pyhton
> examples in the folder
> gnuradio-3.2/gnuradio-examples/python/ but didn't find the
> c++ examples in gnuradio-3.2/gnuradio-examples/c++.
> > Did I forget a step while building or these examples
> don't exist?
> > 
> > Any help would be appreciated.
> > 
> > -Rush
> > 
> > 
> >   
> > 
> > ___
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org
> > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> > 
> 
> -Inline Attachment Follows-
> 
> ___
> 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] coding entirely in C++

2009-06-26 Thread Philip Balister

cr...@yahoo.com wrote:

I want to write GNUradio apps entirely in C++.

Could anyone outline a general procedure of converting a sample python 
example(say, dial_tone.py) to c++?


Does this help?

http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-examples/c%2B%2B/dial_tone/dial_tone.cc

Philip



I saw online that the usrp can be interfaced by using the -lusrp switch when 
using g++. How do I find the corresponding -l... switches when I include the 
c++ headers I need?

Also, after building GNUradio 3.2, I could see pyhton examples in the folder 
gnuradio-3.2/gnuradio-examples/python/ but didn't find the c++ examples in 
gnuradio-3.2/gnuradio-examples/c++.
Did I forget a step while building or these examples don't exist?

Any help would be appreciated.

-Rush


  



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



smime.p7s
Description: S/MIME Cryptographic Signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] coding entirely in C++

2009-06-26 Thread crjqq

I want to write GNUradio apps entirely in C++.

Could anyone outline a general procedure of converting a sample python 
example(say, dial_tone.py) to c++?

I saw online that the usrp can be interfaced by using the -lusrp switch when 
using g++. How do I find the corresponding -l... switches when I include the 
c++ headers I need?

Also, after building GNUradio 3.2, I could see pyhton examples in the folder 
gnuradio-3.2/gnuradio-examples/python/ but didn't find the c++ examples in 
gnuradio-3.2/gnuradio-examples/c++.
Did I forget a step while building or these examples don't exist?

Any help would be appreciated.

-Rush


  


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


Re: [Discuss-gnuradio] wxgui errors

2009-06-26 Thread Josh Blum
Thanks for finding that. It seems be a python2.5 vs 2.6 issue where 
tuples dont have a .index method in python2.5


Its fixed in the trunk. SVN up!

-Josh

Charles Irick wrote:

I'm trying to run the usrp_wfm_rcv.py example and I get the errors
below. The gui interface comes up but appears to lock up immediately.
I have tried to look in the file gr-wxgui/src/python/forms/forms.py
under the radio_buttons class but I see no index parameter. This is
probably a simple error but I'm new to python and having trouble
understanding what is going on. I am using the code from subversion
(maybe not a great idea for starting out). I have python2.5-dev.
Running on Ubuntu 8.10. Thank you in advance.

Using RX d'board A: Basic Rx

gr_fir_ccf: using SSE
gr_fir_fff: using SSE

Form:  -> y_per_div
Error translating value: "10"
'tuple' object has no attribute 'index'
Enter a possible value in choices: "(1, 2, 5, 10, 20)"
Form:  -> y_per_div
Error translating value: "10"
'tuple' object has no attribute 'index'
Enter a possible value in choices: "(1, 2, 5, 10, 20)"
FYI: No Powermate or Contour Knob found
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/forms/forms.py",
line 100, in 
widget.Bind(EVT_DATA, lambda x: self._update(x.data))
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/forms/forms.py",
line 473, in _update
def _update(self, i): self._radio_buttons.SetSelection(i)
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
line 2425, in SetSelection
return _controls_.RadioBox_SetSelection(*args, **kwargs)
TypeError: in method 'RadioBox_SetSelection', expected argument 2 of type 'int'
aUTraceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/forms/forms.py",
line 100, in 
widget.Bind(EVT_DATA, lambda x: self._update(x.data))
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/forms/forms.py",
line 473, in _update
def _update(self, i): self._radio_buttons.SetSelection(i)
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
line 2425, in SetSelection
return _controls_.RadioBox_SetSelection(*args, **kwargs)
TypeError: in method 'RadioBox_SetSelection', expected argument 2 of type 'int'


___
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] wxgui errors

2009-06-26 Thread Charles Irick
I'm trying to run the usrp_wfm_rcv.py example and I get the errors
below. The gui interface comes up but appears to lock up immediately.
I have tried to look in the file gr-wxgui/src/python/forms/forms.py
under the radio_buttons class but I see no index parameter. This is
probably a simple error but I'm new to python and having trouble
understanding what is going on. I am using the code from subversion
(maybe not a great idea for starting out). I have python2.5-dev.
Running on Ubuntu 8.10. Thank you in advance.

Using RX d'board A: Basic Rx
>>> gr_fir_ccf: using SSE
>>> gr_fir_fff: using SSE
Form:  -> y_per_div
Error translating value: "10"
    'tuple' object has no attribute 'index'
    Enter a possible value in choices: "(1, 2, 5, 10, 20)"
Form:  -> y_per_div
Error translating value: "10"
    'tuple' object has no attribute 'index'
    Enter a possible value in choices: "(1, 2, 5, 10, 20)"
FYI: No Powermate or Contour Knob found
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/forms/forms.py",
line 100, in 
    widget.Bind(EVT_DATA, lambda x: self._update(x.data))
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/forms/forms.py",
line 473, in _update
    def _update(self, i): self._radio_buttons.SetSelection(i)
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
line 2425, in SetSelection
    return _controls_.RadioBox_SetSelection(*args, **kwargs)
TypeError: in method 'RadioBox_SetSelection', expected argument 2 of type 'int'
aUTraceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/forms/forms.py",
line 100, in 
    widget.Bind(EVT_DATA, lambda x: self._update(x.data))
  File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/forms/forms.py",
line 473, in _update
    def _update(self, i): self._radio_buttons.SetSelection(i)
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
line 2425, in SetSelection
    return _controls_.RadioBox_SetSelection(*args, **kwargs)
TypeError: in method 'RadioBox_SetSelection', expected argument 2 of type 'int'


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


[Discuss-gnuradio] usrp2 fpga testbench

2009-06-26 Thread Patrik Eliardsson
Hi everyone,

Since we try to improve the ddc performance, (see 
http://lists.gnu.org/archive/html/discuss-gnuradio/2009-06/msg00075.html) I 
have to simulate my modifications to the FPGA.

Is there any testbenches for the complete system? I've found single_u2_sim.v, 
but when I simulate this file the flash.rom file is missing. Should this file 
contain the binary firmware that is loaded during boot? Can anyone give me some 
hint how to simulate the entire system, I'm using windows with ISE simulator?

Regards,

Patrik

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


Re: [Discuss-gnuradio] Question on gr.wavfile_source

2009-06-26 Thread Martin Braun
On Thu, Jun 25, 2009 at 11:41:48AM -0700, Brook Lin wrote:
> Thanks Martin for your reply. I gave a larger gain, but still doesn't work.
> And I think I was using AM modulation in my tx_path, wasn't it? And I used
> usrp_am_mw_rcv.py to receive my transmitted signal. Should I use
> gr.interp_fir_filter_fff() on the transmitter side for am modulation? Are
> the parameters correct in optfir.low_pass()?

usrp_am_mw_rcv tries to remove a carrier which you have not sent, that's
what I meant with AM modulation.

MB

-- 
Dipl.-Ing. Martin Braun   Phone: +49-(0)721-608 3790
Institut fuer Nachrichtentechnik  Fax:   +49-(0)721-608 6071
Universitaet Karlsruhe (TH)   http://www.int.uni-karlsruhe.de/


pgpEgPubIehkL.pgp
Description: PGP signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py

2009-06-26 Thread Jason Uher
> I tried to locate the simple framer, but not able to find it. Greping for it
> takes me to the c code of gr_simple_framer but I am not able to make much
> sense of it. Can you please elaborate a bit more...? Where does the
> correlations takes place within the python code.

The framer sink is a block implemented in C, which is why there is no
python code for it, the actual correlating happens in
gr_correlate_access_code (also implemented in C), they are connected
together to do the demodulating in pkt.py, which is modulation
independent.

(from: 
http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-core/src/python/gnuradio/blks2impl/pkt.py)

141 self.correlator = gr.correlate_access_code_bb(access_code,
threshold)
142 
143 self.framer_sink = gr.framer_sink_1(self._rcvd_pktq)
144 self.connect(self, self._demodulator, self.correlator,
self.framer_sink)

correlate_access_code takes a stream of bits from the demodulator and
tries to find the code prepended to each packet, when it does it sets
the second LSB (because each demodulated bit is in the LSB and the
other 7 are 0).  The framer_sink_1 watches for this flag and blindly
collects the packet starting from that point.

If you want to get a better idea of what's happening and understand C
you can look here:

http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-core/src/lib/general/gr_correlate_access_code_bb.cc

http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-core/src/lib/general/gr_framer_sink_1.cc

(Note that if you have an old version of the trunk checked out you
might be better off looking at those files in your local repository)


Jason


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


Re: [Discuss-gnuradio] USRP2

2009-06-26 Thread Jason Uher
> which software for programming and compiler. Do you have document about how
> to make simple software for testing.

These are a good place to start getting to know gunradio and the USRP,
most of the examples deal with the USRP1, but it should be fairly
simple to transform them using the examples in the appropriately named
'Examples' folder from the gnuradio trunk.

http://gnuradio.org/trac/wiki/GettingStarted
http://www.gnu.org/software/gnuradio/doc/exploring-gnuradio.html
http://www.joshknows.com/gnuradio

Jason


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


Re: [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py

2009-06-26 Thread ali siddiqi
> Yes.
>
> In rx_path you will see the demod path. If you follow this down far enough,
> you'll come to the simple framer block. This pulls in bits and correlates it
> against the known access code. If the correlation hits, it then goes through
> and packs together the frame. When the frame is built (it knows this because
> it gets the frame's length after the access code), it sends it as a message
> to the callback function defined. The callback function is located in
> benchmark_rx.
>
> Hope that gets you going.
>
> Tom
>
>
I tried to locate the simple framer, but not able to find it. Greping for it
takes me to the c code of gr_simple_framer but I am not able to make much
sense of it. Can you please elaborate a bit more...? Where does the
correlations takes place within the python code.

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