Re: [Discuss-gnuradio] Python block help

2017-05-26 Thread Zach Morris
I'm not sure I understand the forecast(), consume() and produce() functions, but this code seems to work: This passes any part of the signal above the threshold. -- View this message in context: http://gnuradio.4.n7.nabble.com/Python-block-help-tp51706p64064.html Sent from the GnuRadio

Re: [Discuss-gnuradio] Python block help

2017-05-26 Thread Zach Morris
That worked to create a general block, but I'm still having some trouble with implementing the forecast(), consume() and produce() functions. The goal of the block is to discard elements in an input vector that are below a certain threshold, and eventually update some statistics based on the

Re: [Discuss-gnuradio] IEEE802.11 transceiver - problems sending data

2017-05-26 Thread Cristian Rodríguez
2017-05-26 7:27 GMT-05:00 Bastian Bloessl : > Hi, > > On 5/26/2017 10:57 AM, Marcus Müller wrote: > >> Hi Cristian, >> >> assuming this is a network config issue >> > > > Me too. I think that trying to ping a local address and having it routed > over interfaces might, in theory,

[Discuss-gnuradio] gr-bokehgui: Updates on Week 2

2017-05-26 Thread Kartik Patel
Hello all, We have refined the structure of the data flow of the sink in the module. Also, I started with the implementation of the time sink. For more details of week 2 and some wisdom on debugging SWIG errors, check out my recent post on my blog [1]! Kindly

[Discuss-gnuradio] [GSoC 17] DAB: updates of the week

2017-05-26 Thread Moritz Luca Schmid
Hi everyone, I just published my latest updates of my DAB project in a new blog post . This week, I created a source block for the Fast Information Channel and started to build a reception chain for the Main Service Channel (where the audio data is

Re: [Discuss-gnuradio] IEEE802.11 transceiver - problems sending data

2017-05-26 Thread Bastian Bloessl
Hi, On 5/26/2017 10:57 AM, Marcus Müller wrote: Hi Cristian, assuming this is a network config issue Me too. I think that trying to ping a local address and having it routed over interfaces might, in theory, be possible, but hard to setup. Try communicating with a WiFi card of another

Re: [Discuss-gnuradio] Python block help

2017-05-26 Thread Marcus Müller
I spoke too soon – general blocks seem to be well-supported in python. My memory might come from a time where gr_modtool didn't have a template for general blocks. So, yeah, you're right, we have the magic in place needed to let Python classes build upon the simple block (non-fixed-rate). So,

Re: [Discuss-gnuradio] IEEE802.11 transceiver - problems sending data

2017-05-26 Thread Marcus Müller
Hi Cristian, assuming this is a network config issue: On modern Linuxes, it's usually not a great idea to manipulate network config using ifconfig directly – NetworkManager tends to change things automagically if it doesn't think the link is functional (sometimes, even if it is). Please make sure