[Discuss-gnuradio] Using file descriptor sink ?

2014-05-30 Thread Ruecan
Hello GR,

Can anyone please give me some hints on how to use gr-file descriptor sink
in a gnuradio python flowgraph.  

Regards,
Ruecan



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Using-file-descriptor-sink-tp48640.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] Using file descriptor sink ?

2014-05-30 Thread Ruecan
My question is let say I have this socket 

 self.blocks_socket_pdu_0_Rx = blocks.socket_pdu(UDP_CLIENT,
localhost, 4000, 1)

And then I need to associate a file descriptor to it. 
How can I have the int handler like the open() syscall would  return ?

 self.myFileDescriptor = blocks.file_descriptor_sink(2048, ??)

Ruecan.






--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Using-file-descriptor-sink-tp48640p48644.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] Using file descriptor sink ?

2014-05-30 Thread Ruecan
I mean if I try this:

 self.blocks_socket_pdu_0_Rx = blocks.socket_pdu(UDP_CLIENT, localhost,
 4000, 1) 
self.myFileDescriptor = blocks.file_descriptor_sink(2048,
open(self.blocks_socket_pdu_0_Rx, 'r+b'))

I got:
TypeError: coercing to Unicode: need string or buffer, socket_pdu_sptr found

I don't know how to get a file descriptor out of that to read it and
retrieve packets received.



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Using-file-descriptor-sink-tp48640p48647.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


[Discuss-gnuradio] Re the spectrum estimation toolbox

2014-04-09 Thread Ruecan
Hello GR,

I have multiple questions re the gr-specest toolbox:

1/ Is there any MTM estimator block for GRC

2/ Can anyone explain to me the figures in
https://www.cgran.org/wiki/SpecEst related to Cyclostationarity-Based
Modulation Classification. I am actually confused aren't they inverted (QPSK
and BPSK) because it is in the QPSK that you find components on the Im. axis
not in the BPSK. Any explanations is well appreciated.

3/ The README file talks about how to tune the update rate (sample_rate /
block_len) however I tried to decrease it to almost 15, sample rate = 32k
and block_len = 2048 and even I tried to have an FFT size 256, I always get
the plot stuck and is hardly updating. No zoom is possible after I run the
estimator.
And after I run that, I cannot Pause nor close. I just have to kill the
process. 
Am I missing something or some tuning.

Best Regards,
Ruecan



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Re-the-spectrum-estimation-toolbox-tp47483.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


[Discuss-gnuradio] Using GRC without UHD

2014-04-08 Thread Ruecan
Hello GR,

Are there any fake sink and source blocks which simulates the uhd sink and
source.
I would like to test some flow graphs but for the moment I don't have access
to the radios.

Or is there any other option, let's say using a channel block between the Tx
and the Rx.

Any hints or explanation are well appreciated.

Regards,
Ruecan



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Using-GRC-without-UHD-tp47451.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] Using GRC without UHD

2014-04-08 Thread Ruecan
Thanks.



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Using-GRC-without-UHD-tp47451p47455.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] error while running transceiver.py in 802.15.4 on GR 3.7

2014-04-07 Thread Ruecan
Hi Bastian,

Correct me if am wrong, I inserted a tagged_stream_to_pdu  block between the
clock_recovery_mm and the rxout pad sink. Isn't that the right way to run
the transceiver script. 

Regards,
Ruecan



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/error-while-running-transceiver-py-in-802-15-4-on-GR-3-7-tp47403p47421.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] error while running transceiver.py in 802.15.4 on GR 3.7

2014-04-07 Thread Ruecan
Hi Bastian,

I am talking about the examples/ieee802_15_4_PHY.grc flowgraph and in order
to generate the ieee802_15_4_PHY.py I need to get the pads connected that's
when I inserted the tagged_stream_to_pdu block as I said.

Here is a snapshot 

http://gnuradio.4.n7.nabble.com/file/n47425/Untitled.png 

Regards,
Ruecan



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/error-while-running-transceiver-py-in-802-15-4-on-GR-3-7-tp47403p47425.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


[Discuss-gnuradio] error while running transceiver.py in 802.15.4 on GR 3.7

2014-04-04 Thread Ruecan
Hello GR,

Did anyone encountered such an error while running the transceiver.py script
of 802.15.4 on GR 3.7

thread[thread-per-block[20]: block tagged_stream_to_pdu (10)]: tagged
stream does not contain a pdu_length tag

I tried adding:

self.blocks_tagged_stream_to_pdu_0 =
blocks.tagged_stream_to_pdu(blocks.float_t, *packet_len*)
self.blocks_pdu_to_tagged_stream_0_0_0 =
blocks.pdu_to_tagged_stream(blocks.byte_t, *packet_len*)

still get the same output, I don't know where in the flowgraph I am missing
those tags.

Regards,
Ruecan



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/error-while-running-transceiver-py-in-802-15-4-on-GR-3-7-tp47403.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] 802.15.4 transmitted signal structure

2014-03-26 Thread Ruecan
Hi Bastian,


Bastian Bloessl-2 wrote
 The wideband signal is the packet. Actually, it should be terminated with
 a tx_eob tag. Do you see any ‘U’s on you console? AFAIK, if the packet
 does not end with an tx_eob tag you might see the oscillator as narrow
 band signal.

Yes I see 'U's on the console. However I am not sure that the implementation
contain such element (tx_eob).
I've checked the mac.cc code but did not found something referring to a tag
or end of burst.

May be that's why I may see that narrow band signal. If may understanding is
correct that should be fixed right and I should add such tag in the packet
structure.


Bastian Bloessl-2 wrote
 Does it make sense to have the blocks.multiply_vcc in the
 transceiver.py
 flowgraph values between 0 and 1 ? 
 
 Yes, that works.

But If for example I try to use 0.5 as value (blocks.multiply_vcc(0.5)) I
got this error:
TypeError: in method 'multiply_cc_make', argument 1 of type 'size_t'

Ruecan



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/802-15-4-transmitted-signal-structure-tp47199p47223.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


[Discuss-gnuradio] How to capture video frame over the air

2014-03-26 Thread Ruecan
Hello GR,

I tried to capture some TV broadcast video frames using

rx_samples_to_file --args addr=myusrp --file myfile.dat --time 120 --freq
450.75e6 --rate 5e6 --gain 30 

Then I tried to play back that file using :
tx_samples_from_file --args addr=myusrp --file=myfile --type short --rate
6.25e6 --freq 485e6 --gain 20 –repeat

However I was not able to get anything on the TV. Am I missing the center
frequency for the capture (I tried to capture WUSA-HD)

I think the TV is already tuned to listen to 485e6 but I am not sure. Am I
missing something or may be I should do automatic tuning for the TV to be
sure to listen to 485e6 Hz.

Regards,
Ruecan



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/How-to-capture-video-frame-over-the-air-tp47242.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] How to capture video frame over the air

2014-03-26 Thread Ruecan
Thank you Ron for this explanation.



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/How-to-capture-video-frame-over-the-air-tp47242p47252.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] Pad block in ieee802_15_4_mac block

2014-03-25 Thread Ruecan
Thank you Bastian,

I was about to try the transceiver example provided but I got an error from
the message strobe block in grc.

Param - Message PMT(msg):
Value pmt.intern(Hello World!\n) cannot be evaluated:
'module' object has no attribute 'intern'

that message is in utils/udp.py so how can I redirect that message to the
message strobe (if my understanding is correct)

Regards,
Ruecan



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Pad-block-in-ieee802-15-4-mac-block-tp47167p47190.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] Pad block in ieee802_15_4_mac block

2014-03-25 Thread Ruecan
Bastian Bloessl-2 wrote
 I never got that error, but it looks like a problem of your GNU Radio
 installation. What version do you have installed and how did you install
 it?

I am running GNU Radio 3.65, may be that block is not yet in the release.


Bastian Bloessl-2 wrote
 that message is in utils/udp.py so how can I redirect that message to the
 message strobe (if my understanding is correct)
 
 I don’t get that, but it doesn’t sound right. The udp.py script is an
 example how you can interface the flow graph from python. So if you want
 to send a message (or packet) with the transceiver you can
 
 - use a message strobe block
 - use netcat and send something to the socket PDU block of the flow graph
 - use the python script and send something to the socket PDU block of the
 flow graph

Still related to pmt.intern issue: I was looking for where that message
comes from so I find it in utils/udp.py But I may be wrong, means the
message strobe block does the job, and the text inside of it is the text to
be broadcasted. 




--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Pad-block-in-ieee802-15-4-mac-block-tp47167p47194.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


[Discuss-gnuradio] 802.15.4 transmitted signal structure

2014-03-25 Thread Ruecan
Hello GR,

Is there any one who has monitored the signal generated by transceiver.py
related to the 802.15.4 implementation. I want to understand the meaning its
structure.

I find out that it consist of a bursty transmission of a signal compound of
11 to 12 msec of wide-band signal followed by a narrower 400 Khz signal that
lasts around 10 msec and is 20 db stronger then the wide-band signal.

* Another unrelated point: I need to decrease at minimum the signal
transmitted, if I choose the gain at transmission at 0 dB. Is there a way to
even go beyond that:
Does it make sense to have the blocks.multiply_vcc in the transceiver.py
flowgraph values between 0 and 1 ? or that have nothing to do with
decreasing the magnitude of the signal transmitted ?

Regards,
Ruecan  



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/802-15-4-transmitted-signal-structure-tp47199.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


[Discuss-gnuradio] listen to ports issue using GNU Radio

2014-03-24 Thread Ruecan
Hello GR,

I have an issue capturing a word that I broadcast from transceiver A to
transceiver B.
I use GR 3.65 with two usrp N210 on a Centos machine.

Whenever I run transceiverA and transceiverB scripts on the same machine it
does not capture the word I am sending and I got no error displayed.

Here is the detail of the implementation:

TransceiverA script has inter alia:
* udp_Server (socket_pdu block) listening to 0.0.0.0 port 52001
* udp_client (socket_pdu block) listening to localhost port 3334
* socket listening on 127.0.0.1 52001 (from where I broadcast the word I
transmit)

TransceiverB script has inter alia:

* udp_Server (socket_pdu block) listening to 0.0.0.0 port 52002
* udp_client (socket_pdu block) listening to localhost port 
* ncat -u -l -p  == here I got no word !

The point is that I tried running scripts on two different machines
everything went good. 
Any help, hint or suggestion is appreciated.

Regards,
Ruecan



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/listen-to-ports-issue-using-GNU-Radio-tp47160.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


[Discuss-gnuradio] Pad block in ieee802_15_4_mac block

2014-03-24 Thread Ruecan
Hello GR,

How can I have a file source connected as a pad source to an hierarchical
block ?
More precisely, I have for example the hierarchical block ieee802_15_4_mac,
and instead of feeding the block in input with a socket pdu block I want to
connect it to a file source and broadcast a word,

#self.msg_connect(self.gr_socket_pdu_0, pdus, self.ieee802_15_4_mac_0,
app in) # this is OK
self.msg_connect(self.blocks_file_source_0, source ,
self.ieee802_15_4_mac_0, app in) #this is not OK 

Regards,



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Pad-block-in-ieee802-15-4-mac-block-tp47166.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


[Discuss-gnuradio] Pad block in ieee802_15_4_mac block

2014-03-24 Thread Ruecan
Hello GR, 

How can I have a file source connected as a pad source to an hierarchical
block ? 
More precisely, I have for example the hierarchical block ieee802_15_4_mac,
and instead of feeding the block in input with a socket pdu block I want to
connect it to a file source and broadcast a word, 

#self.msg_connect(self.gr_socket_pdu_0, pdus, self.ieee802_15_4_mac_0,
app in) # this is OK 
self.msg_connect(self.blocks_file_source_0, source ,
self.ieee802_15_4_mac_0, app in)  ?? #this is not OK 

And the same in the receive path, I would like to connect a file sink to
dump to. self.msg_connect(self.ieee802_15_4_mac_0, app out,
self.blocks_file_sink_0, sink) ?? 

Regards,



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Pad-block-in-ieee802-15-4-mac-block-tp47167.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] Accessing gr_uhd_usrp_source/sink methods

2014-03-21 Thread Ruecan
By the way I am working with GR 3.6.5, 
The precise question is as following, If I am instantiating a usrp_sink and
usrp_source from inside my python script and I want at some point in time
modify one of its proprieties from inside my C++ custom block, would that
make sense and work ?

Or I must in any case declare the uhd_source and uhd_sink AND modify their
proprieties in the same custom block (Not declare instantiate it Python and
modify in run time in C++) ?



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Accessing-gr-uhd-usrp-source-sink-methods-tp47116p47117.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] GRC issues with GNU Radio 3.7

2014-03-14 Thread Ruecan
Thank you Sebastian for your reply,

I pulled your grc fixing, proceed to a clean make then did everything again
however I got some error:

[ 29%] Building CXX object
gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/message_strobe_random_impl.cc.o
In file included from
/raid/nae/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:27:
/raid/nae/gnuradio/gr-blocks/lib/message_strobe_random_impl.h:48: error:
‘mt19937’ in namespace ‘boost::random’ does not name a type
/raid/nae/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc: In
constructor
‘gr::blocks::message_strobe_random_impl::message_strobe_random_impl(pmt::pmt_t,
gr::blocks::message_strobe_random_distribution_t, float, float)’:
/raid/nae/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:57: error:
class ‘gr::blocks::message_strobe_random_impl’ does not have any field named
‘d_rng’
/raid/nae/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc: In member
function ‘void gr::blocks::message_strobe_random_impl::update_dist()’:
/raid/nae/gnuradio/gr-blocks/lib/message_strobe_random_impl.cc:89: error:
‘d_rng’ was not declared in this scope
make[2]: ***
[gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/message_strobe_random_impl.cc.o]
Error 1
make[1]: *** [gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/all] Error 2

The point is those errors I got them before so to fix them (at that time) I
just went to someone's gnuradio branch, clone it and it did work for my
machine instead of the master branch of gnuradio which issue thoses errors.
Actually, I had already stated that matter here, but issue was not fixed:
http://gnuradio.4.n7.nabble.com/Issue-while-installing-GR-3-7-td46435.html#a46466

Regards,
Naceur



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/GRC-issues-with-GNU-Radio-3-7-tp46935p46962.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


[Discuss-gnuradio] GRC issues with GNU Radio 3.7

2014-03-13 Thread Ruecan
Hello GR,

I just installed GR 3.7 on my Centos 6.5 machine, everything I done is ok (I
set the env. var. after accordingly). 
But when I run gnuradio-companion I got a bunch of errors appearing in the
terminal:

*Error: 'DrawingArea' object has no attribute 'set_can_focus'*
 Failure
Traceback (most recent call last):
  File
~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/MainWindow.py,
line 188, in new_page
file_path=file_path,
  File
~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/NotebookPage.py,
line 82, in __init__
self.drawing_area = DrawingArea(self.get_flow_graph())
  File
~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/DrawingArea.py,
line 66, in __init__
self.set_can_focus(True)
*AttributeError: 'DrawingArea' object has no attribute 'set_can_focus'*
Traceback (most recent call last):
  File
~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/ActionHandler.py,
line 357, in _handle_action
self.main_window.reports_scrolled_window.set_visible(visible)
AttributeError: 'gtk.ScrolledWindow' object has no attribute 'set_visible'
Traceback (most recent call last):
  File
~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/ActionHandler.py,
line 361, in _handle_action
self.main_window.btwin.set_visible(visible)
AttributeError: 'BlockTreeWindow' object has no attribute 'set_visible'
Traceback (most recent call last):
  File
~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/ActionHandler.py,
line 489, in _handle_action
Actions.ERRORS_WINDOW_DISPLAY.set_sensitive(not
self.get_flow_graph().is_valid())
  File
~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/MainWindow.py,
line 304, in get_flow_graph
return self.get_page().get_flow_graph()
*AttributeError: 'NoneType' object has no attribute 'get_flow_graph'
*^CTraceback (most recent call last):
  File ~/gnuradio-3.7_install/bin/gnuradio-companion, line 72, in module
ActionHandler(args, Platform())
  File
~/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/grc/gui/ActionHandler.py,
line 72, in __init__
gtk.main()

And the window of grc appears but empty nothing inside just gray. 
BTW the menu bar appears but the blocks, output and the main windows does
not.
Trying to click close or click on any button of the menu bar give no result.
One need to close the graph by Ctl+C in the terminal.

Any hints or help is well appreciated.

Regards,
Ruecan



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/GRC-issues-with-GNU-Radio-3-7-tp46935.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


[Discuss-gnuradio] Sending text command from TransceiverA to transceiverB

2014-03-10 Thread Ruecan
Hi GR,

I have two transceivers running on two machines (TransceiverA flowgraph and
TransceiverB flowgraph) and I want at some point in time send a text command
from transceiver A containing the value of a parameter (gain) to configure
transceiver B.

I have tried to call again the whole initial transceiverA flowgraph from
within the one running but this time the signal source is the text of the
command that I am about to send
BUT when it calls it the flow-graph freezes and no longer respond, 
When I Ctl-C I got Segmentation fault (core dumped)

I am pretty sure there is another elegant and functional way to code that. 
Any hints or help is appreciated.  

Regards,



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Sending-text-command-from-TransceiverA-to-transceiverB-tp46840.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


[Discuss-gnuradio] Issues installing gr-ieee802.15.4

2014-02-24 Thread Ruecan
Hii Gnu Radio,

I have two installations of GR 3.65 and GR 3.7,
and I installed the project 'gr-ieee802-15-4' using  
cmake -v -DCMAKE_INSTALL_PREFIX=~/gnuradio-3.7_install/
then make and make install anyways when trying to execute one of the python
scripts

I got the error:

Traceback (most recent call last):
  File transceiver.py, line 27, in module
import gnuradio.ieee802_15_4 as gr_ieee802_15_4
ImportError: No module named ieee802_15_4

I have included in my ~/.bashrc the following:

export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GNURADIO_DIR/lib64:$UHD_DIR/lib64:$HOME/gr-ieee802-15-4_GR_3.7/build/swig/:$HOME/gnuradio-3.7_install/lib64/python2.7/site-packages/gnuradio/ieee802_15_4/:$HOME/gr-ieee802-15-4_GR_3.65/build/swig:$HOME/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/ieee802_15_4/

export
PYTHONPATH=$PYTHONPATH:$HOME/gnuradio-3.7_install/lib64/python2.7/site-packages:$HOME/gnuradio-3.7_install/lib64/python2.7/site-packages/ieee802_15_4/:$HOME/gnuradio-3.7_install/lib64/python2.6/site-packages:$HOME/gnuradio-3.7_install/lib64/:$HOME/gnuradio-3.7_install/lib64:$HOME/gnuradio-3.7_install/lib64/python2.7/site-packages/ieee802_15_4/:$HOME/gr-ieee802-15-4_GR_3.7/build/python:$HOME/gnuradio-3.7_install/lib64/python2.6/site-packages/gnuradio/ieee802_15_4/

Still got the error.

Regards,
Ruecan



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Issues-installing-gr-ieee802-15-4-tp46518.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] Issues installing gr-ieee802.15.4

2014-02-24 Thread Ruecan
Thanks Bastian,

In another machine I tried to install it with GR 3.7, 
but in the cmake I got this error:

CMake Error at
~/gnuradio-3.7_install/lib64/cmake/gnuradio/GnuradioConfig.cmake:29 (list):
  list sub-command INSERT requires at least three arguments.
Call Stack (most recent call first):
  CMakeLists.txt:88 (find_package)

.

-- Configuring incomplete, errors occurred!

Any hints please.



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Issues-installing-gr-ieee802-15-4-tp46518p46524.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] Issue while installing GR 3.7

2014-02-21 Thread Ruecan
Thanks Marcus,

Actually the boost version I have is 1.54.0.

Is this ok ?



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Issue-while-installing-GR-3-7-tp46435p46451.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] Include guard bug

2014-02-21 Thread Ruecan
I just pulled the changes then did make but get the same error.

I am not so familiar with git. After pulling your bugfix, do I need to make
clean, remove the CMakeCache then do cmake again then make or am I missing
some part of the process.




--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Issue-while-installing-GR-3-7-tp46435p46457.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] Include guard bug

2014-02-21 Thread Ruecan
Guys,
I re make from clean but still got the same error.
PS: after pulling the bugfix, do I need to execute any other command, other
than 

*git pull https://github.com/marcusmueller/gnuradio.git
master_fix_message_strobe_random_ifndef *

Tim, I did not get what you mean by 
Tim O'Shea wrote
 changing headers to use #pragma once 





--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Issue-while-installing-GR-3-7-tp46435p46461.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


Re: [Discuss-gnuradio] Include guard bug

2014-02-21 Thread Ruecan
Do you think that if I go back and try to install GR 3.7.0 instead, it may
work ?



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Issue-while-installing-GR-3-7-tp46435p46466.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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


[Discuss-gnuradio] Issue with the installation of GNU Radio

2014-02-12 Thread Ruecan
Hi GR,

I have installed GR 3.7 everything went ok, except that I forgot to set the
PKG_CONFIG_PATH env. var.

with 
export
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:gnuradio_install_dir/lib/pkgconfig:uhd_install_dir/lib/pkgconfig

I just modified gr-uhd/lib/usrp_source_impl.cc and
gr-uhd/lib/usrp_sink_impl.cc.
afterwhat I make then make install then got 

CMake Error at cmake_install.cmake:36 (FILE):
  file cannot create directory: /usr/local/lib64/pkgconfig.  Maybe need
  administrative privileges.

My question is to apply my modifications on gr-uhd and make install, do I
need to rm CMakeCache and make clean and cmake, make, make install Or I
should do that the whole GNU Radio to take into account the PKG_CONFIG_PATH
env. var. ?

Regards,



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Issue-with-the-installation-of-GNU-Radio-tp46325.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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