Re: [Discuss-gnuradio] buffer allocation failing with RuntimeError: bad_alloc

2019-11-22 Thread Eamon Heaney
Still gives the same error message, only with ">gr::vmcircbuf_mmap_tmpfile: mmap (1): Cannot allocate memory" instead of " >gr::vmcircbuf_mmap_shm_open: mmap (1): Cannot allocate memory." On Thu, Nov 21, 2019 at 1:36 PM Philip Balister wrote: > Look in > > ${HOME}/.gnuradio/prefs/vmcircbuf_def

Linking .so library leads to AttributeError: 'module' object has no attribute 'blockname'

2019-11-22 Thread Massimo Isonni
Hi, I've been trying for 3 full days now to link a shared object library to my OOT module. I am trying to link the libfec.so library in order to use the reed-solomon encoding and decoding functions. As found on the internet i have made a FindFec.cmake file inside cmake/Modules as follows shown be

Re: Linking .so library leads to AttributeError: 'module' object has no attribute 'blockname'

2019-11-22 Thread Ron Economos
The Reed-Solomon encoder/decoder is already part of GNU Radio. You don't have to link an external module. Just include the FEC component. In the top level CMakeLists.txt: set(GR_REQUIRED_COMPONENTS RUNTIME FEC) Ron On 11/22/19 02:18, Massimo Isonni wrote: Hi, I've been trying for 3 full day

pulse waveform

2019-11-22 Thread sarandis. Doulgeris
Hello everyone. Can anyone tell me how to change the duty cycle of the Square Signal Source?

Re: pulse waveform

2019-11-22 Thread Kevin Reid
On Fri, Nov 22, 2019 at 12:37 PM sarandis. Doulgeris < sarandis.doulge...@gmail.com> wrote: > Can anyone tell me how to change the duty cycle of the Square Signal > Source? > The Signal Source block does not support pulse width control. You could use the Vector Source block to produce a pulse, s

Re: pulse waveform

2019-11-22 Thread Marcus D. Leech
On 11/22/2019 08:14 PM, Kevin Reid wrote: On Fri, Nov 22, 2019 at 12:37 PM sarandis. Doulgeris mailto:sarandis.doulge...@gmail.com>> wrote: Can anyone tell me how to change the duty cycle of the Square Signal Source? The Signal Source block does not support pulse width control. You

Re: pulse waveform

2019-11-22 Thread Justin Shaw
Can you use scipy.signal.square? https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.square.html it has a duty cycle argument. On Fri, Nov 22, 2019 at 8:24 PM Marcus D. Leech wrote: > On 11/22/2019 08:14 PM, Kevin Reid wrote: > > On Fri, Nov 22, 2019 at 12:37 PM sarandis. Doulger

GRC embedded Python vector support

2019-11-22 Thread Marcus D. Leech
So, I'm trying to implement and embedded Python block that handles vectors where the vector length is defined at runtime--like most blocks that take vector-length inputs. But GRC only "recognizes" the I/O signature as being vector if the dimension is of a fixed size, and invariate with respec