discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Performing callback function in GRC


From: Florian Schlembach
Subject: Re: [Discuss-gnuradio] Performing callback function in GRC
Date: Tue, 28 May 2013 11:31:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

Perhaps it would work better to treat the input as one variable. Use a
tuple of numbers instead. You can make a text entry widget w/ converter
type "Evaluate".

The callback would probably look more like this:
<callback>set_user_register(*\$user_reg_args)</callback>

-josh


Thanks, thats already a good solution. However, I would like to select the user_reg_addr from another Checkbox Widget (e.g. to select a specific function). Assuming an evaluated $user_reg_args by [user_reg_addr,1], it always executes the callback on an update of user_reg_addr, which is obvious. Thus, I always need to type in the value *and* the address into the text field. Although this would be acceptable, it wouldn't be so handy.

I am wondering if there is some sort of a conditional execution of the callback in the python-xml framework?





reply via email to

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