[Discuss-gnuradio] Fwd: regarding your paper

2014-05-11 Thread lingeswar kandregula
hi ,
i have gone through bastin bloessl's code for ieee_802_15_4.  i  installed
it in my ubuntu 12.04 having gnuradio v3.7 . it installed and i got the
following error when i was trying to run the flowgraph.

Traceback (most recent call last):
  File /home/cps/.grc_gnuradio/ieee802_15_4_phy.py, line 16, in module
import ieee802_15_4
  File /usr/local/lib/python2.7/dist-packages/ieee802_15_4/__init__.py,
line 17, in module
from ieee802_15_4_swig import *
  File
/usr/local/lib/python2.7/dist-packages/ieee802_15_4/ieee802_15_4_swig.py,
line 26, in module
_ieee802_15_4_swig = swig_import_helper()
  File
/usr/local/lib/python2.7/dist-packages/ieee802_15_4/ieee802_15_4_swig.py,
line 22, in swig_import_helper
_mod = imp.load_module('_ieee802_15_4_swig', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-ieee802_15_4.so: undefined symbol:
_ZN2gr6blocks12count_bits32Ej

 i have no idea what it means. is it the problem with count_bits block.

looking forward for the reply.


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


Re: [Discuss-gnuradio] Fwd: regarding your paper

2014-05-11 Thread Bastian Bloessl

Hi Lingeswar,

 
/usr/local/lib/python2.7/dist-packages/ieee802_15_4/ieee802_15_4_swig.py,

 line 22, in swig_import_helper
  _mod = imp.load_module('_ieee802_15_4_swig', fp, pathname, 
description)

 ImportError: /usr/local/lib/libgnuradio-ieee802_15_4.so: undefined
 symbol: _ZN2gr6blocks12count_bits32Ej

I guess libgnuradio-ieee802_15_4.so is not linked against 
libgnuradio-blocks.so. You can check that with


ldd libgnuradio-ieee802_15_4.so

Are you using the most recent version of 15.4? Linking should work 
latest since this commit


https://github.com/bastibl/gr-ieee802-15-4/commit/a586256ad5e3fe1cf8c998a68a7276adf6e2d691

Best,
Bastian


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


Re: [Discuss-gnuradio] CDMA-UMTS protocol implementation with USRP1

2014-05-11 Thread Tom Rondeau
On Fri, May 9, 2014 at 7:20 PM, Marcus Müller marcus.muel...@ettus.comwrote:

 Hello Usman,

 going from deploying an already existing GSM basestation software to
 implementing a complete standard is a huge step.
 Also, USRP1 is almost certainly not the device I'd chose for that task --
 in can shuffle a maximum of 8MS/s over USB, and you need 5MS/s for up- and
 downlink each for UMTS-CDMA.

 From your choice of mailing list, I'd presume you want to use GNU Radio.
 So get your communication engineering textbooks ready, refresh what you
 know about digital baseband signal processing, and learn how to use and
 extend GNU Radio software on the gnuradio.org website, especially on the
 tutorials.

 Greetings,
 Marcus



But, if you want a start at the phy layer using CDMA, Achilleas' gr-cdma
might be a good place to start:

https://github.com/anastas/gr-cdma

Tom




 On Fri, May 9, 2014 at 9:20 PM, Usman Arshad m.usman...@gmail.com wrote:


 Hello list,

 I am planning to implement CDMA-UMTS protocol with USRP 1 and GNU Radio.
 I've first established OpenBTS setup with USRP1 and OpenBTS 2.8. Now I want
 to implement CDMA-UMTS in the same way as OpenBTS to establish a CDMA
 mobile network.

 Can anyone guide me about starting point like what software packages I
 need and any idea how to implement it.

 Thanks in advance.

 --
 *Usman Arshad*

 *Electrical (Telecom) Engineering*
 *National University of Sciences and Technology (NUST)*

 ___
 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] change value of variable in GRC when a message is received

2014-05-11 Thread Tom Rondeau
On Thu, May 8, 2014 at 1:45 PM, Achilleas Anastasopoulos
anas...@umich.eduwrote:

 Dan,

 when I said messages I meant gnuradio messages
 (http://gnuradio.org/doc/doxygen/page_msg_passing.html)

 So my problem is not with any remote messaging issue.
 Apologies for not making this more clear.

 best
 Achilleas


Achilleas,
You mean you want to change the value of a GRC Variable (as in an actual
[Variable]: Variable block on the canvas)? If so, no, we have nothing
architected to enable that. I suppose you could try to hack together
something using the Function Probe block.

Tom



 On Thu, May 8, 2014 at 1:29 PM, Dan CaJacob dan.caja...@gmail.com wrote:

 I'm not sure it's what you want, but the RPC Server block lets you change
 the value of any GR variable in a running FG remotely.  There also seems to
 be some work ongoing t bring zeromq endpoints into GR.

 Very Respectfully,

 Dan CaJacob


 On Thu, May 8, 2014 at 1:07 PM, Achilleas Anastasopoulos 
 anas...@umich.edu wrote:

 Is there a simple way for a GRC block  to asynchronously
 change the value of a GRC variable when
 the block receives a specific message?

 thanks
 Achilleas

 ___
 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] py_msg_queue__delete_head

2014-05-11 Thread Tom Rondeau
On Sat, May 10, 2014 at 10:22 PM, chenjian josnche...@gmail.com wrote:

 Hi, All

 I check the code in GNURadio 3.7.3,
  gnuradio-3.7.3/gnuradio-runtime/swig/msg_queue.i

 the code:
  83 #ifdef SWIGPYTHON
  84 %inline %{
  85   gr::message::sptr py_msg_queue__delete_head(gr::msg_queue::sptr q) {
  86 gr::message::sptr msg;
  87 GR_PYTHON_BLOCKING_CODE(
  88 msg = q-delete_head();
  89 )
  90 return msg;
  91   }
  92
  93   void py_msg_queue__insert_tail(gr::msg_queue::sptr q,
 gr::message::sptr msg) {
  94 GR_PYTHON_BLOCKING_CODE(
  95 q-insert_tail(msg);
  96 )
  97   }
  98 %}

 output is located in  gnuradio-runtime/swig/runtime_swig.py
 the output is like:
 3791 def py_msg_queue__delete_head(*args, **kwargs):
 3792   py_msg_queue__delete_head(sptr q) - sptr
 3793   return _runtime_swig.py_msg_queue__delete_head(*args, **kwargs)
 3794
 3795 def py_msg_queue__insert_tail(*args, **kwargs):
 3796   py_msg_queue__insert_tail(sptr q, sptr msg)
 3797   return _runtime_swig.py_msg_queue__insert_tail(*args, **kwargs)

 *Of course, the above in the gnuradio is work well.*

 I could not understand these swig output. so I write a small .i file to
 test this
   1 /* -*- c -*- */
   2 // swig2.0 -python *.i
   3 //swig2.0 -python -v -c++ *.i
   4
   5 %module(directors=1) util_swig
   6
   7 #ifdef SWIGPYTHON
   8
   9
  10 %inline %{
  11   int fun1(int q) {
  12 return q;
  13   }
  14 %}
  15
  16 #endif

 but there is one more line (see line 73  )  in the output file *.py

  71 def fun1(*args):
  72   return _util_swig.fun1(*args)
  73 fun1 = _util_swig.fun1
  74 # This file is compatible with both classic and new-style classes.

 Is it some configuration in other place lead the output to be different
 from the standard swig command ?

 Thanks  Best Regards.


We are not meant to understand the workings of SWIG...

But seriously, this is a SWIG question and not a GNU Radio question. Best
ask the SWIG developers.

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


Re: [Discuss-gnuradio] Question on incorporate different constellation indexing in gr-digital constellation objects

2014-05-11 Thread Tom Rondeau
On Sat, May 3, 2014 at 2:44 AM, Zhe Feng feng...@umich.edu wrote:

 Dear all,

 I have a question related to the constellation objects in gr-digital. After
 checking the constellation.cc, I found the constellation of 8PSK and QPSK
 class are all Grey coded. Now I want to use a 8PSK constellation with
 natural mapping.

 I know I can just modify the constellation indexing of the Grey mapped 8PSK
 class. But I don't want to change the 8psk class that gnuradio provided or
 to make a natural mapped 8psk class by copying the 8psk class and just
 modifying the indexing. Is there any clean way to get the natural mapped
 8psk class I wanted?


 Thanks!
 Best,
 Zhe


Have a read of:
http://gnuradio.org/doc/doxygen/page_digital.html

That will explain a bit more about the constellation objects. You are
perfectly safe setting up your own Constellation Object with whatever
constellation and symbol mapping you want.

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


Re: [Discuss-gnuradio] How to update the value of a variable by reading message in grc?

2014-05-11 Thread Tom Rondeau
On Sat, May 3, 2014 at 2:31 AM, Zhe Feng feng...@umich.edu wrote:

 Hi all,

 I'm working on a system with packet headers. I want to use the message
 decoded by the Packet Header Parser to update a variable.

 I knew the message can be stored in a message debug block, and be retrieved
 by using the get_message function. So I can define a get function to read
 the message in the flowgraph class, and call this get function in main
 and
 set this value to the variable I want to update. For example, I wrote a get
 function like this:

 def get_type(self):
 self.num_msg = self.msg_debug.num_messages()
 self.msg =
 pmt.to_python(self.msg_debug.get_message(self.num_msg-1))
 self.type = self.msg.get('type_tag')
 return self.type

 and call this get function in main
 type = tb.get_type()
 tb.set_variable(type)

 But as far as I know, the get function can only be called once in main,
 so
 the variable can only be updated once. Since we want to update the variable
 every time we decoded a message, I'm wondering is there a way in the grc to
 change a variable
 by the message?

 I actually have a idea in mind. Like the Header/Payload Demux block used in
 rx_ofdm, I can write a block that taking message as input, reading the PMT
 dictionary to get the value we want, and output the value. Then the desired
 variable can be updated by connecting the output of my designed block to a
 function probe.

 But this function probe only probes the port in a certain frequency, i.e.
 it
 can not catch all the updates. So I'm wondering if there is a way to update
 a predefined variable through a block every time.

 Any suggestions will be valued.

 Thanks!
 Best,
 Zhe



I think your best option is to create your own block for handling the
messages and not use the Message Debug block. As that block says, it's
designed to help us debug message passing applications; it's not meant to
be actually used as part of a real application.

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


[Discuss-gnuradio] OFDM transceiver in USRP E 110

2014-05-11 Thread Wafa Elhajhmida
Hi,

I'm working in a project which deals with implementation of an OFDM
transceiver(without any standard the purpose is to transmit et receive any
kind of datas) with gnuradio in USRP E 110.

Any idea plz to get started.

Thanks a lot :)

Best regards,

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


[Discuss-gnuradio] Announcing NEWSDR in Boston on Friday June 6

2014-05-11 Thread Golork Hameshta
*
* Fourth-Annual *
*   *
* New England Workshop on Software-Defined Radio*
*  NEWSDR 2014  *
*   *
* Friday, 6 June 2014, 8:30 AM - 5:30 PM*
* Boston University, Photonics Center, 9th Floor*
*Boston, MA, USA*
*   *
*  http://www.sdr-boston.org/   *
*

  INVITATION TO PARTICIPATE

You are cordially invited to the 2014 New England Workshop
on Software Defined Radio (NEWSDR 2014), which is the fourth
installment of an annual series of workshops organized by
the Boston SDR User Group (SDR-Boston). This year NEWSDR
will be held on the 9th Floor of the Photonics Center of
Boston University on Friday 6 June 2014.

NEWSDR 2014 also features two technical oral presentation
sessions, several technical poster presentation sessions,
several hardware  demonstrations and SDR test-beds, and an
industry panel discussion, all focusing on the latest
advances in software-defined radio and/or cognitive radio
technology.

Please forward this message to your colleagues that may be
interested in NEWSDR'14.  We hope to see you there!

KEYNOTE SPEAKER:

  * Professor Jeffrey Reed, Virginia Tech
INVITED SPEAKERS:

  * Mr. Marcus Leech, Science Radio Laboratories / Shirleys Bay Radio
Astronomy Consortium

  * Dr. Zoran Zvonar, MediaTek Wireless Inc.
SPONSORS:

  * The MathWorks Inc.
  * National Instruments / Ettus Research
  * Analog Devices Inc.
  * MediaTek Wireless Inc.
  * Boston University, Center for Information and Systems Engineering
ORAL/POSTER PRESENTATIONS:

  * Oral and poster presentations are now being solicited
  * See link at the bottom of this email to submit your abstract
online!
REGISTRATION:

  * Free with advanced online pre-registration (lunch and parking
included)
  * Space is limited, so register soon!
  * See link at the bottom of this email to register online.
ADDITIONAL INFORMATION:

The latest information of this event can be found at the following
website: http://www.sdr-boston.org/ (under Workshops  NEWSDR 2014).
REGISTRATION LINK:

https://docs.google.com/forms/d/14e4GfEDrOaJJ0OLFWwZU4B79aR_Oi2NWkrXETnm1ijY/viewform
ORAL/POSTER ABSTRACT SUBMISSION LINK:

https://docs.google.com/forms/d/1ScEEjxvik8qh0wnMKydudjnCSJI2UBkNhvKeGWnXuYU/viewform
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] OFDM transceiver in USRP E 110

2014-05-11 Thread Wafa Elhajhmida
thanks a lot for your quick response .
In fact I want to implement an application :OFDM transceiver with gnuradio
and what version of gnuradio shall I use in order to have blocks which help
me to implement OFDM transceiver channel,

Best regards


2014-05-11 21:02 GMT+02:00 Mostafa Alizadeh m.alizade...@gmail.com:

 Hi Wafa,

 I don't know what you really want but I first prefer you to have a glimpse
 at the :

 http://gnuradio.org/doc/doxygen/page_ofdm.html

 which designs an OFDM transceiver.

 best,


 On Sun, May 11, 2014 at 10:29 PM, Wafa Elhajhmida 
 wafa.elhaj.hm...@gmail.com wrote:

 Hi,

 I'm working in a project which deals with implementation of an OFDM
 transceiver(without any standard the purpose is to transmit et receive any
 kind of datas) with gnuradio in USRP E 110.

 Any idea plz to get started.

 Thanks a lot :)

 Best regards,

 Wafa

 ___
 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] OFDM transceiver in USRP E 110

2014-05-11 Thread Wafa Elhajhmida
plz did you know an open source project to get inspired of it in order to
receive/ transmit datas from USRP E110


2014-05-11 21:09 GMT+02:00 Wafa Elhajhmida wafa.elhaj.hm...@gmail.com:

 thanks a lot for your quick response .
 In fact I want to implement an application :OFDM transceiver with gnuradio
 and what version of gnuradio shall I use in order to have blocks which help
 me to implement OFDM transceiver channel,

 Best regards


 2014-05-11 21:02 GMT+02:00 Mostafa Alizadeh m.alizade...@gmail.com:

 Hi Wafa,

 I don't know what you really want but I first prefer you to have a
 glimpse at the :

 http://gnuradio.org/doc/doxygen/page_ofdm.html

 which designs an OFDM transceiver.

 best,


 On Sun, May 11, 2014 at 10:29 PM, Wafa Elhajhmida 
 wafa.elhaj.hm...@gmail.com wrote:

 Hi,

 I'm working in a project which deals with implementation of an OFDM
 transceiver(without any standard the purpose is to transmit et receive any
 kind of datas) with gnuradio in USRP E 110.

 Any idea plz to get started.

 Thanks a lot :)

 Best regards,

 Wafa

 ___
 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] OFDM transceiver in USRP E 110

2014-05-11 Thread Johannes Demel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Wafa,

the OFDM Code in GR is a very good start for data transmission. Also
in [1] in the examples folder you can find a
mimo_ofdm_transceiver.grc. It is a transceiver with which it is
possible to establish an IP connection between to computers. It is
build on top of the GR OFDM example and also uses gr-mac.

happy hacking
Johannes

[1] https://github.com/jdemel/gr-misc

On 11.05.2014 21:33, Wafa Elhajhmida wrote:
 plz did you know an open source project to get inspired of it in
 order to receive/ transmit datas from USRP E110
 
 
 2014-05-11 21:09 GMT+02:00 Wafa Elhajhmida
 wafa.elhaj.hm...@gmail.com mailto:wafa.elhaj.hm...@gmail.com:
 
 thanks a lot for your quick response . In fact I want to implement
 an application :OFDM transceiver with gnuradio and what version of
 gnuradio shall I use in order to have blocks which help me to
 implement OFDM transceiver channel,
 
 Best regards
 
 
 2014-05-11 21:02 GMT+02:00 Mostafa Alizadeh
 m.alizade...@gmail.com mailto:m.alizade...@gmail.com:
 
 Hi Wafa,
 
 I don't know what you really want but I first prefer you to have a
 glimpse at the :
 
 http://gnuradio.org/doc/doxygen/page_ofdm.html
 
 which designs an OFDM transceiver.
 
 best,
 
 
 On Sun, May 11, 2014 at 10:29 PM, Wafa Elhajhmida 
 wafa.elhaj.hm...@gmail.com mailto:wafa.elhaj.hm...@gmail.com 
 wrote:
 
 Hi,
 
 I'm working in a project which deals with implementation of an OFDM
 transceiver(without any standard the purpose is to transmit et
 receive any kind of datas) with gnuradio in USRP E 110.
 
 Any idea plz to get started.
 
 Thanks a lot :)
 
 Best regards,
 
 Wafa
 
 ___ Discuss-gnuradio
 mailing list Discuss-gnuradio@gnu.org
 mailto:Discuss-gnuradio@gnu.org 
 https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
 
 
 
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTb9ZTAAoJEO7fmkDsqywMMA8QAKNxbgJfBsY1L6OfNtXFxPyQ
ZqAkWKsjK8ff+SgmeIwylIb/BDPyeFs7eLHdirh1KOqAuY69vEJuZ3qm/57kZD6H
WOIrODjvG5inb/OAMaCkjGXKFhV02mqzBVYtiFz0LiDTOvmQ6axKZSiyfN+jqx1z
hhxbYHoa4ceEivfvLB7VEoTvKDM2jbyZMzHJE7XRLvckPFkAyATGdJls1/jwK4vp
kuMwGo5T2shLddKIKu2/6vseVHe4MVf7IksK2Pf6YyfA5RzTNa+T5BMpFZ1jD6t/
qwSiTcgPq3eUOzrr91Big3ySdGFLzs/pE2ajtNKlOdSLYyg6GG6xxarTC9ZT0wcz
5wHpoHopovBMmYiKXkS5Vm1yVoMJB0r3vTMHMK4Vbbw5nSBtdeZXoPLJ+zHI9I8e
uvk2lFeXHRROL3a4a9By5ZZqpzQTt1lEpki4vadNAo/xTSgYXtkGuJIE+GwHEkh1
IUke/P4vi42CXjzgZ56cIvPWvaQjqQWqwlSqGzM+bxERWyVyz40w0BM/dVl9tH+s
eRiJOZYN4njdxMTGs4L5xLBXAsmkWo8yyVuqS9t/j1JNU/XE7djVfVvI3YfdFYlr
KYaxCf4acH4Z26BEAgpLR0zWHIjohHeyh2RnZe5TLTSBqO/RPyl4hHadjMj+Y7Qv
VGFAZk8B+BF0gBux4cLg
=TPIV
-END PGP SIGNATURE-

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


[Discuss-gnuradio] adding channel effects to an input in GNURADIO

2014-05-11 Thread Nasi
 Hi all,

(Ubuntu 13.04, GNURADIO 3.7)

I have a question regarding the channel models. As far I know the channel 
function must be convolved (convolution) with the input to get the output like 
this:

out = conv(in,channel)

In GNURADIO I can not find this convolution or any filter to do that. I am 
looking inside this folder: gnuradio/gr-channels/lib.
How is this process done in GNURADIO?


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


[Discuss-gnuradio] Simple grc GUI question...

2014-05-11 Thread Ralph A. Schmid, dk5ras
Hi,

I need to align the audio switching network of my ham radio repeater db0fue,
and it would be nice to have some GRC GUI element that allows me to switch
between two predefined RF frequencies. Never worked with this GUI stuff, and
I guess finding it out myself probably would take too long :) Just need to
set a 1000 Hz NFM test tone generator that can be switched between 145.0375
and 431.025 MHz with touching a button on my tablet PC screen...if one could
drop the name of the GUI element that could do the job, the rest should be
simple enough :) I am using latest gnuradio 3.7.something (built from
source) and Kubuntu 13.10.

Sorry for the dumb looking question, but I would love to get this up and
running during lunch break, and drive to the repeater with a rucksack full
of RF gear this evening and get the deviation issue fixed, before people
start complaining.

Ralph.




--

Ralph A. Schmid
Mondstr. 10
90762 Fürth
+49-171-3631223
ra...@schmid.xxx
http://www.bclog.de/



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