RE: [Discuss-gnuradio] Expected behavior during underruns

2010-12-16 Thread Patrik Eliardsson
> > It would be really nice if the send-function in the API have a TDMA > > mode where fragments of samples are dropped when an underrun occur so > > that the majority of the samples are aligned to the > > start_of_burst_time (see above example (1) and (3)). With this feature > > it is not ne

[Discuss-gnuradio] volk: duplicate symbol _volk_cpu

2010-12-16 Thread Kyle Zhou
when I try to build volk from next branch of git, I got error during make libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libvolk_runtime.0.dylib .libs/volk_cpu_x86.o .libs/cpuid_x86_64.o .libs/volk_runtime.o .libs/volk_init.o .libs/volk_rank_archs.o -L/opt/local/li

Re: [Discuss-gnuradio] volk: duplicate symbol _volk_cpu

2010-12-16 Thread Tom Rondeau
On Thu, Dec 16, 2010 at 6:07 AM, Kyle Zhou wrote: > when I try to build volk from next branch of git, I got error during make > > libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o > .libs/libvolk_runtime.0.dylib  .libs/volk_cpu_x86.o .libs/cpuid_x86_64.o > .libs/volk_runtime.o

Re: [Discuss-gnuradio] volk: duplicate symbol _volk_cpu

2010-12-16 Thread Kyle Zhou
On 16/12/2010, at 11:20 PM, Tom Rondeau wrote: > On Thu, Dec 16, 2010 at 6:07 AM, Kyle Zhou wrote: >> when I try to build volk from next branch of git, I got error during make >> >> libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o >> .libs/libvolk_runtime.0.dylib .libs/volk_

Re: [Discuss-gnuradio] volk: duplicate symbol _volk_cpu

2010-12-16 Thread Josh Blum
On 12/16/2010 03:07 AM, Kyle Zhou wrote: > when I try to build volk from next branch of git, I got error during make > > libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o > .libs/libvolk_runtime.0.dylib .libs/volk_cpu_x86.o .libs/cpuid_x86_64.o > .libs/volk_runtime.o .libs/v

Re: [Discuss-gnuradio] Expected behavior during underruns

2010-12-16 Thread Josh Blum
> Yes, I timestamp every packet sent by the send-function but my > observation shows that the underrun realignment is not automatic. I > also think that the underrun recovery works for packets, but it > doesn't work for fragments of packets. > Correct. Its at the packet level (thats UDP packet l

[Discuss-gnuradio] usrp_source: overrun

2010-12-16 Thread Thomas H Kim
Hello, I was running Hydra MIMO testbench on USRP and got stream of this message: usrp_source: overrun drop 16384 bytes Does anyone know what it means by overrun? Thanks, Thomas From: Josh Blum To: Patrik Eliardsson Cc: "discuss-gnuradio@gnu.org" Date: 12/16/2010 12:29 PM Su

[Discuss-gnuradio] question on gr_message_sptr class

2010-12-16 Thread Thomas H Kim
Hi all, I wonder if I can access message data of this class? It has to_string() function, but I want to carry some binary data via message. I looked at the documentation, but it did not look like it had any way to pass the data. Thanks, Thomas ___ D

Re: [Discuss-gnuradio] question on gr_message_sptr class

2010-12-16 Thread Josh Blum
> I wonder if I can access message data of this class? It has to_string() > function, but I want to carry some binary data via message. I looked at > the documentation, but it did not look like it had any way to pass the > data. > Thanks, > The to_string() is the data. Example: the oscope us

[Discuss-gnuradio] bootstrap in volk failed on volk_register.py

2010-12-16 Thread Kyle Zhou
The first line of volk_register.py #! /usr/bin/python should be changed to #! /usr/bin/env python Otherwise, on system where python is not installed in /usr/bin, bootstrap will fail Kyle ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org htt

[Discuss-gnuradio] gnuradio volk compilation er ror: error: ‘_mm_popcnt_u64’ was not decla red in this scope

2010-12-16 Thread Ruben Merz
Hi all, I started a fresh build from the branch next of gnuradio (revision 1047775464c1bb8a86e727487551e2b14abd476e). Compilation currently fails within volk: In file included from qa_64u_popcnt_aligned16.cc:4: ../include/volk/volk_64u_popcnt_aligned16.h: In function ‘void volk_64u_popcnt_a

[Discuss-gnuradio] building volk in MinGW

2010-12-16 Thread Kyle Zhou
I try to build volk in MinGW and find the following issues: 1) config.sub and config.guess are corrupt. They seems to be corrupted symlinks. This can be corrected by copying from top level directory. 2) The following files lead to compile error with undeclared clock_t etc. qa_32f_add_aligned1

[Discuss-gnuradio] time to reconfigure a block in flowgraph

2010-12-16 Thread Steve Mcmahon
Hello: I need some help on a timing issue. I have a timer running on a separate thread which changes parameters in my flow graph every 100ms or 200ms. When I change the frequency of my Signal Source by using gr.sig_source_c.set_frequency(), the timer thread is still able to fire every 100ms or

Re: [Discuss-gnuradio] building volk in MinGW

2010-12-16 Thread Tom Rondeau
On Thu, Dec 16, 2010 at 7:14 PM, Kyle Zhou wrote: > I try to build volk in MinGW and find the following issues: > 1) config.sub and config.guess are corrupt. They seems to be corrupted > symlinks. This can be corrected by copying from top level directory. > 2) The following files lead to compile e

Re: [Discuss-gnuradio] gnuradio volk compilation err or: error: ‘_mm_popcnt_u64’ was not declared in this sco pe

2010-12-16 Thread Tom Rondeau
On Thu, Dec 16, 2010 at 6:28 PM, Ruben Merz wrote: > > Hi all, > > I started a fresh build from the branch next of gnuradio (revision > 1047775464c1bb8a86e727487551e2b14abd476e). > > Compilation currently fails within volk: > > In file included from qa_64u_popcnt_aligned16.cc:4: > ../include/volk/

Re: [Discuss-gnuradio] building volk in MinGW

2010-12-16 Thread Kyle Zhou
On 17/12/2010 1:01 PM, Tom Rondeau wrote: On Thu, Dec 16, 2010 at 7:14 PM, Kyle Zhou wrote: I try to build volk in MinGW and find the following issues: 1) config.sub and config.guess are corrupt. They seems to be corrupted symlinks. This can be corrected by copying from top level directory. 2)

Re: [Discuss-gnuradio] building volk in MinGW

2010-12-16 Thread Tom Rondeau
On Thu, Dec 16, 2010 at 9:21 PM, Kyle Zhou wrote: > On 17/12/2010 1:01 PM, Tom Rondeau wrote: >> >> On Thu, Dec 16, 2010 at 7:14 PM, Kyle Zhou  wrote: >>> >>> I try to build volk in MinGW and find the following issues: >>> 1) config.sub and config.guess are corrupt. They seems to be corrupted >>>

[Discuss-gnuradio] gr-cvsd-vocoder bugfix

2010-12-16 Thread wayne roberts
Of interest to anybody using CVSD: I have tried using gr-cvsd-vocoder code on a microcontroller. The primary problem seen was related to the decoder: mask=cvsd_pow(2,7-bit_count); // Pull off the corresponding bit input_bit = input_byte & mask; // Update the bit counter

Re: [Discuss-gnuradio] building volk in MinGW

2010-12-16 Thread Kyle Zhou
I run test_all but without success. What I got is: .sse2 not available... no test performed .sse3 not available... no test performed .sse3 not available... no test performed .sse3 not available... no test performed .sse3 not available... no test performed .sse3 not available... no test performed

[Discuss-gnuradio] volk not installed as python module

2010-12-16 Thread Kyle Zhou
Ubuntu 10.10 After building volk successfully, make install does not put anything into python2.6/dist-packages/gnuradio Kyle ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] volk not installed as python module

2010-12-16 Thread Tom Rondeau
On Thu, Dec 16, 2010 at 10:48 PM, Kyle Zhou wrote: > Ubuntu 10.10 > After building volk successfully, make install does not put anything into > python2.6/dist-packages/gnuradio > Kyle Are you just building in the directory 'volk'? If so, there isn't anything to put in Python. It just generates th

Re: [Discuss-gnuradio] volk not installed as python module

2010-12-16 Thread Kyle Zhou
On 17/12/2010 3:20 PM, Tom Rondeau wrote: On Thu, Dec 16, 2010 at 10:48 PM, Kyle Zhou wrote: Ubuntu 10.10 After building volk successfully, make install does not put anything into python2.6/dist-packages/gnuradio Kyle Are you just building in the directory 'volk'? If so, there isn't anything

Re: [Discuss-gnuradio] volk not installed as python module

2010-12-16 Thread Josh Blum
> I build from the top level gnuradio. > I found under volk/python there is a qa_ code that import volk_swig > and obviously that does not work. > > so there is no swig wrapper for volk yet. right? then it would be just like numpy! think about that > >