Re: [Discuss-gnuradio] How to finish the rx_callback? in benchmark_ofdm_rx.py

2010-04-21 Thread Lin HUANG
I'm not very clear with your method3. But what we use is very similar with this method. When we want to jump out from the callback's block status, we send a useless pkt to it to make it quit out. Lin 2010/4/20 Sung Jeen Jang : > Hello all > At first, I appreciate you read my text. > My problem is

[Discuss-gnuradio] Importing Filter Taps

2010-04-21 Thread Umair Naeem
I need to import complex filter taps from a .txt file and use them in FFT FIlter block in GRC. How can I do that? Regards, Umair Naeem MSc Communication Engineering Chalmers University ot Technology, Sweden. ___ Discuss-gnuradio mailing list Discuss-

Re: [Discuss-gnuradio] Problem with multiple flow graphs on receive side

2010-04-21 Thread abbasi9999
OK, abbasi wrote: > > Hi Sriram , > > Did you managed to solve your problem? > I'm doing the same, but i don't have any errors. The connecting process is > ok, > > but i think there is a conflict between the "call_back" of the receiving > path and the "eval" function of the sensing path?

Re: [Discuss-gnuradio] two call back function from C

2010-04-21 Thread abbasi9999
dump, It was another problem abbasi wrote: > > Hi, > > Is it not possible to have two call back functions from C++ part to > python. > > for example: > 1. The call back "eval" from the "gr.bin_statistics_f" block 'sink' > and > 2. The call back from the receive path in tunnel.py class >

Re: [Discuss-gnuradio] Importing Filter Taps

2010-04-21 Thread Gregor Dschung
My walkthrough: 1) matlab, e.g. A=[3+4i 4+3i 5+2.3i 6 3.4i] 2) copy A to clipboard: clipboard('copy', A) 3) with xclip and sed, the clipboard's content is converted to something python understands: xclip -o -selection c | sed -r -e 's/^\[//' -e 's/\]$//' -e 's/ /,/g' -e 's/i\*([^,]*),/\1j,/g' -e 's

[Discuss-gnuradio] fix for usrp2 overruns when stopping and restarting rx streaming

2010-04-21 Thread Martin DvH
Hi All, When you use an USRP2 for capturing and you call u2->stop_rx_streaming() and later u2->start_rx_streaming(0) You always get a single overrun. -a single 'S' is output on the console -u2->rx_overruns() returns 1 (in stead of 0) I am developing a usrp2 application which does not permit

[Discuss-gnuradio] CIC filter block

2010-04-21 Thread Alberto Trentadue
Hello Just checking before: does anybody have a CIC filter implementation for GR? Thanks in advance. Alberto Presentaci un amico! Invita i tuoi amici a scoprire i servizi Tiscali: per ogni amico che attiverà un servizio Tiscali, potrai avere 30 euro di sconto e lo stesso sconto di 30 euro ver

[Discuss-gnuradio] DQPSK Modulation/Demodulation issue

2010-04-21 Thread marcin_w
I've recently been working on transmitting data from a vector source via DQPSK. I've created a Simulation [non USRP] with the following flow graph: TX Vector Source [0x6c] ie 01 10 11 00 > Packed To Unpacked > Mapper [Binary 2 Gray] > Differential Encoder > Chunks to Symbols RX

[Discuss-gnuradio] Sending extra info (rssi) in ethernet frames from USRP2 to host

2010-04-21 Thread hanwen
Hi, * I am reading through the firmware C codes and trying to figure out how to carry the RSSI values from auxiliary ADC in the word0 section of each ethernet frame. I was confused by the structure of the firmware C codes. In the main() of txrx.c, there is no explicit function calls looks like sen

[Discuss-gnuradio] Re: fix for usrp2 overruns when stopping and restarting rx streaming

2010-04-21 Thread Johnathan Corgan
On Wed, Apr 21, 2010 at 04:08, Martin DvH wrote: > This single line patch fixes this. This has been applied on the master branch. Johnathan ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnur

Re: [Discuss-gnuradio] Importing Filter Taps

2010-04-21 Thread Josh Blum
you can call numpy.fromfile in grc http://docs.scipy.org/doc/numpy/reference/generated/numpy.fromfile.html if it cant find the numpy module, add an import block that has "import numpy" -Josh On 04/21/2010 02:09 AM, Umair Naeem wrote: I need to import complex filter taps from a .txt file and

[Discuss-gnuradio] Re: Sending extra info (rssi) in ethernet frames from USRP2 to host

2010-04-21 Thread hanwen
Forget to mention, we are using GR 3.2.2, not the newer one with UDP supported. Cheers, Hanwen 2010/4/21 hanwen > Hi, * > > I am reading through the firmware C codes and trying to figure out how to > carry the RSSI values from auxiliary ADC in the word0 section of each > ethernet frame. I was c

[Discuss-gnuradio] USRP2 FPGA documentation

2010-04-21 Thread David Barton
Hi, Is there any documentation or source code available for signal processing done in the USRP2 FPGA? I have seen lots of block diagrams, etc. for USRP but been unable to find anythign similar for usrp 1. Thanks, Dave ___ Discuss-gnuradio mail

Re: [Discuss-gnuradio] USRP2 FPGA documentation

2010-04-21 Thread Brian Padalino
On Wed, Apr 21, 2010 at 11:42 AM, David Barton wrote: > Hi, > > Is there any documentation or source code available for signal processing > done in the USRP2 FPGA? I have seen lots of block diagrams, etc. for USRP > but been unable to find anythign similar for usrp 1. Source code is found on Matt

[Discuss-gnuradio] DPSK Modulator and Demodulator

2010-04-21 Thread David Barton
Hi, I am having trouble the the DBPSK mod and demod blocks. My flow graph is: file source -> DBPSKmod -> DBPSKdemod -> file sink The file source is a 2 byte text file set to not repeat The default parameters were used for the DBPSKmod and demod blocks (including 2 Samples/Symbol) When I run the

[Discuss-gnuradio] Regarding...modulation used by usrp...

2010-04-21 Thread Muhammad Ali Khan
Hello, I am using USRP with FLEX900 daughter board, i want to ask you that while transmission what kind of *modulation technique*, used by USRP for transmitting data. Thanks Ali ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu

Re: [Discuss-gnuradio] Regarding...modulation used by usrp...

2010-04-21 Thread Brian Padalino
On Wed, Apr 21, 2010 at 2:34 PM, Muhammad Ali Khan wrote: > Hello, > I am using USRP with FLEX900 daughter board, i want to ask you that while > transmission what kind of modulation technique, used by USRP for > transmitting data. Which modulation technique would be an acceptable answer? > Thank

[Discuss-gnuradio] USRP2 FPGA register control

2010-04-21 Thread utsu nn
Dear all, I searched the email achieve and Internet, only usrp FPGA control information can be found. http://gnuradio.org/redmine/wiki/1/UsrpFAQFpgaRegs u = usrp.source_c() u._write_fpga_reg(regno, val) set_register(FR_ADC_OFFSET_0, 0); Nothing related to usrp2 was reported. If I want to w

[Discuss-gnuradio] importing usrp2 module failing

2010-04-21 Thread George Nychis
Hi all, I installed GNU Radio via the Ubuntu package first, and when trying to run usrp2_probe, i got the error "ImportError: cannot import name usrp2" ... so then I tried a manual install from the latest git, and I still get that same error. I have confirmed that gnuradio exists in: /usr/local/l

[Discuss-gnuradio] Re: importing usrp2 module failing

2010-04-21 Thread George Nychis
**NOTE** I do not get the import error when I do not run the command with > sudo, but then I do not get the proper raw socket permissions. Maybe that > rings a bell to someone? Something probably about an environment variable I > am missing. > > actually... I am getting the same error now without

Re: [Discuss-gnuradio] ATSC decoding

2010-04-21 Thread Stephen Branch
>>> Tom Rondeau 04/20/10 9:58 AM >>> On Mon, Apr 19, 2010 at 8:12 PM, Stephen Branch wrote: > Hello everyone, > > I am part of Auburn University's Software Defined Radio Senior Design team, > > Software being used: > Ubuntu v.9.10 on xfs partition > GNURadio v.3.3 (git) > Xine > > Available hardw

Re: [Discuss-gnuradio] Re: importing usrp2 module failing

2010-04-21 Thread Josh Blum
its probably an issue of PYTHONPATH, make sure that the import works on command line: python -c "from gnuradio import usrp2" You should not need to run as root as long as the socket opener app has suid permissions sudo chown root:usrp `which usrp2_socket_opener` sudo chmod 04750 `which usrp2_

Re: [Discuss-gnuradio] ATSC decoding

2010-04-21 Thread Tom Rondeau
On Wed, Apr 21, 2010 at 3:48 PM, Stephen Branch wrote: > Hi Tom, > > Thanks for the response. > > Just for clarification: > > You said: > > "For the channel you're looking at (20), the carrier would be at 507.31 > MHz. There's a PLL to lock to the carrier, but I'm not sure if it's > broad enough t

Re: [Discuss-gnuradio] Re: importing usrp2 module failing

2010-04-21 Thread George Nychis
thanks Josh! I seem to have had a conflicting install in /usr/lib/ rather than /usr/local/lib, so i blasted it and updated PYTHONPATH and all is great again ;) - George On Wed, Apr 21, 2010 at 4:14 PM, Josh Blum wrote: > its probably an issue of PYTHONPATH, make sure that the import works on >

[Discuss-gnuradio] How to solve the USRP overrun problem

2010-04-21 Thread Yan Nie
Dear all, I'm modifying the gr-sounder project to transmit a 113-bit legendre sequence of the bandwith 32kHz and upconvert to certain frequency in the range 1MHz to 20MHz. At receiver side, the received signal is downconverted to baseband and store the recovered sequence into a data file. I

[Discuss-gnuradio] freq_xlating_fir_filter_ccc

2010-04-21 Thread Marcus D. Leech
Ok, so I have an input audio chunk, from DC-48KHz, sampled at 96KHz. I want to extract 20KHz to 32KHz, and shift this down to DC (DC-12KHz). I think I need the freq_xlating_fir_filter_ccc() block, but I've seen conflicting information about how to use this block. In GRC, what parameters do I

Re: [Discuss-gnuradio] DPSK Modulator and Demodulator

2010-04-21 Thread marcin_w
You can't connect the file source directly to the Modulator. If you are Using DBPSK, the modulator will be looking for 1 bit at a time, or in this case a byte with only 1 significant bit. Use File Source > packed to unpacked [1 bit per chunk] MSB first > DBPSK Modulator Marcin David Barton-4

Re: Re[Discuss-gnuradio] garding...modulation used by usrp...

2010-04-21 Thread marcin_w
Any technique you like: Analog: AM/FM Digital: DBPSK DQPSK GMSK QAM etc Marcin Muhammad Ali Khan wrote: > > Hello, > > I am using USRP with FLEX900 daughter board, i want to ask you that while > transmission what kind of *modulation technique*, used by USRP for > transmitting data. > > Tha

Re: [Discuss-gnuradio] DPSK Modulator and Demodulator

2010-04-21 Thread marcin_w
My mistake, i didn't realise you were using the available DBPSK block. The Packed to Unpacked block is already part of this Modulator, so disregard my comment. Marcin marcin_w wrote: > > You can't connect the file source directly to the Modulator. If you are > Using DBPSK, the modulator will b

Re: [Discuss-gnuradio] An Allocation Error

2010-04-21 Thread Eric Blossom
On Tue, Apr 20, 2010 at 10:09:03AM +, Umair Naeem wrote: > I have made a flow graph in GRC and I am getting this error > > Generating: "/home/salsa/top_block.py" > > Executing: "/home/salsa/top_block.py" > > >>> gr_fir_ccf: using SSE > gr_vmcircbuf_sysv_shm: shmget (1): Invalid argument > gr

Re: [Discuss-gnuradio] Freeze when writing to linux fifo pipe

2010-04-21 Thread Eric Blossom
On Tue, Apr 20, 2010 at 02:57:04PM +0200, Joachim Roop wrote: > Hi, > I am trying to write to a linux pipe/fifo, but sadly this seems to freeze > python. I am using Ubuntu 10.04 and gnuradio 3.2.2.dfsg-1ubuntu1. > Please try to execute the code and tell me why this makes the app pause. $ man 3 m

Re: [Discuss-gnuradio] Freeze when writing to linux fifo pipe

2010-04-21 Thread Marcus D. Leech
On 04/21/2010 11:26 PM, Eric Blossom wrote: > On Tue, Apr 20, 2010 at 02:57:04PM +0200, Joachim Roop wrote: > >> Hi, >> I am trying to write to a linux pipe/fifo, but sadly this seems to freeze >> python. I am using Ubuntu 10.04 and gnuradio 3.2.2.dfsg-1ubuntu1. >> Please try to execute the cod

Re: [Discuss-gnuradio] Freeze when writing to linux fifo pipe

2010-04-21 Thread Eric Blossom
On Wed, Apr 21, 2010 at 11:30:32PM -0400, Marcus D. Leech wrote: > On 04/21/2010 11:26 PM, Eric Blossom wrote: > > On Tue, Apr 20, 2010 at 02:57:04PM +0200, Joachim Roop wrote: > > > >> Hi, > >> I am trying to write to a linux pipe/fifo, but sadly this seems to freeze > >> python. I am using Ub

[Discuss-gnuradio] Clearly, I got gr.freq_xlating_fir_filter_ccc working!

2010-04-21 Thread Marcus D. Leech
Well, after a little bit of mucking about, I was able to down-shift the segment I needed into a range that is audible to the human ear. Here's a snippet: http://www.sbrac.org/files/vlf.mp3 (I have it in FLAC and OGG and WAV as well, just figured most folks would have a MP3 player :-) ). It's

Re: [Discuss-gnuradio] wbx usrp1 sampling spectrum distortion

2010-04-21 Thread Kyle Zhou
On 04/20/2010 08:28 PM, Kyle Zhou wrote: > > > Matt Ettus wrote: >> On 04/20/2010 02:51 AM, Kyle Zhou wrote: >>> Hi >>> I use WBX + USRP1 to capture a DAB+ digital radio broadcast signal at >>> frequency 204.64MHz and bandwidth 1.4MHz. >>> Sampling rate is 2Msps (decimation=32) >>> The

Re: [Discuss-gnuradio] USRP1 FPGA configuration with 16, 8, 4, 2, and 1-bit quantization options available for test

2010-04-21 Thread Matt Ettus
On 04/08/2010 06:11 PM, Shivaramaiah, Nagaraj wrote: 1) Has this configurable bit-width revision been merged? I could not see the rx_buffer.v modifications in 3.2.2 nor any modifications towards this feature on the host side. 2) Is there any branch doing the required modifications on the host