RegParTrace()
Register a function depending on a parameter.
Usage
RegParTrace( path, par,
func, args )
Parameters
- path (string)
- Data base path of the node containing the parameter.
- par (string)
- Parameter name.
- func (function)
- Name of the function to be registered.
- args (tuple)
- Tuple of function arguments.
Return Value
None
Errors
- The function must already be defined.
- The parameter must exist in the data base.
- All of the arguments (path, par, func, args) must not be None.
Description
nodeEbc= nodeTmp + RS + item.name
RegParTrace( path = nodeEbc, par = 'active',
func = newItem.toggleState, args = None )