Re: encode and modulation

2021-02-03 Thread Nick Foster
Among other things, the GMSK Mod block expects packed bytes. Remove the Map block and add an Unpacked to Packed block in its place. The filter parameters on the receiver are also incorrect and will filter out most of your signal. In general, every time you make a change you must view the baseband

How to set variable number of inputs/outputs in Python OOT modules

2021-02-03 Thread George Edwards
Hello, I wish to build an OOT module in Python which can take a variable number of inputs and outputs. In C++ OOT, there are the io signatures <+min_in+>, <+max_in+>, etc. which can be set to 1 and -1 to mean the input can be any number. Python does not have these, it has the in_sig and out_sig wh

Re: How to set variable number of inputs/outputs in Python OOT modules

2021-02-03 Thread Jeff Long
`gr.io_signature()` in Python works exactly the same as it does in C++. The legacy Python way (list of types) is still used in most places, but you have the option. On Wed, Feb 3, 2021 at 3:17 PM George Edwards wrote: > Hello, > > I wish to build an OOT module in Python which can take a variable

Re: Jamming the WiFi channel

2021-02-03 Thread Christophe Seguinot
Not used to the waterfall QT GUI but it would have properties derived from FFT: total span  is equal to sampling_rate "resolution" is equal to df=sampling_rate/FFT size (one frequency point at each df) not to be confused with : resolution bandwi

Re: Jamming the WiFi channel

2021-02-03 Thread Christophe Seguinot
Oups I've seen your flowgraph Sawtooth generator frequency can not exceed sampling_rate/2, but it's set to 1 THz !!!  Should be 100kHz (for 10 µs) The waterfall can not be used to obtain the measurements you get with a spectrum analyzer. wit

Re: How to set variable number of inputs/outputs in Python OOT modules

2021-02-03 Thread Gavin Jacobs
In 3.7, you would use the tag, but in 3.8 the trick to setting multiple ins/outs in the YML file, is the keyword "multiplicity". You can see the details of how to configure here: https://wiki.gnuradio.org/index.php/YAML_GRC YAML GRC - GNU Radio Star

Re: New Raspberry PI Complete OS release

2021-02-03 Thread Gavin Jacobs
Glen, I'm going through a pain similar to yours. For working examples, you can look at the source for the blocks that are part of GNU Radio. For example, the Multiply Constant block shows how to do a callback, and the Add block shows how to do variable number of inputs. Unfortunately, these bloc

Re: New Raspberry PI Complete OS release

2021-02-03 Thread Glen Langston
Thanks Gavin I’ll take a look. Best regards Glen > On Feb 3, 2021, at 6:17 PM, Gavin Jacobs wrote: > > Glen, > I'm going through a pain similar to yours. > For working examples, you can look at the source for the blocks that are part > of GNU Radio. For example, the Multiply Constant block s

Re: New Raspberry PI Complete OS release

2021-02-03 Thread Glen Langston
Hi Gavin, Thanks again. What I need is a simple function that is -not- a standard part of Gnuradio but rather can be built in 3.7, 3.8 or 3.9. that includes a c++ module I’d prefer these to not be identically named but rather be tagged with gnuradio versions, so that I can compare the differenc

Re: How to set variable number of inputs/outputs in Python OOT modules

2021-02-03 Thread George Edwards
Hi Jeff, Thanks for your response! If you can write a short code snippet to show me how to do this I would appreciate it very much. For instance, I am making an OOT Python Interpolator block which takes a number of inputs and I would like to be able to set a parameter value to tell the block how

Re: How to set variable number of inputs/outputs in Python OOT modules

2021-02-03 Thread George Edwards
Hi Gavin, Thanks for the information! Does this mean that if I wanted 3 inputs and 5 outputs and all floating point values, then inside the Python code, I simply set in_sig = [numpy.float32] out_sign = [numpy.float32] And, in the yml file I set: inputs: - domain: stream dtype: fl