[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuradio-discuss
Subject:    Re: [Discuss-gnuradio] E312 GNU Radio Error
From:       Nate Temple <nate.temple () ettus ! com>
Date:       2017-12-27 19:38:39
Message-ID: 9BB77906-5709-493C-B317-CBACE404DC60 () ettus ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Isai,

This error is due to generating the Python file with a different version of GNU Radio \
than what is running on the E3xx.

To resolve the error, you need to modify the generated Python file. 

Edit the line 46 to remove the last parameter "-1" from the zeromq.psuh_sink() call:

self.zeromq_push_sink_0_0_0 = zeromq.push_sink(gr.sizeof_gr_complex, 1, \
"tcp://*:9999, 100, False, -1) 

to be:

self.zeromq_push_sink_0_0_0 = zeromq.push_sink(gr.sizeof_gr_complex, 1, \
"tcp://*:9999, 100, False) 

There is two ZMQ Sinks/lines of code that will need this change.

Another work around is to generate the Python file with the "grcc" utility on the \
E3xx.

Regards,
Nate Temple



> On Dec 27, 2017, at 11:25 AM, Isai <iroch001@ucr.edu> wrote:
> 
> Hello all,
> I had a question regarding an error I am getting when trying to implement the KB \
> example for streaming data using GNU radio. The link to the tutorial is \
> https://kb.ettus.com/Streaming_processed_data_from_the_E31x_with_GNU_Radio_and_ZMQ \
> <https://kb.ettus.com/Streaming_processed_data_from_the_E31x_with_GNU_Radio_and_ZMQ> \
> . I am currently a student working on a final project that will include the use of \
> the USRP and I very new to SDR. Any help would be greatly appreciated as I have \
> download the .grc files straight from the tutorial ran them and got the error. I \
> also built the GRC program by hand thinking maybe it would solve the problem but it \
> did not. I am unsure on how to proceed, thank you for your time and help.  
> -Isai Rocha
> <Screen Shot 2017-12-27 at 10.57.23 AM.png>
> <Screen Shot 2017-12-27 at 10.57.23 AM.png><Screen Shot 2017-12-27 at 11.12.50 \
> AM.png>_______________________________________________ Discuss-gnuradio mailing \
> list Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: \
space; line-break: after-white-space;" class=""><div class=""><div class="">Hi \
Isai,</div><div class=""><br class=""></div><div class="">This error is due to \
generating the Python file with a different version of GNU Radio than what is running \
on the E3xx.</div><div class=""><br class=""></div><div class="">To resolve the \
error, you need to modify the generated Python file.&nbsp;</div><div class=""><br \
class=""></div><div class="">Edit the line 46 to remove the last parameter "-1" from \
the zeromq.psuh_sink() call:</div><div class=""><br class=""></div><div \
class="">self.zeromq_push_sink_0_0_0 = zeromq.push_sink(gr.sizeof_gr_complex, 1, "<a \
href="tcp://*:9999" class="">tcp://*:9999</a>, 100, False, -1)&nbsp;</div><div \
class=""><br class=""></div><div class="">to be:</div><div class=""><br \
class=""></div><div class="">self.zeromq_push_sink_0_0_0 = \
zeromq.push_sink(gr.sizeof_gr_complex, 1, "<a href="tcp://*:9999" \
class="">tcp://*:9999</a>, 100, False)&nbsp;</div><div class=""><br \
class=""></div><div class="">There is two ZMQ Sinks/lines of code that will need this \
change.</div><div class=""><br class=""></div><div class="">Another work around is to \
generate the Python file with the "grcc" utility on the E3xx.</div><div class=""><br \
class=""></div><div class="">Regards,</div><div class="">Nate Temple</div><div \
class=""><br class=""></div></div><br class=""><div><br class=""><blockquote \
type="cite" class=""><div class="">On Dec 27, 2017, at 11:25 AM, Isai &lt;<a \
href="mailto:iroch001@ucr.edu" class="">iroch001@ucr.edu</a>&gt; wrote:</div><br \
class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello \
all,<div class="">I had a question regarding an error I am getting when trying to \
implement the KB example for streaming data using GNU radio. The link to the tutorial \
is <a href="https://kb.ettus.com/Streaming_processed_data_from_the_E31x_with_GNU_Radio_and_ZMQ" \
class="">https://kb.ettus.com/Streaming_processed_data_from_the_E31x_with_GNU_Radio_and_ZMQ</a> \
. I am currently a student working on a final project that will include the use of \
the USRP and I very new to SDR. Any help would be greatly appreciated as I have \
download the .grc files straight from the tutorial ran them and got the error. I also \
built the GRC program by hand thinking maybe it would solve the problem but it did \
not. I am unsure on how to proceed, thank you for your time and help.&nbsp;</div><div \
class=""><br class=""></div><div class="">-Isai Rocha</div><div class=""><span \
id="cid:ii_1609962da4cda0c0">&lt;Screen Shot 2017-12-27 at 10.57.23 \
AM.png&gt;</span><br class=""></div></div> <span \
id="cid:D370E9D9-5D31-4A60-B610-087FDC276A66">&lt;Screen Shot 2017-12-27 at 10.57.23 \
AM.png&gt;</span><span id="cid:09CF1C86-AAA6-42EE-8EC6-EAF35C0A98E9">&lt;Screen Shot \
2017-12-27 at 11.12.50 \
AM.png&gt;</span>_______________________________________________<br \
class="">Discuss-gnuradio mailing list<br class=""><a \
href="mailto:Discuss-gnuradio@gnu.org" class="">Discuss-gnuradio@gnu.org</a><br \
class="">https://lists.gnu.org/mailman/listinfo/discuss-gnuradio<br \
class=""></div></blockquote></div><br class=""></body></html>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic