Name | Description |
---|---|
SendReal | Send Real signal to bus |
SendBoolean | Send Boolean signal to bus |
SendInteger | Send Integer signal to bus |
ReceiveReal | Receive Real signal from bus |
ReceiveBoolean | Receive Boolean signal from bus |
ReceiveInteger | Receive Integer signal from bus |
Internal | Internal connector definitions only to be used from models of package BusAdaptors |
Converts an InPort connector to a signal which can be connected to the signal bus. Connect connector 'toBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the InPort connector.
block SendReal "Send Real signal to bus" Internal.OutputReal toBus; InPort inPort( final n=1); equation toBus = inPort.signal[1]; end SendReal;
Converts a BooleanInPort connector to a signal which can be connected to the signal bus. Connect connector 'toBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the BooleanInPort connector.
block SendBoolean "Send Boolean signal to bus" Internal.OutputBoolean toBus; BooleanInPort inPort( final n=1); equation toBus = inPort.signal[1]; end SendBoolean;
Converts an IntegerInPort connector to a signal which can be connected to the signal bus. Connect connector 'toBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the IntegerInPort connector.
block SendInteger "Send Integer signal to bus" Internal.OutputInteger toBus; IntegerInPort inPort( final n=1); equation toBus = inPort.signal[1]; end SendInteger;
Converts a signal from the signal bus to an OutPort connector. Use this element by connecting connector 'fromBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the OutPort connector.
block ReceiveReal "Receive Real signal from bus" Internal.InputReal fromBus; OutPort outPort( final n=1); equation fromBus = outPort.signal[1]; end ReceiveReal;
Converts a signal from the signal bus to a BooleanOutPort connector. Use this element by connecting connector 'fromBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the BooleanOutPort connector.
block ReceiveBoolean "Receive Boolean signal from bus" Internal.InputBoolean fromBus; BooleanOutPort outPort( final n=1); equation fromBus = outPort.signal[1]; end ReceiveBoolean;
Converts a signal from the signal bus to an IntegerOutPort connector. Use this element by connecting connector 'fromBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the IntegerOutPort connector.
block ReceiveInteger "Receive Integer signal from bus" Internal.InputInteger fromBus; IntegerOutPort outPort( final n=1); equation fromBus = outPort.signal[1]; end ReceiveInteger;