Monday, June 6, 2022

Re: A GUI label from a config file

I fixed the error, but am still unable to update the label from the config file.

On Tue, Jun 7, 2022 at 10:29 AM Anish Mangal <anishmg@umich.edu> wrote:
I wonder if it is currently possible to have the label of a GUI element come from a variable in a config file. 

For example, A QT GUI Range block's label is
str('Power: ' + ch_1_label)

Where ch_1_label is coming from a variable config block. However, when I run the flowgraph I get the error
'UnboundLocalError: Local variable referenced before assignment' error

Thoughts

--
Anish





--
Anish



No comments:

Post a Comment