COMBINE# combines parameter values from a recursive Telitab set or group of objects in a single Telitab set
Arguments
The function
EMotors# = COMBINE#(@Heatbalance, "NullString", "EMotor", "ID$", "PowerReq", "Power", "Etha", "Connection$")
returns a Telitab String containing the list of electric motors (EMotor objects) in the object tree Heatbalance, so including the values of the parameters "ID$", "PowerReq", "Power", "Etha" and "Connection$".
If the electric motors in the system are contained in objects with different names, indicating types of motors, e.g. EMOTORDC and EMOTORAC, these objects can be provided with an @EMOTOR attribute in its data slot that would make the expression:
EMotors# = COMBINE#(@Heatbalance, "EMOTOR", "NullString", "ID$", "PowerReq", "Power", "Etha", "Connection$")
These attributes are user defined and no standard Quaestor attributes. The result could for example be:
The function is not started before Heatbalance$ is created, so this can be used to make sure that the COMBINE# function is started at the end of de process, when all parameters to be combined are known by the system.
Quick links: COMBINE#