Re: [Discuss-gnuradio] howto module ... please help

2010-11-01 Thread Eric Blossom
On Mon, Nov 01, 2010 at 03:29:25PM -0700, Michael Civ wrote:
> Hello, I posted this a week ago and received no response. Any comments or 
> suggestions would be greatly appreciate.
> 
> I recently got python programs to successfully import the howto 
> module, but I cannot use the functions:
> 

Michael,

I just built gnuradio and howto from the git master (Fedora 13 on x86-64).
It doesn't SEGFAULT for me leading me to think that you have a hosed-
up GNU Radio installation on your system.  Is there any chance that
you've got more than one installation?  Perhaps one from a .deb or
.rpm and one from source?  If so, uninstall the packaged one.

Also, what you really want is something like the code below.
Otherwise the dst.data() is always empty, since the graph hasn't run
when you first print it out.

Eric

$ cd gnuradio
$ ./bootstrap && ./configure --disable-docs
$ (make -j12 && make check && make install) 2>&1 | tee make.log
$ cd gr-howto-write-a-block/
$ ./bootstrap 
$ ./configure
$ make && make check && make install



#!/usr/bin/env python

from gnuradio import gr
import howto

class my_top_block(gr.top_block):
  def __init__(self):
gr.top_block.__init__(self)

src_nums = (4, 5, 6)
src = gr.vector_source_f (src_nums)
sqr = howto.square_ff ()
dst = gr.vector_sink_f ()
self.dst = dst
self.connect (src, sqr)
self.connect (sqr, dst)
print "src: ", src
print "sqr: ", sqr
print "dst.data: ", dst.data()

if __name__ == '__main__':
tb = my_top_block()
tb.run()
print "dst.data: ", tb.dst.data()


$ /tmp/test.py
src:  
sqr:  
dst.data:  ()
dst.data:  (16.0, 25.0, 36.0)

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


[Discuss-gnuradio] howto module ... please help

2010-11-01 Thread Michael Civ
Hello, I posted this a week ago and received no response. Any comments or 
suggestions would be greatly appreciate.

I recently got python programs to successfully import the howto 
module, but I cannot use the functions:

Python code:
#!/usr/bin/env python

from gnuradio import gr
import howto

class my_top_block(gr.top_block):

    def __init__(self):
        gr.top_block.__init__(self)

        src_nums = (4, 5, 6)
        src = gr.vector_source_f (src_nums)
        sqr = howto.square_ff ()
        dst = gr.vector_sink_f ()
        self.connect (src, sqr)
        self.connect (sqr, dst)
        print "src:
 ", src
        print "sqr: ", sqr
        print "dst.data: ", dst.data()
        
if __name__ == '__main__':
    my_top_block().run()

Output:
src:  
sqr:  
dst.data:  ()
Segmentation fault

Thanks,
Mike


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


[Discuss-gnuradio] Website Announcements

2010-11-01 Thread Tom Rondeau
Hello GNU Radio community,

I wanted to let everyone know of two projects I've been building up
for a few weeks. The first is a new webpage:
http://gnuradio.squarespace.com

It's not quite complete yet, but it's at the point that I'd rather
everyone start looking at it and commenting than to keep talking to
myself. Eventually, this will probably become http://gnuradio.org
while http://gnuradio.org/redmine will still be as it is. I want this
new webpage to be the "community" webpage while the Redmine interface
is used more as the developer's corner.

The main content of the front page of the site is dedicated to
announcements and information to the community. Yes, it's a "blog" if
you will. One of the things I think we've been pretty bad about as
developers is exposing what we've done and the changes that we've
made. That's where this page comes in. I hope to keep everyone
informed about what's going on as the project grows.

There will also be announcements about upcoming events, upcoming work
on GNU Radio and releases. That sort of thing.

You'll also find an "Examples" page there. This is to provide more
walk-through tutorials on using GNU Radio and some of its features. I
already have examples of how to use the different filters and filter
design tools and how to work with the QT GUI sinks.

Expect this to change, possibly wildly, over the next few months as
content is added, styles are changed/adapted, etc.


The second project is the use of a tool called Hudson that performs
weekly builds on the code. Over time, I hope to make this an integral
part of the development cycle to help us track bugs and other problems
with building on various platforms (it might even help with our
currently-neglected Windows friends! eventually, that is). I don't
want to run on too long here, so instead, I'll just send you to the
posting I made about it on the new webpage (clever, that):
http://gnuradio.squarespace.com/home/2010/11/1/introducing-hudson.html

The Hudson webpage can be found here:
http://gnuradio.org/hudson


Tom

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


Re: [Discuss-gnuradio] RF Gain and BB gain of XCVR2450

2010-11-01 Thread Jorge Miguel
Jason,

That was very helpful. I use the USRP2 with both, Linux/GNURadio drivers and
Windows/UDP drivers.
Now looking at the datasheet of the MAXIM2829 I can figure out how the gain
is sorted.

Many thanks

On 1 November 2010 21:19, Jason Abele  wrote:

> On Mon, Nov 1, 2010 at 11:52 AM, Eric Blossom  wrote:
> > On Mon, Nov 01, 2010 at 05:36:35PM +0100, Jorge Miguel wrote:
> >> Hello,
> >>
> >> I will rephrase former question.
> >
> > Jorge, I don't know the answer to your question, but I do that the
> > answer is in the source code that is associated with the XCVR2450.
> >
> > You haven't specified whether you're using the UHD or not and whether
> > or not you're on a USRP1 or USRP2, all of which may matter.
> >
> > In any event, I'd look for files that contain "2450" in their name :-)
> >
> > "find" and "grep" are powerful command line tools for this kind of
> > stuff, and would allow you to answer your own question quickly, or to
> > at least generate a more refined question, that indicated that you'd
> > "tried the obvious".
> >
> > To increase your chances of getting assistance on this list (or any
> > list for that matter), please read and follow the suggestions here:
> >
> >  http://www.gnuradio.org/redmine/wiki/gnuradio/ReportingErrors
> >
> > Eric
> >
> >
> >
> >> When using the XCVR2450, up to 92dB gain in rx mode is allowed.
> >> However this gain is shared between to places. Gain at RF and then gain
> at
> >> baseband (after the mixing)
> >>
> >> It is very important (from the point of view of the Noise Figure) how
> gain
> >> is shared.
> >> There is a register B7 to B1 which control the gain to the MAX2829 chip
> >> placed inside the XCVR2450.
> >> The first 2 bits are critical since they define 3 states: High gain
> (11),
> >> Medium gain(10) and Low gain (0X)
> >>
> >> I would like to know how the overal gain configunation setting (0-92 dB)
> is
> >> shared between theses two places and what the limits to be in high,
> medium
> >> and low gain state are.
> >> Where I can find it?
> >>
> >> Many thanks,
> >> Jorge
> >>
> >>
> >> I would like to know how the gain setting (up to 92 dB in Rx mode) of
> the
> >> MAXIM2829 is sorted between the two amplifiers placed around the mixer.
> >>
> >> I is clear in the data sheet what the total gain is depending on the
> gain
> >> settings but it is not clear where the gain is. Most of them can be
> before
> >> the mixer (RF gain), or after the mixing (BB gain)..Is it possible
> to
> >> find it out? I would like to model this receiver.
> >>
> >> Many thanks,
> >> Jorge.
> >
>
> For the GNURadio drivers for either USRP2 or USRP1, the gain on
> receive is add in a loosely noise-figure optimized fashion by adding
> gain to the element closest to the antenna first and then filling in
> from there.  (The mathworks UDP driver should work like the GNURadio
> libusrp2 version)
>
> In UHD, when using the single combined gain control, the intention is
> to create the same effect as with the GNURadio drivers, although it is
> possible that the recent addition of gain groups has caused subtly
> different behavior, we are looking into that.  However, if you want
> explicit control, the UHD C++ api exposes each controllable gain stage
> through a gain group that you can use to change gains in a fashion
> which suits your application.
>
> http://www.ettus.com/uhd_docs/doxygen/html/classuhd_1_1gain__group.html
>
> Jason
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] RF Gain and BB gain of XCVR2450

2010-11-01 Thread Jason Abele
On Mon, Nov 1, 2010 at 11:52 AM, Eric Blossom  wrote:
> On Mon, Nov 01, 2010 at 05:36:35PM +0100, Jorge Miguel wrote:
>> Hello,
>>
>> I will rephrase former question.
>
> Jorge, I don't know the answer to your question, but I do that the
> answer is in the source code that is associated with the XCVR2450.
>
> You haven't specified whether you're using the UHD or not and whether
> or not you're on a USRP1 or USRP2, all of which may matter.
>
> In any event, I'd look for files that contain "2450" in their name :-)
>
> "find" and "grep" are powerful command line tools for this kind of
> stuff, and would allow you to answer your own question quickly, or to
> at least generate a more refined question, that indicated that you'd
> "tried the obvious".
>
> To increase your chances of getting assistance on this list (or any
> list for that matter), please read and follow the suggestions here:
>
>  http://www.gnuradio.org/redmine/wiki/gnuradio/ReportingErrors
>
> Eric
>
>
>
>> When using the XCVR2450, up to 92dB gain in rx mode is allowed.
>> However this gain is shared between to places. Gain at RF and then gain at
>> baseband (after the mixing)
>>
>> It is very important (from the point of view of the Noise Figure) how gain
>> is shared.
>> There is a register B7 to B1 which control the gain to the MAX2829 chip
>> placed inside the XCVR2450.
>> The first 2 bits are critical since they define 3 states: High gain (11),
>> Medium gain(10) and Low gain (0X)
>>
>> I would like to know how the overal gain configunation setting (0-92 dB) is
>> shared between theses two places and what the limits to be in high, medium
>> and low gain state are.
>> Where I can find it?
>>
>> Many thanks,
>> Jorge
>>
>>
>> I would like to know how the gain setting (up to 92 dB in Rx mode) of the
>> MAXIM2829 is sorted between the two amplifiers placed around the mixer.
>>
>> I is clear in the data sheet what the total gain is depending on the gain
>> settings but it is not clear where the gain is. Most of them can be before
>> the mixer (RF gain), or after the mixing (BB gain)..Is it possible to
>> find it out? I would like to model this receiver.
>>
>> Many thanks,
>> Jorge.
>

For the GNURadio drivers for either USRP2 or USRP1, the gain on
receive is add in a loosely noise-figure optimized fashion by adding
gain to the element closest to the antenna first and then filling in
from there.  (The mathworks UDP driver should work like the GNURadio
libusrp2 version)

In UHD, when using the single combined gain control, the intention is
to create the same effect as with the GNURadio drivers, although it is
possible that the recent addition of gain groups has caused subtly
different behavior, we are looking into that.  However, if you want
explicit control, the UHD C++ api exposes each controllable gain stage
through a gain group that you can use to change gains in a fashion
which suits your application.

http://www.ettus.com/uhd_docs/doxygen/html/classuhd_1_1gain__group.html

Jason

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


Re: [Discuss-gnuradio] Still can't install gr-ais, some help please?

2010-11-01 Thread Thunder87

Also gnuradio-core.pc is missing some why. Maybe that's the problem?



Nick Foster-4 wrote:
> 
> On Tue, 2010-10-26 at 14:43 -0700, Thunder87 wrote:
>> I'm trying to get gr-ais working on Beagleboard running Lucid.
>> 
>> Here is a screenshot from serial terminal:
>> http://old.nabble.com/file/p30062049/Screenshot.png 
>> 
>> Says can't find gnuradio-core. As far as I understood, it might be
>> possible
>> that gnuradio-core is installed somewhere, and I just have to specify
>> GNURADIO_CORE_LIBS and GNURADIO_CORE_CFLAGS variables (paths?) somehow.
>> 
>> I don't get it. Help please?
> 
> Did you set PKG_CONFIG_PATH to the location of your Gnuradio
> installation? If not, find the location of libgnuradio-core.so and add
> it to the PKG_CONFIG_PATH. On my Ubuntu box this file was installed
> to /usr/local/lib, so we add /usr/local/lib/pkgconfig to the
> PKG_CONFIG_PATH:
> 
> export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
> 
> --n
> 
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Still-can%27t-install-gr-ais%2C-some-help-please--tp30062049p30107674.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] RF Gain and BB gain of XCVR2450

2010-11-01 Thread Eric Blossom
On Mon, Nov 01, 2010 at 05:36:35PM +0100, Jorge Miguel wrote:
> Hello,
> 
> I will rephrase former question.

Jorge, I don't know the answer to your question, but I do that the
answer is in the source code that is associated with the XCVR2450.

You haven't specified whether you're using the UHD or not and whether
or not you're on a USRP1 or USRP2, all of which may matter.

In any event, I'd look for files that contain "2450" in their name :-)

"find" and "grep" are powerful command line tools for this kind of
stuff, and would allow you to answer your own question quickly, or to
at least generate a more refined question, that indicated that you'd
"tried the obvious".

To increase your chances of getting assistance on this list (or any
list for that matter), please read and follow the suggestions here:

  http://www.gnuradio.org/redmine/wiki/gnuradio/ReportingErrors

Eric



> When using the XCVR2450, up to 92dB gain in rx mode is allowed.
> However this gain is shared between to places. Gain at RF and then gain at
> baseband (after the mixing)
> 
> It is very important (from the point of view of the Noise Figure) how gain
> is shared.
> There is a register B7 to B1 which control the gain to the MAX2829 chip
> placed inside the XCVR2450.
> The first 2 bits are critical since they define 3 states: High gain (11),
> Medium gain(10) and Low gain (0X)
> 
> I would like to know how the overal gain configunation setting (0-92 dB) is
> shared between theses two places and what the limits to be in high, medium
> and low gain state are.
> Where I can find it?
> 
> Many thanks,
> Jorge
> 
> 
> I would like to know how the gain setting (up to 92 dB in Rx mode) of the
> MAXIM2829 is sorted between the two amplifiers placed around the mixer.
> 
> I is clear in the data sheet what the total gain is depending on the gain
> settings but it is not clear where the gain is. Most of them can be before
> the mixer (RF gain), or after the mixing (BB gain)..Is it possible to
> find it out? I would like to model this receiver.
> 
> Many thanks,
> Jorge.

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


[Discuss-gnuradio] How to change the frequency of USRP !!

2010-11-01 Thread Kashan Ali Syed
Dear all,

I want to change the frequency of USRP RFX2400: 2.3-2.9 GHz transceiver. Can 
you suggest how can i do this thing as currently i am using 2.4GHz and its 
working.

BR,

Syed Kashan Ali
Student
MS(Wireless & Photonics Engineering)
Chalmers University of Technology
Göteborg, Sweden.

Mobile : 0046-76-0695522
Email : kash...@student.chalmers.se
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] UHD readiness level?

2010-11-01 Thread Josh Blum



Any estimate as to the readiness level of the UHD driver? (if open-source
has such a concept...)
Back in April they were called "pre-alpha". How are things progressing? Do
you recommend use of it yet to people whose day-job would (lamentably)
prefer they be productive? :)



The UHD is still being improved, and you can expect minor API changes 
and additions. However, it is ready for production use and supports all 
of the Ettus Research hardware as it stands now.



As a checklist, could I use the UHD to:

-receive on a WBX card


check


-transmit on a WBX card


check


-alternate transmitting and receiving on a WBX card


check


-simultaneously receive with 2 WBXs in 1 USRP


check


-simultaneously receive with 1  WBX&  1 BasicRX on 1 USRP (even though one
is quadrature and the other not)


This is a limitation of the mux in the FPGA fabric on USRP1. Unless you 
specify a quadrature subdevice for the basic board, you will get this 
warning:


"Mixing real and quadrature rx subdevices is not supported.\n"
"The Q input to the real source(s) will be non-zero.\n"


-simultaneously receive with 4 WBXs in 2 USRPs


There is nothing in the uhd to synchronize across USRP1s. But yes, you 
can still do this with two independent source blocks each setup for dual 
channel.



-transmit on a WBX while issuing tune commands to the card every 50ms to
perform freq hopping (could I expect more precise timing control over the
hops than I had in python-land?)



There is no "send a command at this time". However, you do get greater 
control of the tuning (and this applies to python land).


The tune_request struct allows for fine grained control of the tuning 
across the RX and TX chains: 
http://www.ettus.com/uhd_docs/doxygen/html/structuhd_1_1tune__request__t.html


So you can for example, tune by setting the DDC which is fast and 
responsive and leave the daughter-board LO untouched which takes time to 
settle.


-Josh

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


[Discuss-gnuradio] RF Gain and BB gain of XCVR2450

2010-11-01 Thread Jorge Miguel
Hello,

I will rephrase former question.

When using the XCVR2450, up to 92dB gain in rx mode is allowed.
However this gain is shared between to places. Gain at RF and then gain at
baseband (after the mixing)

It is very important (from the point of view of the Noise Figure) how gain
is shared.
There is a register B7 to B1 which control the gain to the MAX2829 chip
placed inside the XCVR2450.
The first 2 bits are critical since they define 3 states: High gain (11),
Medium gain(10) and Low gain (0X)

I would like to know how the overal gain configunation setting (0-92 dB) is
shared between theses two places and what the limits to be in high, medium
and low gain state are.
Where I can find it?

Many thanks,
Jorge


I would like to know how the gain setting (up to 92 dB in Rx mode) of the
MAXIM2829 is sorted between the two amplifiers placed around the mixer.

I is clear in the data sheet what the total gain is depending on the gain
settings but it is not clear where the gain is. Most of them can be before
the mixer (RF gain), or after the mixing (BB gain)..Is it possible to
find it out? I would like to model this receiver.

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


[Discuss-gnuradio] CGRAN Project: tracking commercial aircraft with Mode S

2010-11-01 Thread George Nychis
Hi all,

Another cool addition to CGRAN:

Project: Mode S Receiver for Tracking Commercial Aircraft
Contributor: Nick Foster
Project Page:  https://www.cgran.org/wiki/gr-air-modes

Description:
This module implements a complete  Mode
S
 and  
ADS-B
receiver
for Gnuradio. The module allows you to track commercial aircraft which are
broadcasting their position via ADS-B, and also prints altitude and ICAO
information for secondary surveillance interrogation responses. It also has
plugins to output to PlanePlotter, and to KML for use with Google Earth.

- George  (Thanks, Nick!)
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] USRP2 Alias FPGA code

2010-11-01 Thread SteveChrepta

Has anyone else noticed that when using the u2_rev3_alias fpga code, the
spectrum is inverted?
The zeroing out of the coeffs in the hb_dec.v and small_hb_dev.v files, is
causing either the I&Q samples to be swapped due to a misalignment, or is
causing the conjugate to occur.
The standard fpga load shows the correct spectrum.

-- 
View this message in context: 
http://old.nabble.com/USRP2-Alias-FPGA-code-tp30105729p30105729.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] UHD readiness level?

2010-11-01 Thread Steven Clark
Hi all-

Any estimate as to the readiness level of the UHD driver? (if open-source
has such a concept...)
Back in April they were called "pre-alpha". How are things progressing? Do
you recommend use of it yet to people whose day-job would (lamentably)
prefer they be productive? :)

As a checklist, could I use the UHD to:

-receive on a WBX card
-transmit on a WBX card
-alternate transmitting and receiving on a WBX card
-simultaneously receive with 2 WBXs in 1 USRP
-simultaneously receive with 1  WBX & 1 BasicRX on 1 USRP (even though one
is quadrature and the other not)
-simultaneously receive with 4 WBXs in 2 USRPs
-transmit on a WBX while issuing tune commands to the card every 50ms to
perform freq hopping (could I expect more precise timing control over the
hops than I had in python-land?)


Thanks, and keep up the good work!
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] USRP2 Transmitter

2010-11-01 Thread alexander levedahl
I have tried transmitting an analog signal from one USRP2 to another, but
when I run usrp2_fft.py on the rx computer, there is no receive signal.  The
analog signal is supposed to be two tones at 350 and 440 HZ transmitted at
2.6GHz.  Can anyone help me figure out what I am doing wrong?
#!/usr/bin/env python

from gnuradio import gr
from gnuradio import usrp2
from gnuradio import audio
from gnuradio import eng_notation
from gnuradio.eng_option import eng_option
from optparse import OptionParser
import math

def build_graph(options, args):
	#These are set to 440 and 350
	freq0 = options.waveform_freq
	freq1 = options.waveform2_freq
	#This is the USRP2
	sink1 = usrp2.sink_32fc(options.interface,options.mac_addr)
	DACRate = sink1.dac_rate()
	interp = options.interp
	amp = .5
	scRate = 50e3 
	cFreq = 1/16*scRate
	tWidt = 1/16*scRate
	tFreq = 2.6e9
	#Sets the tranmsmit center frequency
	tx = sink1.set_center_freq(tFreq)
	print tx
	g  = sink1.set_gain(1)
	print g


	fg = gr.top_block()
	ethRate = DACRate/interp
	#Frequency generators
	src0 = gr.sig_source_f(scRate,gr.GR_SIN_WAVE,int(freq0),amp)
	src1 = gr.sig_source_f(scRate,gr.GR_SIN_WAVE,int(freq1),amp)
	add0 = gr.add_ff()
	#Converts the input samples to complex to transmit to USRP2
	f2c  = gr.float_to_complex()

	#Creates filter for interpolator
	chanCoeffs = gr.firdes.low_pass(1.0, scRate, 1000, 3000, gr.firdes.WIN_HAMMING)
	print ethRate/scRate
	print DACRate
	#Upsamples the input stream to transmit to the USRP2
	interp = gr.interp_fir_filter_ccf(int(ethRate/scRate),chanCoeffs)

	#Plays the two tones over speakers
	sink0 = audio.sink(int(scRate))
	fg.connect((src0, 0), (add0, 0))
	fg.connect((src1, 0), (add0, 1))
	fg.connect(add0, sink0)
	fg.connect(add0, f2c)
	fg.connect(f2c, interp)
	fg.connect(interp, sink1)
	
	return fg
def get_options():
usage="%prog: [options]"

parser = OptionParser(option_class=eng_option, usage=usage)

parser.add_option("-e", "--interface", type="string", default="eth0",
  help="Use specified Ethernet interface [default=%default]")
parser.add_option("-m", "--mac-addr", type="string", default="",
  help="Use USRP2 at specified MAC address [default=None]")  
parser.add_option("-i", "--interp", type="int", default=16, metavar="INTERP",
  help="Set FPGA interpolation rate of INTERP [default=%default]")
parser.add_option("-f", "--tx-freq", type="eng_float", default=None,
  help="Set carrier frequency to FREQ [default=mid-point]", metavar="FREQ")
parser.add_option("--lo-offset", type="eng_float", default=None,
  help="set daughterboard LO offset to OFFSET [default=hw default]")
parser.add_option("-g", "--gain", type="eng_float", default=None,
  help="Set TX gain to GAIN [default=mid-point]")
parser.add_option("-w", "--waveform-freq", type="eng_float", default=440,
  help="Set baseband waveform frequency to FREQ [default=%default]")
parser.add_option("-x", "--waveform2-freq", type="eng_float", default=350,
  help="Set 2nd waveform frequency to FREQ [default=%default]")
parser.add_option("--sine", dest="type", action="store_const", const=gr.GR_SIN_WAVE,
  help="Generate a carrier modulated by a complex sine wave", default=gr.GR_SIN_WAVE)
parser.add_option("--const", dest="type", action="store_const", const=gr.GR_CONST_WAVE, 
  help="Generate a constant carrier")
parser.add_option("--offset", type="eng_float", default=0,
  help="Set waveform phase offset to OFFSET [default=%default]")
parser.add_option("--gaussian", dest="type", action="store_const", const=gr.GR_GAUSSIAN,
  help="Generate Gaussian random output")
parser.add_option("--uniform", dest="type", action="store_const", const=gr.GR_UNIFORM,
  help="Generate Uniform random output")
parser.add_option("--2tone", dest="type", action="store_const", const="2tone",
  help="Generate Two Tone signal for IMD testing")
parser.add_option("--sweep", dest="type", action="store_const", const="sweep",
  help="Generate a swept sine wave")
parser.add_option("-a", "--amplitude", type="eng_float", default=0.1,
  help="Set output amplitude to AMPL (0.0-1.0) [default=%default]", metavar="AMPL")
parser.add_option("-v", "--verbose", action="store_true", default=False,
  help="Use verbose console output [default=%default]")

(options, args) = parser.parse_args()

return (options, args)

if __name__=="__main__":
	(options, args) = get_options()
	fg = build_graph(options, args)
	fg.start()
	raw_input('Press enter to quit: ')
	fg.stop()
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] starting up WBX

2010-11-01 Thread Tom Rondeau
On Sun, Oct 31, 2010 at 7:54 PM, Markus Heller M.A. (relix GmbH)
 wrote:
> Dear community,
>
> I'm looking for a HOWTO that describes how to get the WBX/USRP2 up and
> running in a basic application. I already got the LFRX board
> operational, but I'm not sure hw to do the same with the WBX.
>
> Thanks ahead
> Markus
> DL8RDS


Just use the WBX like the LFRX. The main different is in what
frequency range you can use and that the WBX has onboard amplifiers.
Other than that, there shouldn't be any real difference in how you use
it.

Tom

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


Re: [Discuss-gnuradio] Still can't install gr-ais, some help please?

2010-11-01 Thread Thunder87

I just don't get it.

Here is a file which contains both - ./configure output and config.log:
http://old.nabble.com/file/p30103724/configure_and_log.txt
configure_and_log.txt 

And this is configure file itself:
http://old.nabble.com/file/p30103724/configure configure 

libgnuradio-core.so file doesn't exist
however there are libgnuradio-core.so.0 and libgnuradio-core.so.0.0.0 in
/usr/lib
-- 
View this message in context: 
http://old.nabble.com/Still-can%27t-install-gr-ais%2C-some-help-please--tp30062049p30103724.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