Basic block in EPY block?

2021-01-22 Thread Steffen Kiel
Hi all. Following the python example at https://wiki.gnuradio.org/index.php/Types_of_Blocks it should be possible to create basic blocks in python, but when trying to import the gnuradio.extras module, it gives an error saying it doesn't exist: Can't interpret source code: No module named 'gnu

Play sound once when triggered.

2020-12-14 Thread Steffen Kiel
Hello all. I would like to implement this feature where i am able to play out a short sound, but only once. The problem with the "Wav file source" block is that if you disable repeat, it only plays once when the GUI starts. There is as far as i know, no way to re-trigger it? So far i have crea

Re: PNG image sink error

2020-12-14 Thread Steffen Kiel
Hi Marcus. I am trying to use the "PNG Image Sink" QT block, with an "Image file source" as input for it. Am I not understanding this correctly? //Steffen This email has been scanned by BullGuard antivirus protection. For more info visit www.bullguard.com

PNG image sink error

2020-12-11 Thread Steffen Kiel
Hello all! When trying to display an image on the GUI in GRC, i get the following error: ... File "C:\Program Files\GNURadio-3.7\gr-python27\Lib\site-packages\PIL\Image.py", line 385, in _getdecoder raise IOError("decoder %s not available" % decoder_name) IOError: decoder zip not available

Error running GNU radio V. 3.8.1 on windows 10

2020-08-11 Thread Steffen Kiel
Hello! I am trying to run the newest stable release of gnu radio on windows, and i am running into some issues which im not sure how to fix. Here is the error log when im trying to start the application: "setting gnuradio environment WARNING:gnuradio.grc.core.platform:Slow YAML loading (libyaml

Error running GNU radio V. 3.8.1 on windows 10

2020-08-11 Thread Steffen Kiel
Hello! I am trying to run the newest stable release of gnu radio on windows, and i am running into some issues which im not sure how to fix. Here is the error log when im trying to start the application: "setting gnuradio environment WARNING:gnuradio.grc.core.platform:Slow YAML loading (libyaml

Sv: Change Variable value from an python block or module?

2020-03-25 Thread Steffen Kiel
don't. Instead, the appropriate way of dealing with this would be giving the signal source a message port, on which it accepts new values via message. Then, from your Python or C++ block, just send a message. Best regards, Marcus On Wed, 2020-03-25 at 14:57 +, Steffen Kiel wrote: > Hello

Change Variable value from an python block or module?

2020-03-25 Thread Steffen Kiel
Hello! I have a signal source whose frequency input is referenced to a variable. Is it possible to access this variables value and set it from a python block or python module? BR, Steffen

Sv: Accessing top_block from an embedded python block?

2020-03-07 Thread Steffen Kiel
uts that i can connect to the block? //Steffen Fra: Derek Kozel Sendt: 5. marts 2020 16:34 Til: Steffen Kiel ; discuss-gnuradio@gnu.org Emne: Re: Accessing top_block from an embedded python block? Hi Steffen, You're missing that the embedded Python Bl

Accessing top_block from an embedded python block?

2020-03-05 Thread Steffen Kiel
Hello! I am new to using GNU radio, and i would like to implement some custom features. I would like to access functions like the get_push_button to read its state, or read a message box etc. Is this even possible from the epy block? I could also implement this directly in the top_block.py file,