Re: How do you write to a widget from a Python file in an OOT?

2021-10-23 Thread Jeff Long
Don't try to set the GUI display from within a block, if that's what you are trying to do. If you have an entry called "I_Gain", then there should already be a set_I_GAIN() function in the top block. How to call set_I_Gain() depends on what you are trying to do. If you want to set it over the netw

Re: How do you write to a widget from a Python file in an OOT?

2021-10-23 Thread Paul Atreides
XMLRPC is your friend for this. The Python syntax is simple and it can be added to any flowgraph by placing the xmlrpc server block in the flowgraph you want to trigger and the xmlrpc client block can be used in a separate “controller flowgraph” to test the mechanism. Then you can use the genera

How do you write to a widget from a Python file in an OOT?

2021-10-23 Thread Elmore's
I had asked this question earlier in a different form but did not receive a response so I am trying a different approach using a greatly simplified flowgraph to illustrate my point. I have attached the three pertinent files. Test is an OOT module. I want to be able to trigger a callback set_IGa

Re: [USRP-users] Re: Fwd: Adding a Window block to an RFNOC graph

2021-10-23 Thread Marcus D. Leech
On 2021-10-23 5:58 p.m., Ivan Zahartchuk wrote: I want to create FPGA firmware for USRP E310 with window function but I get the error I described above. My yaml file is also attached above. I need to do windowing and FFT on the FPGA side. And understand why FFT returns zero values even when it

Re: [USRP-users] Re: Fwd: Adding a Window block to an RFNOC graph

2021-10-23 Thread Ivan Zahartchuk
I want to create FPGA firmware for USRP E310 with window function but I get the error I described above. My yaml file is also attached above. I need to do windowing and FFT on the FPGA side. And understand why FFT returns zero values even when it is configured to produce complex data. [image: imag

Re: Clearing gnuradio buffers or gnuradio buffer blocks....

2021-10-23 Thread Jeff Long
This simple answer is no, there is no way to "clear" a buffer other than for all consumers of that buffer (all blocks connected to the output of the block whose output buffer you care about) to consume all of the contents. There may still be a way to solve your problem, depending on what it is. On

Clearing gnuradio buffers or gnuradio buffer blocks....

2021-10-23 Thread sp h
Hi, dears I read the below link that describes how Gnuradio blocks work together... https://www.gnuradio.org/blog/2017-01-05-buffers/ I had a question: Is there any way to clear the buffers of the Gnuradio blocks in C++ or Python... I want in a time UHD buffer is cleared and send new data? In Gnu