Bus Creator
Generates a bus of signals of various types.
blockType: BusCreator
Path in the library:
|
Description
Block Bus Creator combines a set of input elements into a bus. Any type of elements, including other buses, can be connected to the input ports. The bus elements can be accessed using the block Bus Selector.
| The output port of the unit Bus Creator can only be connected to the input port of the unit Bus Selector |
Bus elements must have unique names. By default, each bus element inherits the name of the element connected to the block Bus Creator. If duplicate names are present, block Bus Creator adds the port number to all input element names. For elements that don’t have names, block Bus Creator generates names of the form signaln, where n — The number of the port connected to the element. You can refer to elements by name when searching for their sources or selecting elements to connect to other blocks.
| Read more about the types of tires Custom tire types. |
Ports
Output
#
OUT_1
—
output bus
bus
Details
The output bus consists of input elements.
| Data types |
|
| Complex numbers support |
Yes |
Input
#
IN
—
input element for inclusion in the bus
scalar | vector | the matrix | bus
Details
The input ports of the unit accept elements for inclusion in the bus. The number of input ports is determined by the parameter Number of inputs.
| Data types |
|
| Complex numbers support |
Yes |
Parameters
Main
# Number of inputs — number of elements in the input bus
Details
The number of input elements must be an integer greater than or equal to `2'. Increasing the value of this parameter adds empty input ports to the block. Before you simulate the model, make sure that the input element is connected to each input port.
When changing the parameter Number of inputs Click the Refresh button to update the list of items.
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
#
Output data type —
output bus data type
Inherit: auto | BusSignal
Details
Specify the data type of the output bus.
To programmatically set the value of the block parameter, use the function engee.set_param!.
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
No |
#
Output bus type —
type of output bus
Data type
Details
Describes the type of bus that the unit outputs.
You can set the type yourself or enter the name of a variable that stores a type that has already been created in the workspace.
Dependencies
To use this parameter, set for the parameter Output data type meaning BusSignal.
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |