LIBRARY
Interfaces.IntegerSignalSource
Base class for continuous Integer signal source.
Basic block for Integer sources of package Blocks.Sources. This component has one continuous Integer output signal y and two parameters (offset, startTime) to shift the generated signal.
This component extends from BlockComponents.Interfaces.IntegerSO
Usage
BlockComponents.Interfaces.IntegerSignalSource(offset=0, startTime=0)
Parameters:
| Name | Description | Units | Default value |
|---|---|---|---|
offset | Offset of output signal y | – | 0 |
startTime | Output y = offset for time < startTime | – | 0 |
Connectors
y- This connector represents an integer signal as an output from a component (IntegerOutput)
Source
dyad
"""
Base class for continuous Integer signal source.
Basic block for Integer sources of package Blocks.Sources.
This component has one continuous Integer output signal y
and two parameters (offset, startTime) to shift the generated signal.
"""
partial component IntegerSignalSource
extends BlockComponents.Interfaces.IntegerSO
"Offset of output signal y"
parameter offset::Integer = 0
"Output y = offset for time < startTime"
parameter startTime::Real = 0
relations
metadata {"Dyad": {"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}]}}
endFlattened Source
dyad
"""
Base class for continuous Integer signal source.
Basic block for Integer sources of package Blocks.Sources.
This component has one continuous Integer output signal y
and two parameters (offset, startTime) to shift the generated signal.
"""
partial component IntegerSignalSource
"Connector of Integer output signal"
y = IntegerOutput() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": 1000, "y1": 450, "x2": 1100, "y2": 560, "rot": 0}
},
"tags": []
}
}
"Offset of output signal y"
parameter offset::Integer = 0
"Output y = offset for time < startTime"
parameter startTime::Real = 0
relations
metadata {"Dyad": {"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}]}}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses