LIBRARY
Interfaces.PartialBooleanSISO
Partial block with 1 input and 1 output Boolean signal.
Block has one Boolean input and one Boolean output signal with a 3D icon (e.g., used in Blocks.Logical library).
Usage
BlockComponents.Interfaces.PartialBooleanSISO()
Connectors
u- This connector represents a boolean signal as an input to a component (BooleanInput)y- This connector represents a boolean signal as an output from a component (BooleanOutput)
Source
dyad
"""
Partial block with 1 input and 1 output Boolean signal.
Block has one Boolean input and one Boolean output signal
with a 3D icon (e.g., used in Blocks.Logical library).
"""
partial component PartialBooleanSISO
"Connector of Boolean input signal"
u = BooleanInput() {
"Dyad": {
"placement": {
"icon": {"iconName": "input", "x1": -100, "y1": 450, "x2": 0, "y2": 550, "rot": 0},
"diagram": {"iconName": "input", "x1": -100, "y1": 450, "x2": 0, "y2": 550, "rot": 0}
}
}
}
"Connector of Boolean output signal"
y = BooleanOutput() {
"Dyad": {
"placement": {
"icon": {"iconName": "output", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0},
"diagram": {"iconName": "output", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
}
}
}
relations
metadata {"Dyad": {"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}]}}
endFlattened Source
dyad
"""
Partial block with 1 input and 1 output Boolean signal.
Block has one Boolean input and one Boolean output signal
with a 3D icon (e.g., used in Blocks.Logical library).
"""
partial component PartialBooleanSISO
"Connector of Boolean input signal"
u = BooleanInput() {
"Dyad": {
"placement": {
"icon": {"iconName": "input", "x1": -100, "y1": 450, "x2": 0, "y2": 550, "rot": 0},
"diagram": {"iconName": "input", "x1": -100, "y1": 450, "x2": 0, "y2": 550, "rot": 0}
}
}
}
"Connector of Boolean output signal"
y = BooleanOutput() {
"Dyad": {
"placement": {
"icon": {"iconName": "output", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0},
"diagram": {"iconName": "output", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
}
}
}
relations
metadata {"Dyad": {"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}]}}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses