Page tree
Skip to end of metadata
Go to start of metadata

getOutputBus()

Description

Function to retrieve the currently assigned output bus of a zone or bus.

Available in: Controller, Processor.

Return Values

Returns the Bus object of the currently assigned output bus or nil if the default routing is used.

Example

-- raise an error if no output bus is assigned
zone = this.parent:getZone()
assert(zone:getOutputBus(), "No output bus assigned. The default routing is used!")

See Also: setOutputBus, Bus

1 Comment