[Discuss-gnuradio] how to convert python file in dat file

2013-04-29 Thread Omer Omer
hi, i wantto convert python file into dat file  in order to load in matlab.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] how to Sense the spectrum bycomparing calculated energy with threshold

2013-04-08 Thread Omer Omer
hi,i am working on the project spectrum sensing by using energy detection. 
first i insert a block of usrp then i insert the block of stream to vector 
,then i have taken fft of that and then i have taken the magnitude square 
block.i yhs way i calaculte energy.now i have to compare this energy with 
predetermined threshold.so what is easier way to compare energy with threshold 
in order to sense the spectrum 
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] adding python block to gnuradio

2013-03-14 Thread Omer Omer






The best way to mke  a new block is by following 
 tutorial here: 
http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules.
you can easily make duumy block from this tutorial. i also made square dummy 
block from this tutorial.by making your block available in gnuardio you have to 
create the xml files whose procedure is also given in this tutorial.
--- On Wed, 3/13/13, Mohammed Ramadan  wrote:


From: Mohammed Ramadan 
Subject: [Discuss-gnuradio] adding python block to gnuradio
To: discuss-gnuradio@gnu.org
Date: Wednesday, March 13, 2013, 10:57 AM






i made python block and want to add it to module in gnuradio, i open the 
directory of the module and use gr_motool add -t source filename.py. the tool 
created the .cc file and .h but as templates no processing done in the files.
so can anyone advise me to add python block?

-Inline Attachment Follows-


___
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] AttributeError: 'Block' object has no attribute 'horizontal_label'

2013-02-27 Thread Omer Omer
when i run my own block in gnuradio-companion square_ff ,the following error i 
get 
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py", 
line 307, in _handle_action
    self.get_flow_graph().update()
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/FlowGraph.py", 
line 312, in update
    self.create_labels()
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/Element.py", 
line 64, in create_labels
    for child in self.get_children(): child.create_labels()
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/Block.py", line 
134, in create_labels
    markups = [param.get_markup() for param in self.get_params() if 
param.get_hide() not in ('all',
 'part')]
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/python/Param.py", 
line 209, in get_hide
    lambda p: ' '.join([p._type, p._nports]), self.get_parent().get_ports())
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/python/Param.py", 
line 209, in 
    lambda p: ' '.join([p._type, p._nports]), self.get_parent().get_ports())
TypeError: sequence item 0: expected string, instance found
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/DrawingArea.py", line 
132, in _handle_window_expose
    self._flow_graph.draw(gc, self._pixmap)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/FlowGraph.py", 
line 281, in draw
    element.draw(gc, window)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/Block.py", line 
185, in
 draw
    window.draw_drawable(gc, self.horizontal_label, 0, 0, 
x+BLOCK_LABEL_PADDING, y+(self.H-self.label_height)/2, -1, -1)
AttributeError: 'Block' object has no attribute 'horizontal_label'
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/DrawingArea.py", line 
132, in _handle_window_expose
    self._flow_graph.draw(gc, self._pixmap)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/FlowGraph.py", 
line 281, in draw
    element.draw(gc, window)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/Block.py", line 
185, in draw
    window.draw_drawable(gc, self.horizontal_label, 0, 0, 
x+BLOCK_LABEL_PADDING, y+(self.H-self.label_height)/2, -1, -1)
AttributeError: 'Block' object has no attribute 'horizontal_label'
Traceback (most recent call last):
  File
 "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/DrawingArea.py", line 
132, in _handle_window_expose
    self._flow_graph.draw(gc, self._pixmap)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/FlowGraph.py", 
line 281, in draw
    element.draw(gc, window)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/Block.py", line 
185, in draw
    window.draw_drawable(gc, self.horizontal_label, 0, 0, 
x+BLOCK_LABEL_PADDING, y+(self.H-self.label_height)/2, -1, -1)
AttributeError: 'Block' object has no attribute 'horizontal_label'
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/DrawingArea.py", line 
132, in _handle_window_expose
    self._flow_graph.draw(gc, self._pixmap)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/FlowGraph.py", 
line 281, in
 draw
    element.draw(gc, window)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/Block.py", line 
185, in draw
    window.draw_drawable(gc, self.horizontal_label, 0, 0, 
x+BLOCK_LABEL_PADDING, y+(self.H-self.label_height)/2, -1, -1)
AttributeError: 'Block' object has no attribute 'horizontal_label'
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/DrawingArea.py", line 
132, in _handle_window_expose
    self._flow_graph.draw(gc, self._pixmap)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/FlowGraph.py", 
line 281, in draw
    element.draw(gc, window)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/Block.py", line 
185, in draw
    window.draw_drawable(gc, self.horizontal_label, 0, 0, x+BLOCK_LABEL_PADDING,
 y+(self.H-self.label_height)/2, -1, -1)
AttributeError: 'Block' object has no attribute 'horizontal_label'
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/DrawingArea.py", line 
132, in _handle_window_expose
    self._flow_graph.draw(gc, self._pixmap)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/FlowGraph.py", 
line 281, in draw
    element.draw(gc, window)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/Block.py", line 
185, in draw
    window.draw_drawable(gc, self.horizontal_label, 0, 0, 
x+BLOCK_LABEL_PADDING, y+(self.H-self.label_height)/2, -1, -1)
AttributeError: 'Block' object has no attribute 'horizontal_label'
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/DrawingArea.py", line 
132, in
 _handle_window_expose
    self._flow_graph.d

[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square_ff'.

2013-02-24 Thread Omer Omer
hi everyone,i have made  my own block in gnuradio name square_ff 
from out of tree module.i hsvr successfully interfaced it 
with gnuradio.but problem is when i want to use that block in gnuradio 
then the following error i get in terminal.
AttributeError: 'module' object has no attribute 'square_ff'.
kindly help me 
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square_ff'.

2013-02-22 Thread Omer Omer
hi everyone,i have made  my own block in gnuradio name square_ff from out of 
tree module.i hsvr successfully interfaced it with gnuradio.but problem is when 
i want to use that block in gnuradio then the following error i get in terminal.
AttributeError: 'module' object has no attribute 'square_ff'.
kindly help me
 
 ___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] how to make my own block in gnuradio

2013-02-21 Thread Omer Omer
hi,i have a task of making my own block in gnuradio.i have done how to 
create a module from gnurdio website ,but i do not understand how to 
edit the code in .cc and .h file.please help me
reply soon___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] how to make my own block in gnuradio

2013-02-21 Thread Omer Omer
hi,i have a task of making my own block in gnuradio.i have done how to create a 
module from gnurdio website ,but i do not understand how to edit the code in 
.cc and .h file.please help me
reply soon

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


[Discuss-gnuradio] how to install matlab in ubuntu

2013-02-07 Thread Omer Omer
hi,can someone tell me how to install matlab in ubuntu.reply soon.thanks.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] installation problem of GNURADIO on ubuntu 12.04

2013-01-30 Thread Omer Omer
hi, i have a system PC OF 512 MB RAM and 1.8 GHz processor and 40 GB hard 
disk.My system halts by writing the make command of making GNURADIO and it 
reaches at 40% and then system gets halts.kindly tell me what will be solution 
of this problem.should I Increase my RAM?
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] how to get bootable cd of gnuradio

2012-09-26 Thread Omer Omer
hi everyone.tell me how to get the bootable cd of gnuradio .is there available 
or not.please reply me sooner___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio