Re: [Discuss-gnuradio] Obtaining the original (source) samples at the end of the chain (sink)

2015-10-27 Thread Veljko Pejovic
gives you the exact input > signal as output, but it delays it by 5 samples. > So the first sample reaching sink A looks a lot like the fifth reaching sink > B. > > I can't just build a parallel > chain that will merely delay the samples, and then fetch those delayed > s

[Discuss-gnuradio] Obtaining the original (source) samples at the end of the chain (sink)

2015-10-26 Thread Veljko Pejovic
Hi, I would like to process samples from a USRP (let's use FM demodulation, for example) and then identify which of the original samples correspond to a particular result at the end of the chain (say, a beginning of a stereo transmission, a beginning of a song, etc.). The problem is, in the proce

Re: [Discuss-gnuradio] Understanding processing delay

2015-10-23 Thread Veljko Pejovic
les in GNU > Radio, that would be meaningless, and also misleading, because it'd hide the > "chunky" processing behaviour. > > Best regards, > Marcus > > > On 20.10.2015 18:37, Veljko Pejovic wrote: > > Hi, > > In order to better understand the gnuradio

[Discuss-gnuradio] Understanding processing delay

2015-10-20 Thread Veljko Pejovic
Hi, In order to better understand the gnuradio flowgraph I created a very simple test in which I connected a vector source (running through 1,2,3,4,5,6,7,8,9,0) in series with two “Add Const” blocks. The first block adds 1, the second subtracts 1. I have two probes that I query every second. One p

Re: [Discuss-gnuradio] ImportError: No module named osmosdr on Mac

2015-07-10 Thread Veljko Pejovic
OK, the issue resolved itself once I removed the manual installation of osmosdr and installed it using Macports: port install gr-osmosdr Veljko On Fri, Jul 10, 2015 at 11:00 AM, Veljko Pejovic wrote: > Hi, > > After a while I got back to playing with gnuradio, and I'm happy to

[Discuss-gnuradio] ImportError: No module named osmosdr on Mac

2015-07-10 Thread Veljko Pejovic
Hi, After a while I got back to playing with gnuradio, and I'm happy to see that the choice of available/supported hardware is much wider than it used to be a few years ago. I've got one of those DVB-T USB dongles, installed rtl-sdr software to confirm that the device works (yes, I can listen to

Re: [Discuss-gnuradio] Periodically varying channel gain mesurements

2011-02-25 Thread Veljko Pejovic
, Feb 24, 2011 at 16:54, Veljko Pejovic wrote: >> >> I'm using Ubuntu 10.04 with a recent gnuradio-next branch and the UHD >> driver on USRP2/WBX boards. >> In an outdoor setup I have two receiving nodes about 40m away from >> each other and from the transmitter.

[Discuss-gnuradio] Periodically varying channel gain mesurements

2011-02-24 Thread Veljko Pejovic
Hi, I'm using Ubuntu 10.04 with a recent gnuradio-next branch and the UHD driver on USRP2/WBX boards. In an outdoor setup I have two receiving nodes about 40m away from each other and from the transmitter. The transmitter is a PC with two USRP2s connected with a MIMO cable. It is sending two diffe

Re: [Discuss-gnuradio] OFDM on USRP2

2011-01-18 Thread Veljko Pejovic
;> >> >> On 01/17/2011 11:31 AM, Veljko Pejovic wrote: >>> Hi, >>> >>> I updated the OFDM example. You can find it at >>> http://www.cs.ucsb.edu/~veljko/downloads/ofdm_example.tar.gz >>> >>> It supports both USRPs and the UHD driver.

Re: [Discuss-gnuradio] OFDM on USRP2

2011-01-17 Thread Veljko Pejovic
Hi, I updated the OFDM example. You can find it at http://www.cs.ucsb.edu/~veljko/downloads/ofdm_example.tar.gz It supports both USRPs and the UHD driver. I get pretty bad performance with UHD receiver for some reason. Any ideas? Cheers, Veljko On Tue, Jan 11, 2011 at 9:26 PM, Guanbo wrote

Re: [Discuss-gnuradio] UHD IP Address Setting Issue

2010-11-16 Thread Veljko Pejovic
Hi, usrp2_card_burner_gui.py in share/uhd/utils worked fine for me on Ubuntu 10.04. Did you set the network interfaces addresses properly? Cheers, Veljko On Tue, Nov 16, 2010 at 8:57 AM, Gregory, Adam wrote: > Hi all, > > > > I’m trying to get a MIMO setup working using USRP2s with the UHD dr

[Discuss-gnuradio] UHD: tx - sync via MIMO cable, rx - "We're marking it DONE"

2010-11-03 Thread Veljko Pejovic
Hi, Setup: Two USRP2 + WBX boards, one PC with Ubuntu 10.04, the latest gnruadio/next and uhd from the github. The PC hosts two PCI express GigEthernet cards, which are connected to the two USRP2s. I'm using UHD to tx/tr with two boards simultaneously. I'm working with Multi USRP source and sink

Re: [Discuss-gnuradio] Questions on OFDM transmission on USRP2

2010-06-17 Thread Veljko Pejovic
e modified code provided by Veljko Pejovic (link: > www.cs.ucsb.edu/~veljko/downloads/ofdm_example.tar.gz). After trying > different combinations of parameters, I managed to get benchmark to work > with most package received correctly. However, it turned out the CPU usage > was very high, al

Re: [Discuss-gnuradio] ofdm reception affected by python threading?

2010-05-28 Thread Veljko Pejovic
the faster machine also has a better GIgEthernet card. Interestingly, I do not observe any other signs of CPU throttling, such as dropped packets when I see the problem. Cheers, Veljko 2010/5/24 Eric Blossom : > On Fri, May 21, 2010 at 02:15:15PM -0700, Veljko Pejovic wrote: >> Hi,

[Discuss-gnuradio] ofdm reception affected by python threading?

2010-05-21 Thread Veljko Pejovic
Hi, I'm using two USRP2 with XCVR2450s, a week old gnuradio git master and Ubuntu 9.10. A few months ago while using the OFDM code I observed that I tend to receive (or send?) packets in groups, although I was sending them individually. Now, I finally isolated the problem. I added a few simple p

Re: [Discuss-gnuradio] MAC layer development and USRP2

2010-04-06 Thread Veljko Pejovic
Hi George, 2010/4/6 George Nychis : > Jeff, I definitely agree that buffering also adds significant latency.  How > much of the MAC can you get around?  I just think that, there are a number > of people who want the flexibility of the SDR, but want to do MAC research, > and current common SDR arch

Re: [Discuss-gnuradio] MAC layer development and USRP2

2010-04-06 Thread Veljko Pejovic
Two independent PC+USRP nodes. All the ACK related logic was implemented at the Python layer. Another thing that I tried was to connect the two nodes via Ethernet (I have two Ethernet NICs in each of the PCs) and then use USRPs for data and Ethernet for ACKs. I still couldn't get good results, alt

Re: [Discuss-gnuradio] MAC layer development and USRP2

2010-04-06 Thread Veljko Pejovic
I tried with a stop-and-wait ARQ and two USRP2s with XCVR2450s, but the delay was too long and inconsistent. I can't remember the exact figures, but definitely up to milliseconds. Veljko 2010/4/6 George Nychis : > > > On Tue, Apr 6, 2010 at 10:07 AM, Charles Irick wrote: >> >> Thanks for the rep

[Discuss-gnuradio] trellis encoder and OFDM modulator

2010-03-05 Thread Veljko Pejovic
Hi, I tried to use trellis_encoder from trellis package to perform convolution coding before sending the message to the OFDM modulator. However, ofdm_mod has zero input signature, and relies on send_pkt() which calls ofdm_packet_utils.make_packet() and then puts the message in the queue at gr.ofdm

Re: [Discuss-gnuradio] reconfiguring with usrp2 src present

2010-02-24 Thread Veljko Pejovic
o get the error every time. Does anyone have an idea about how to go around this? Thanks a lot, Veljko 2010/2/16 Alexandru Csete : > On 16 February 2010 23:32, Veljko Pejovic wrote: >> Thanks a lot for the answer, Jonathan. >> >> Yes, I am using 3.2.2, I'll tr

Re: [Discuss-gnuradio] packet interarrival time

2010-02-20 Thread Veljko Pejovic
esn't look like that from my measurements. Thanks, Veljko 2010/2/12 Veljko Pejovic : > Hi Eric, > > 2010/2/12 Eric Blossom : >> On Fri, Feb 12, 2010 at 12:52:00PM -0800, Veljko Pejovic wrote: >>> Hi, >>> >>> I'm using two USRP2 with XCVR

Re: [Discuss-gnuradio] Error on make from git development trunk

2010-02-18 Thread Veljko Pejovic
Hi, I had the same problem and I got the following hint by Timothy R. Gall: "I just edited the makefile by hand to get rid of the error. You see it says `/../lib/libgnuradio-pager.la', when it should be `../lib/libgnuradio-pager.la'. Go to the gr-pager/swig directory and edit the makefile, repl

Re: [Discuss-gnuradio] lock and unlock with transmit h_path and receive_path‏

2010-02-17 Thread Veljko Pejovic
when I see it in my setup (Ubuntu 9.10, USRP2, XCVR2450) cheers, Veljko 2010/2/17 Eric Blossom : > On Mon, Feb 15, 2010 at 10:51:05AM -0800, Veljko Pejovic wrote: >> Update: >> I moved the reconfiguration one level up, to transmit_path.py and it >> works for high interpol

Re: [Discuss-gnuradio] reconfiguring with usrp2 src present

2010-02-16 Thread Veljko Pejovic
han Corgan : > On Tue, 2010-02-16 at 13:47 -0800, Veljko Pejovic wrote: >> Is it possible to dynamically reconfigure a flow graph that has a usrp2 >> source? > > Yes. > >> I tested a simple lock()/unlock() from the top graph, and also from >> the other parts

[Discuss-gnuradio] reconfiguring with usrp2 src present

2010-02-16 Thread Veljko Pejovic
Hi All, Is it possible to dynamically reconfigure a flow graph that has a usrp2 source? I tested a simple lock()/unlock() from the top graph, and also from the other parts of the graph. I always get the following error: usrp2: channel 0 not receiving usrp2::rx_samples() failed If on the other

Re: [Discuss-gnuradio] lock and unlock with transmit h_path and receive_path‏

2010-02-15 Thread Veljko Pejovic
2010/2/14 Veljko Pejovic : > Hi, > > I have a similar problem in my code. > I modified benchmark_tx.py from gnuradio-examples/ofdm and ofdm.py > from blks2impl so that I can change the number of active subcarriers > on fly. > > In the packet sending loop of benchmark_

Re: [Discuss-gnuradio] lock and unlock with transmit h_path and receive_path‏

2010-02-14 Thread Veljko Pejovic
Hi, I have a similar problem in my code. I modified benchmark_tx.py from gnuradio-examples/ofdm and ofdm.py from blks2impl so that I can change the number of active subcarriers on fly. In the packet sending loop of benchmark_tx I periodically do the following: lock the top block (tb.lock()), cal

Re: [Discuss-gnuradio] packet interarrival time

2010-02-12 Thread Veljko Pejovic
Hi Eric, 2010/2/12 Eric Blossom : > On Fri, Feb 12, 2010 at 12:52:00PM -0800, Veljko Pejovic wrote: >> Hi, >> >> I'm using two USRP2 with XCVR2450s, gnuradio 3.2.2 and Ubuntu 9.10. >> >> I ran the benchmark_tx/rx example from gnuradio-examples/ofdm and >

[Discuss-gnuradio] packet interarrival time

2010-02-12 Thread Veljko Pejovic
Hi, I'm using two USRP2 with XCVR2450s, gnuradio 3.2.2 and Ubuntu 9.10. I ran the benchmark_tx/rx example from gnuradio-examples/ofdm and measured packet inter-arrival times at the receiver. I also modified the sender to wait for some time (like 200ms) between individual packets. I also set the m

[Discuss-gnuradio] weird real-time scheduling problem

2010-02-04 Thread Veljko Pejovic
Hi All, I have Ubuntu 9.10 and gnuradio 3.2.2 installed on two identical PC configurations, with two USRP2s (one per PC, obviously). on both computers I have /etc/security/limits.conf file with the following line: @usrp - rtprio 50 and on both of them I set the permissions for usrp2_socket_open

Re: [Discuss-gnuradio] running OFDM on USRP2

2010-02-02 Thread Veljko Pejovic
Hi, The example provided with the gnuradio codebase requires small modifications in order to work with USRP2. You can try with the modifications I made: www.cs.ucsb.edu/~veljko/downloads/ofdm_example.tar.gz In my case with XCVR2450 daughter boards running the following works fine: transmitter:

Re: [Discuss-gnuradio] running OFDM on USRP2

2010-01-27 Thread Veljko Pejovic
Hi, I have gnuradio 3.2.2 installed on Ubintu 9.10 and I'm using USRP2s with XCVR2450 daughterboards. I tried your example but I changed the interpolation to correspond to the decimation at the receiver: ./benchmark_ofdm_tx.py -f 2.4G -i 256 --fft-length=64 --occupied-tones=32 --cp-length=4 ./ben

Re: [Discuss-gnuradio] OFDM modulation/demodulation over USRP2

2010-01-17 Thread Veljko Pejovic
010/1/17 Veljko Pejovic : > Thanks for the reply Patrik, > > I managed to identify parameter values that make OFDM decoding work. > It seems that low decimation/interpolation rates don't work (a bunch > of "S"s at the receiver), nor do higher modulation schemes. The >

Re: [Discuss-gnuradio] OFDM modulation/demodulation over USRP2

2010-01-17 Thread Veljko Pejovic
P. > > I have the same configuration as you, but I have the RFX2400 instead of the > XCVR2450. > > Regards, > Patrik Eliardsson > >> -Original Message- >> From: >> discuss-gnuradio-bounces+patrik.eliardsson=foi...@gnu.org >> [mailto:discuss-gnurad

Re: [Discuss-gnuradio] gr-pager build issue

2010-01-15 Thread Veljko Pejovic
Hi, I got the same error: make[4]: *** No rule to make target `/../lib/libgnuradio-pager.la', needed by `_pager_swig.la'. Stop. make[4]: Leaving directory `/home/moment/Documents/gnuradio-veljkop/trunk/gnuradio/gr-pager/swig' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/moment/Do

Re: [Discuss-gnuradio] Re: WBX

2010-01-14 Thread Veljko Pejovic
Hi Matt, Is there an approximate release date for USRP2 driver? Also, which type of antenna do you suggest for the WBX. Thanks, Veljko 2010/1/13 Matt Ettus : > On 01/13/2010 12:01 PM, Gregory Maxwell wrote: >> >> On Wed, Jan 13, 2010 at 2:42 PM, Matt Ettus  wrote: >>> >>> At long last, the

[Discuss-gnuradio] OFDM modulation/demodulation over USRP2

2010-01-13 Thread Veljko Pejovic
Hi, I'm using Ubuntu 9.10, gnuradio version 3.2.2 and two USRP2 boards with XCVR2450 daughter boards. The boards are about a meter apart from each other. I'm trying to get OFDM working over USRP2 boards and for that I'm using GRC. I created a simple local loop (without USRPs): signal_source->modu

Re: [Discuss-gnuradio] ITU speech coders for gnuradio

2010-01-07 Thread Veljko Pejovic
Thanks for the clarification. I'll see if I can write a wrapper. I assume that the G.7xx code in gnuradio-core is working? cheers, Veljko 2010/1/7 Johnathan Corgan : > On Thu, Jan 7, 2010 at 10:21, Veljko Pejovic wrote: > >> Also, if there is anyone with experience in vo

[Discuss-gnuradio] ITU speech coders for gnuradio

2010-01-07 Thread Veljko Pejovic
Hi All, I'm using Ubuntu 9.10, gnuradio version 3.2.2 and two USRP2 boards with XCVR2450 daughter boards. I would like to establish G.711 encoded voice communication between the two USRPs. I tested the link with tx_voice.py and rx_voice.py example scripts and the Full Rate GSM encoding works fine