RE: [Discuss-gnuradio] Transmitting binary 1's and 0's using different modulation schemes
Hello everyone, Happy New Year! Does anyone have a solution to this post yet? Your help will be greatly appreciated. Thanks! Dumezie From: discuss-gnuradio-bounces+dmaduike=neo.tamu@gnu.org [mailto:discuss-gnuradio-bounces+dmaduike=neo.tamu@gnu.org] On Behalf Of Dumezie Maduike Sent: Friday, December 26, 2008 10:50 AM To: discuss-gnuradio@gnu.org Subject: [Discuss-gnuradio] Transmitting binary 1's and 0's using different modulation schemes Hello everyone, Is there a python script available in Gnu Radio in which you can supply at the input line a bunch of binary "1's" and "0's" and transmit them using different modulation schemes such as dbpsk, gmsk, qpsk, etc.. Also, is there a receiver that can take the transmitted signal, reduce it to baseband and then collect it's analog values using "gr.vector_sink_c()"? Thanks Dumezie ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Fedora 10 and svn head
Bob McGwier wrote: > I run Fedora 10 on my Quad core and boost 1_37 installed in /opt. I am > putting it on one of my dual power PC blades and on one of my dual CBE > blades for experimentation with SDK 3.1. I am attempting to work out all of > the gotchas with F10 for this work. > > --with-boost=/opt/boost(directory of your choice) > > in the configure, all seems well. I believe this is the recommended > procedure in the README.boost in the root of the trunk. Of course, README > is one of those files that is ignored almost always right? > I'm also running F10 with boost-1.37. The instructions have you include /opt/boost{whatever}/lib in LD_LIBRARY_PATH, but instead, I simply do a "ldconfig /opt/boost{whatever}/lib", and then I don't have to remember to stuff LD_LIBRARY_PATH all the time. I'm running on a quad-core Q6600 system, which I have overclocked to about 2.95Ghz, from 2.4Ghz. It's just barely able to keep up with two (complex, 8-bit) channels at 6.4Msps for my radio astronomy stuff. I can't get it to overclock any higher, until I get a cooler (currently using the stock fan). If I had the money, I'd upgrade to a 2U server with twin or quad-socket Xeon 5472, but I can't quite justify that expense after getting laid off a couple of months ago :-( :-( -- Marcus Leech Principal Investigator, Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
RE: [Discuss-gnuradio] Transmitting binary 1's and 0's using different modulation schemes
On Thu, 2009-01-01 at 12:18 -0600, Dumezie Maduike wrote: > Is there a python script available in Gnu Radio in which you can > supply at the input line a bunch of binary "1's" and "0's" and > transmit them using different modulation schemes such as dbpsk, gmsk, > qpsk, etc.. > Also, is there a receiver that can take the transmitted signal, reduce > it to baseband and then collect it's analog values using > "gr.vector_sink_c()"? Neither of these scripts exist. Why don't you write them? -Johnathan ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
RE: [Discuss-gnuradio] Transmitting binary 1's and 0's using different modulation schemes
Okay, I just wanted to make sure it wasn't out there before I delved into it. Thanks Dumezie -Original Message- From: Johnathan Corgan [mailto:jcor...@corganenterprises.com] Sent: Thursday, January 01, 2009 12:26 PM To: Dumezie Maduike Cc: discuss-gnuradio@gnu.org Subject: RE: [Discuss-gnuradio] Transmitting binary 1's and 0's using different modulation schemes On Thu, 2009-01-01 at 12:18 -0600, Dumezie Maduike wrote: > Is there a python script available in Gnu Radio in which you can > supply at the input line a bunch of binary "1's" and "0's" and > transmit them using different modulation schemes such as dbpsk, gmsk, > qpsk, etc.. > Also, is there a receiver that can take the transmitted signal, reduce > it to baseband and then collect it's analog values using > "gr.vector_sink_c()"? Neither of these scripts exist. Why don't you write them? -Johnathan ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Boost Problem in Compiling Current Trunk
Hi, > On Thu, 1/1/09, Johnathan Corgan wrote: > Please svn update and retry. > > -Johnathan Everything is OK now. I Successfully complied revision [10184]. Thank you and happy new year. Firas ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Boost Problem in Compiling Current Trunk
Happy Birthday, Firas! PS I don't think compiling GnuRadio is the best way to spend one's birthday :-) Dimitris Symeonidis "If you think you're too small to make a difference, try sleeping with a mosquito!" - Amnesty International On Thu, Jan 1, 2009 at 22:24, Firas Abbas wrote: > > Hi, > >> On Thu, 1/1/09, Johnathan Corgan wrote: >> Please svn update and retry. >> >> -Johnathan > > > Everything is OK now. I Successfully complied revision [10184]. > > Thank you and happy new year. > > > Firas > > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Make fail...config.h:467: error: 'usleep' was not declared in this scope
Hello, Finally was able to successfully configure gnuradio on Windows XP with MinGW/MSYS but fails during make. Does anyone have an idea of what's going on here? Thanks, Dan - $ make make all-recursive make[1]: Entering directory `/usr/src/gnuradio-3.1.3' Making all in config make[2]: Entering directory `/usr/src/gnuradio-3.1.3/config' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/gnuradio-3.1.3/config' Making all in omnithread make[2]: Entering directory `/usr/src/gnuradio-3.1.3/omnithread' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOMNITHREAD_NT=1 -DPthreadDraftVersion=10 -I/usr/src/gnuradio-3.1.3/omnithread -I/usr/local/include -g -O2 -Wall -Woverloaded-virtual -MT omni_time.lo -MD -MP -MF .deps/omni_time.Tpo -c -o omni_time.lo omni_time.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOMNITHREAD_NT=1 -DPthreadDraftVersion=10 -I/usr/src/gnuradio-3.1.3/omnithread -I/usr/local/include -g -O2 -Wall -Woverloaded-virtual -MT omni_time.lo -MD -MP -MF .deps/omni_time.Tpo -c omni_time.cc -DDLL_EXPORT -DPIC -o .libs/omni_time.o In file included from omni_time.cc:23: ../config.h: In function `int nanosleep(const timespec*, timespec*)': ../config.h:467: error: `usleep' was not declared in this scope ../config.h:467: warning: unused variable 'usleep' make[2]: *** [omni_time.lo] Error 1 make[2]: Leaving directory `/usr/src/gnuradio-3.1.3/omnithread' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/gnuradio-3.1.3' make: *** [all] Error 2 _ Send e-mail anywhere. No map, no compass. http://windowslive.com/oneline/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_anywhere_122008___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Make fail...config.h:467: error: 'usleep' was not declared in this scope
"Dan J" wrote: Finally was able to successfully configure gnuradio on Windows XP with MinGW/MSYS but fails during make. Does anyone have an > idea of what's going on here? . . . $ make make all-recursive make[1]: Entering directory `/usr/src/gnuradio-3.1.3' Making all in config make[2]: Entering directory `/usr/src/gnuradio-3.1.3/config' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/gnuradio-3.1.3/config' Making all in omnithread make[2]: Entering directory `/usr/src/gnuradio-3.1.3/omnithread' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DOMNITHREAD_NT=1 -DPthreadDraftVersion=10 -I/usr/src/gnuradio-3.1.3/omnithread -I/usr/local/include -g -O2 -Wall -Woverloaded-virtual -MT omni_time.lo -MD -MP -MF .deps/omni_time.Tpo -c -o omni_time.lo omni_time.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DOMNITHREAD_NT=1 -> DPthreadDraftVersion=10 -I/usr/src/gnuradio-3.1.3/omnithread -I/usr/local/include -g -O2 -Wall -Woverloaded-virtual -MT omni_time.lo -MD -MP -MF .deps/omni_time.Tpo -c omni_time.cc -DDLL_EXPORT -DPIC -o .libs/omni_time.o In file included from omni_time.cc:23: ../config.h: In function `int nanosleep(const timespec*, timespec*)': ../config.h:467: error: `usleep' was not declared in this scope ../config.h:467: warning: unused variable 'usleep' make[2]: *** [omni_time.lo] Error 1 make[2]: Leaving directory `/usr/src/gnuradio-3.1.3/omnithread' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/gnuradio-3.1.3' make: *** [all] Error 2 There appears to be some confusion about what sleep functions are available in your installation. If you do "fgrep -i sleep config.h" in your top-level directory, you should see that HAVE_SLEEP is defined but HAVE_USLEEP and HAVE_NANOSLEEP are not. You should also see a declaration "int usleep(...", which should prevent the error shown above. It sounds like configure thinks that it has found usleep, but when you go to compile it isn't found. Did you install MinGW recently? Did you use the automated installer? Do you know what version of w32api you have? -- Don W. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Fedora 10 and svn head
'Eric Blossom' wrote: > On Thu, Jan 01, 2009 at 01:23:55PM -0500, Marcus D. Leech wrote: > >> I'm running on a quad-core Q6600 system, which I have overclocked to >> about 2.95Ghz, from 2.4Ghz. It's just >> barely able to keep up with two (complex, 8-bit) channels at 6.4Msps >> for my radio astronomy stuff. I can't get >> it to overclock any higher, until I get a cooler (currently using the >> stock fan). >> > > When you oprofile it, what's the big CPU user? > > OK, someone throw me a frickin bone here.I can't, for love nor money, find a way to get a vmlinux-uncompressed-with-symbols image for oprofile to use with my running F10 kernel. They ship kernel images compressed, and without symbols, and the older information on this (ca FC6) doesn't appear to work anymore--there's no "core-debuginfo" and "kernel-debuginfo" packages to install. So, to a first approximation, oprofile is next-to-useless for me. (Although it does helpfully tell me that the kernel and libgnuradio-core are the top two CPU users, but I'd really like more detail than that :-) ). -- Marcus Leech Principal Investigator, Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Fedora 10 and svn head
On Thu, Jan 01, 2009 at 09:42:47PM -0500, Marcus D. Leech wrote: > 'Eric Blossom' wrote: > > On Thu, Jan 01, 2009 at 01:23:55PM -0500, Marcus D. Leech wrote: > > > >> I'm running on a quad-core Q6600 system, which I have overclocked to > >> about 2.95Ghz, from 2.4Ghz. It's just > >> barely able to keep up with two (complex, 8-bit) channels at 6.4Msps > >> for my radio astronomy stuff. I can't get > >> it to overclock any higher, until I get a cooler (currently using the > >> stock fan). > >> > > > > When you oprofile it, what's the big CPU user? > > > > > OK, someone throw me a frickin bone here.I can't, for love nor > money, find a way to get a vmlinux-uncompressed-with-symbols > image for oprofile to use with my running F10 kernel. They ship > kernel images compressed, and without symbols, and the older > information on this (ca FC6) doesn't appear to work anymore--there's > no "core-debuginfo" and "kernel-debuginfo" packages to > install. > > So, to a first approximation, oprofile is next-to-useless for me. > (Although it does helpfully tell me that the kernel and libgnuradio-core > are the top two CPU users, but I'd really like more detail than that > :-) ). The kernel symbols are nice, but not essential. $ sudo opcontrol --start $ $ sudo opcontrol --dump $ sudo opcontrol --stop $ opreport -l -t 2 Then when you want to do it again, $ sudo opcontrol --reset $ sudo opcontrol --start ... Eric ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
RE: [Discuss-gnuradio] Make fail...config.h:467: error: 'usleep' was not declared in this scope
Don, Thanks for the input. The result of "fgrep -i sleep config.h" is: fgrep -i sleep config.h /* Define to 1 if you have the `nanosleep' function. */ /* #undef HAVE_NANOSLEEP */ /* Define to 1 if you have the `sleep' function. */ /* #undef HAVE_SLEEP */ /* Define to 1 if you have win32 Sleep */ #define HAVE_SSLEEP 1 /* Define to 1 if you have the `usleep' function. */ #define HAVE_USLEEP 1 #ifndef HAVE_USLEEP int usleep(unsigned long usec); /* SUSv2 */ #ifndef HAVE_NANOSLEEP static inline int nanosleep(const struct timespec *req, struct timespec *rem) { return usleep(req->tv_sec*100+req->tv_nsec/1000); } #if defined(HAVE_SSLEEP) && !defined(HAVE_SLEEP) /* TODO: what about SleepEx? */ static inline unsigned int sleep (unsigned int nb_sec) { Sleep(nb_sec*1000); return 0; } 1) I only installed MinGW yesterday and used MinGW-5.1.4.exe. 2) Using w32api3.11 Thanks, Dan _ Send e-mail anywhere. No map, no compass. http://windowslive.com/oneline/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_anywhere_122008___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] problem with carrier sense in USRP
hi, i also try to search for send_pkt() function..could any one tell me where to find this function in GNU radio package? i think it is on C++ code isn't it?but when i search in the CLASS list on http://gnuradio.org/trac/browser/gnuradio/trunk i couldn't find any..or maybe i miss it? please help me.. thank you. adib sairi Hi, I am testing the carrier sense mechanism on USRP based on code from benchmark_tx.py and tunnel.py. My scenario is to receive packets from two distinctive nodes simultaneously at the third node. I am prefixing the payload with sender node name to identify the sender. When I am trying to send the packets from two nodes simultaneously, the packets are still colliding, though I have incorporated carrier sense mechanism in to my code. Please help me in this respect and if possible suggest me a solution. I think, packets are being sent by the lower level C++ processing blocks and send_pkt() just enqueues the packets. So rather than holding sending of packet, this code is just holding the packet from getting enqueued in message queue. Which is not really the holding of packet till carrier is free. Once packets are in message queue, they are transmitted irrespective of carrier availability. So there is still possibility of packet collision. Am I correct in my understanding of this real-time scenario? -- View this message in context: http://www.nabble.com/problem-with-carrier-sense-in-USRP-tp20492283p21247975.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