Re: [Discuss-gnuradio] Streaming Funcube Dongle Pro+ over UDP

2013-08-10 Thread Marcus Müller

Hi again,

I was a little surprised that your connection couldn't handle the 12.3 Mbit/s 
for the complex 192ksam/s,
so I had a look at the source code of the fcd_source; that basically wraps an 
audio source.
Surprise was mine when I found out that there's no complex 192ksam/s at all... 
The audio device is set to
deliver 96ksam/s of stereo, that gets converted to 96ksam/s of complex samples.
Therefore, the data rate is only 6.144Mbit/s for your wifi link... Not very 
much.
Anyway, what (due to that being the default data type in GR), the audio source 
inside the fcd_source converts
the 16bit adc resolution of your dongle to 32bit floats; so, instead of 
streaming those using GR over your network,
you can also just stream raw audio data from your beaglebone to your receiver 
computer, something like
arecord --format={try something like S16_LE, U16_LE, see man arecord} -D 
beagleboardaudiodev --file-type=raw --channels=2 --disable-resample 
--disable-channels --disable-format |ncat host port
and
ncat -l port > rxfifo
on the receiver.
And then reading that file using a file source, converting the 16bit 
signed/unsigned ints to floats, packing them into complexes and using that for 
your receiver; note, however, that a lost packet is not tolerable in this case, 
you will end up with corrupt samples if lost bytes are not multiples of 4...

To the TCP/UDP sources in GR: they do what they were designed for, dropping 
samples from an outside source makes sense if your flowgraph can't handle the 
load, since there is no such thing as the infinite buffer or the infinite 
acceptance of latency; not so much for your fifos. They start blocking when you 
ram+swap is used up...

Greetings
Marcus

On 08/10/2013 03:15 AM, Vanush Vaswani wrote:

Iain, thanks for that. Will be helpful in my gnuradio pursuits.

I think the TCP blocks should be definitely be decoupled from GRC...

With regards to my problem, I tried the ncat/fifo approach, and it works 
acceptably. Using TCP, I get a few overflows on the sender (beaglebone) as 
expected due to the nature of TCP. With UDP, I can stream with very few skips 
(and this is all over WiFi too). Thus, for my app, I may use a fifo + Twisted 
to get data out of gnuradio. I think the TCP/UDP blocks are a bit spartan in 
gnuradio.

For the record, here are my commands
sender: ncat -u 192.168.0.8 31337 < txfifo   (txfifo is a File sink 
directly connected to a FCDPP source)
receiver: ncat -k -u -l 192.168.0.8 > rxfifo (rxfifo is a File source connected 
to a WBFM Receiver and then Audio sink)




On Sat, Aug 10, 2013 at 8:15 AM, Marcus D. Leech mailto:mle...@ripnet.com>> wrote:

On 08/09/2013 05:29 PM, Marcus Müller wrote:

You're right, although grc_blks2 is in grc/grc_gnuradio, which, as far as I 
would guess from here,
won't be built if you don't build GRC, which you usually don't when in a 
headless environment.

There's also no necessity to do the development side on the target 
platform, if you're just targetting a headless environment.  Take the generated
  Python, and run it on the target.



-- 
Marcus Leech

Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org


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




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


Re: [Discuss-gnuradio] Public transport in Boston

2013-08-10 Thread Bruce Penswick
Actually, the "T" (the subway) *does* go to the airport, to Boston Logan 
Airport. The Blue Line stops there. And then there are free shuttle busses to 
take you to all the terminals. You can take the Blue Line into the city and 
transfer, for free, to the Red, Orange, and Green Lines.







>
> From: "Nowlan, Sean" 
>To: Nick Foster ; Philip Balister  
>Cc: GNURadio Discussion List  
>Sent: Monday, August 5, 2013 11:50 AM
>Subject: Re: [Discuss-gnuradio] Public transport in Boston
> 
>
>
> 
>Also, the train doesn’t go to the airport, but there are frequent bus 
>transfers to nearby train stations. I suggest Google Maps or the MBTA website 
>itself. The latter provides a Route Planning tool an lets you choose between 
>Google Maps or their own interface.
> 
>http://www.mbta.com/
> 
>--sean
> 
>From:discuss-gnuradio-bounces+sean.nowlan=gtri.gatech@gnu.org 
>[mailto:discuss-gnuradio-bounces+sean.nowlan=gtri.gatech@gnu.org] On 
>Behalf Of Nick Foster
>Sent: Monday, August 05, 2013 11:40 AM
>To: Philip Balister
>Cc: GNURadio Discussion List
>Subject: Re: [Discuss-gnuradio] Public transport in Boston
> 
>Boston's "T" is a pretty good, reasonably reliable public transit system, and 
>the city is compact enough that it's generally pretty easy to get around. The 
>conference is very close to South Station, which is the largest transport hub 
>in Boston. South Station is on the Red Line of the MBTA subway and is easy to 
>get to from any other "T" stop with a maximum of 1 transfer.
> 
>If you were incredibly, world-class cheap, you could even stay way out in the 
>suburbs and take the commuter rail into South Station for the conference. 
>Personally, if I wanted to save money, I'd look out toward Quincy Adams on the 
>south end of the Red Line for a cheaper place to stay, and take the Red Line 
>into South Station.
> 
>Here's a map showing the subway and commuter rail lines:
>http://www.mbta.com/schedules_and_maps/rail/
> 
>--n
>On Mon, Aug 5, 2013 at 8:12 AM, Philip Balister  wrote:
>I am looking at hotels in Boston GR Con. Needless to say, I will never
>complain about Si valley rates again.
>
>Does anyone have any comments about public transport in Boston?
>Especially about getting from cheaper hotels to the conference location.
>
>Thanks,
>
>Philip
>
>___
>Discuss-gnuradio mailing list
>Discuss-gnuradio@gnu.org
>https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
>___
>Discuss-gnuradio mailing list
>Discuss-gnuradio@gnu.org
>https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Public transport in Boston

2013-08-10 Thread Bruce Penswick
You can also try AirBnB (https://www.airbnb.com/).
There a lot of people in Boston doing short-term
sublets of their very nice apartments.
Look in these areas:
Boston: South Boston ("Southie"), Back Bay, The Fenway (on the Green Line)
Cambridge: Kendall Sqaure, Central Square, Harvard Square, Porter Square, Fresh 
Pond (all are on the Red Line)

Somerville: Davis Square (on the Red Line)




>
> From: Ben Reynwar 
>To: Philip Balister  
>Cc: GNURadio Discussion List  
>Sent: Monday, August 5, 2013 12:01 PM
>Subject: Re: [Discuss-gnuradio] Public transport in Boston
> 
>
>There are also a few backpacking hostels in downtown boston, some of
>which probably have private rooms.  Not quite the same as a hotel, but
>normally way cheaper.
>
>On Mon, Aug 5, 2013 at 8:12 AM, Philip Balister  wrote:
>> I am looking at hotels in Boston GR Con. Needless to say, I will never
>> complain about Si valley rates again.
>>
>> Does anyone have any comments about public transport in Boston?
>> Especially about getting from cheaper hotels to the conference location.
>>
>> Thanks,
>>
>> Philip
>>
>> ___
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>___
>Discuss-gnuradio mailing list
>Discuss-gnuradio@gnu.org
>https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Public transport in Boston

2013-08-10 Thread Michael Dickens
On Aug 10, 2013, at 10:11 AM, Bruce Penswick  wrote:
> Actually, the "T" (the subway) *does* go to the airport, to Boston Logan 
> Airport. The Blue Line stops there. And then there are free shuttle busses to 
> take you to all the terminals. You can take the Blue Line into the city and 
> transfer, for free, to the Red, Orange, and Green Lines.


And, I'll echo, that this works vice-versa too.  You can take a free MBTA bus 
from any Logan Airport Terminal to the MBTA Airport Blue Line stop, then the 
MBTA Blue Line back into Boston, and switch to other MBTA Lines as needed from 
there.  I believe it is still the case that you pay at the MBTA Airport stop, 
once, and then can transfer internal to the train MBTA as needed (except maybe 
parts of the MBTA Green Line [the parts which are above ground]).

To the best of my memory, there is no MBTA stop on the side of the channel 
where GRCon 2013 is located.  The easiest, as mentioned before, is South 
Station (on the Red Line), which is at the corner of Atlantic and Summer.  
Arriving at this Station, you would exit the Station and walk (roughly 
south-east) across the Summer St Bridge to 281 Summer.  Or, I'm sure there is a 
MBTA Bus one can take in inclement weather (for an extra fee, probably, or 
maybe a transfer; I never really figured out how to do transfers when I lived 
in Boston); or a taxi, though that's kinda silly for such a short distance. - 
MLD


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


Re: [Discuss-gnuradio] Public transport in Boston

2013-08-10 Thread Bruce Penswick
actually now there is a new Silver Line, which takes you from South Station, 
past where GRcon is being held, to Logan Airport.


https://en.wikipedia.org/wiki/Silver_Line_%28MBTA%29

http://www.mbta.com/schedules_and_maps/subway/lines/?route=SILVER

http://www.mbta.com/schedules_and_maps/subway/lines/?route=BLUE




>
> From: Michael Dickens 
>To: GNURadio Discussion List  
>Sent: Saturday, August 10, 2013 10:25 AM
>Subject: Re: [Discuss-gnuradio] Public transport in Boston
> 
>
>On Aug 10, 2013, at 10:11 AM, Bruce Penswick  wrote:
>> Actually, the "T" (the subway) *does* go to the airport, to Boston Logan 
>> Airport. The Blue Line stops there. And then there are free shuttle busses 
>> to take you to all the terminals. You can take the Blue Line into the city 
>> and transfer, for free, to the Red, Orange, and Green Lines.
>
>
>And, I'll echo, that this works vice-versa too.  You can take a free MBTA bus 
>from any Logan Airport Terminal to the MBTA Airport Blue Line stop, then the 
>MBTA Blue Line back into Boston, and switch to other MBTA Lines as needed from 
>there.  I believe it is still the case that you pay at the MBTA Airport stop, 
>once, and then can transfer internal to the train MBTA as needed (except maybe 
>parts of the MBTA Green Line [the parts which are above ground]).
>
>To the best of my memory, there is no MBTA stop on the side of the channel 
>where GRCon 2013 is located.  The easiest, as mentioned before, is South 
>Station (on the Red Line), which is at the corner of Atlantic and Summer.  
>Arriving at this Station, you would exit the Station and walk (roughly 
>south-east) across the Summer St Bridge to 281 Summer.  Or, I'm sure there is 
>a MBTA Bus one can take in inclement weather (for an extra fee, probably, or 
>maybe a transfer; I never really figured out how to do transfers when I lived 
>in Boston); or a taxi, though that's kinda silly for such a short distance. - 
>MLD
>
>
>___
>Discuss-gnuradio mailing list
>Discuss-gnuradio@gnu.org
>https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Public transport in Boston

2013-08-10 Thread Michael Dickens
Cool; I've been out of Boston for ~8 years now, so the Silver Line is new to 
me.  Thanks!

It looks from the map < 
http://www.mbta.com/uploadedFiles/Documents/Schedules_and_Maps/Bus/silverwatermap.pdf
 > that the Silver Line's SL1 and SL2 go by the World Trade Center, with a stop 
at the Courthouse which is on Seaport Boulevard; so not on Summer St where the 
GRCon building is, but close by.  One could get off at Courthouse and walk 
South on (looks like) Thompson Place to get to the GRCon building.  It would 
probably be faster to just get off at South Station and walk across the Summer 
St Bridge though.  It also looks like MBTA Buses 4 and 7 go right by the GRCon 
meeting place; Bus 11 goes very close.  So, lots of public transport options.

Getting out of the Airport is also easier because the Silver Line goes directly 
to terminals (or, that's the way it looks from the maps @ < 
http://www.mbta.com/schedules_and_maps/subway/ >; can anyone confirm?). - MLD

On Aug 10, 2013, at 10:32 AM, Bruce Penswick  wrote:
> actually now there is a new Silver Line, which takes you from South Station, 
> past where GRcon is being held, to Logan Airport.
> 
> https://en.wikipedia.org/wiki/Silver_Line_%28MBTA%29
> 
> http://www.mbta.com/schedules_and_maps/subway/lines/?route=SILVER
> 
> http://www.mbta.com/schedules_and_maps/subway/lines/?route=BLUE


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


Re: [Discuss-gnuradio] Public transport in Boston

2013-08-10 Thread Nowlan, Sean
Sorry for the bad info; I wasn't aware of the Blue Line T going to the airport. 
In the past I've taken the Silver Line (bus rapid transit) to South Station and 
transferred to the Red Line.

--sean

From: discuss-gnuradio-bounces+sean.nowlan=gtri.gatech@gnu.org 
[discuss-gnuradio-bounces+sean.nowlan=gtri.gatech@gnu.org] on behalf of 
Michael Dickens [m...@alum.mit.edu]
Sent: Saturday, August 10, 2013 12:07 PM
To: Bruce Penswick
Cc: GNURadio Discussion List
Subject: Re: [Discuss-gnuradio] Public transport in Boston

Cool; I've been out of Boston for ~8 years now, so the Silver Line is new to 
me.  Thanks!

It looks from the map < 
http://www.mbta.com/uploadedFiles/Documents/Schedules_and_Maps/Bus/silverwatermap.pdf
 > that the Silver Line's SL1 and SL2 go by the World Trade Center, with a stop 
at the Courthouse which is on Seaport Boulevard; so not on Summer St where the 
GRCon building is, but close by.  One could get off at Courthouse and walk 
South on (looks like) Thompson Place to get to the GRCon building.  It would 
probably be faster to just get off at South Station and walk across the Summer 
St Bridge though.  It also looks like MBTA Buses 4 and 7 go right by the GRCon 
meeting place; Bus 11 goes very close.  So, lots of public transport options.

Getting out of the Airport is also easier because the Silver Line goes directly 
to terminals (or, that's the way it looks from the maps @ < 
http://www.mbta.com/schedules_and_maps/subway/ >; can anyone confirm?). - MLD

On Aug 10, 2013, at 10:32 AM, Bruce Penswick  wrote:
> actually now there is a new Silver Line, which takes you from South Station, 
> past where GRcon is being held, to Logan Airport.
>
> https://en.wikipedia.org/wiki/Silver_Line_%28MBTA%29
>
> http://www.mbta.com/schedules_and_maps/subway/lines/?route=SILVER
>
> http://www.mbta.com/schedules_and_maps/subway/lines/?route=BLUE


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

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


[Discuss-gnuradio] Zeroing out packets at RX2 if transmitted by own RFX900's TX/RX

2013-08-10 Thread Amy Kumar
Hi

My goal is that when the USRP N200 R4 is transmitting packets, the receive
antenna on it's own daughterboard should not receive the transmitted
packets.

For this, I am trying to zero out the samples of packets(GMSK) received by
the RX2 antenna (on RFX900 daughterboard ) precisely for the duration of
time when the TX/RX antenna is transmitting packets, by modifying the FPGA
image.

There are certain subtle points I need to take care of:

1) My understanding is that 'tx_run' will give a '1' for the time duration
between 'sob' and 'eob' as encountered by the FPGA.
Am I right or wrong ?

2) If I try to zero out the incoming received samples at RX2 during this
duration(when tx_run=1), it will not solve the purpose because the time by
when the packet/signal is actually transmitted in air by the TX/RX antenna,
by that time the zeroing out at RX2 would have stopped (as tx_run is no
longer '1').
Am I right or wrong ?

What would be the best way to do this?
Any suggestions would be appreciated.

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


[Discuss-gnuradio] Help: Display Freezes

2013-08-10 Thread tom sutherland
I notice for some reason the scope display goes dim and seems to continue to 
display signals but you can not change any sliders or change scope tabs and if 
you try to stop it from the scope display(pressing the X in the upper left 
corner) it says " The window, "My Scope" is not responding. Forcing this 
application to quit will cause you to lose any unsaved changes."  I have a 
throttle in the flow graph. This behavior seems to happen after adding a block 
to the flow graph, it doesn't just suddenly appear.
Thanks...Tom___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio