discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Elmore's
Subject: How do you write to a widget from a Python file in an OOT?
Date: Sat, 23 Oct 2021 20:59:14 -0400

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_IGain (which works) and write a value to the I_Gain GUI Entry (which doesn’t work). I have tried various imports, setting of variables and any other scheme that I could think of. I have not included any specific piece of code in the callback.
 
This seems like such a simple thing to do but nothing works. I get various errors or nothing is written when I eliminate the errors. I must be missing a basic point.
 
Please help me get over this hump.
 
Jim

Virus-free. www.avg.com

Attachment: test.py
Description: Binary data

Attachment: test_sr.grc.png
Description: PNG image

Attachment: test_sr_test.xml
Description: XML document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]