LIBRARY
Interfaces.SI2BooleanSO
2 Single Input / Boolean Single Output block.
Block has two Boolean input signals u1 and u2 and one Boolean output signal y.
Usage
BlockComponents.Interfaces.SI2BooleanSO()
Connectors
u1- This connector represents a boolean signal as an input to a component (BooleanInput)u2- 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
"""
2 Single Input / Boolean Single Output block.
Block has two Boolean input signals u1 and u2 and one Boolean output signal y.
"""
partial component SI2BooleanSO
"Connector of first Boolean input signal"
u1 = BooleanInput() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": -100, "y1": 130, "x2": 0, "y2": 230, "rot": 0}
},
"tags": []
}
}
"Connector of second Boolean input signal"
u2 = BooleanInput() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": -100, "y1": 680, "x2": 0, "y2": 780, "rot": 0}
},
"tags": []
}
}
"Connector of Boolean output signal"
y = BooleanOutput() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
},
"tags": []
}
}
relations
metadata {"Dyad": {"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}]}}
endFlattened Source
dyad
"""
2 Single Input / Boolean Single Output block.
Block has two Boolean input signals u1 and u2 and one Boolean output signal y.
"""
partial component SI2BooleanSO
"Connector of first Boolean input signal"
u1 = BooleanInput() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": -100, "y1": 130, "x2": 0, "y2": 230, "rot": 0}
},
"tags": []
}
}
"Connector of second Boolean input signal"
u2 = BooleanInput() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": -100, "y1": 680, "x2": 0, "y2": 780, "rot": 0}
},
"tags": []
}
}
"Connector of Boolean output signal"
y = BooleanOutput() {
"Dyad": {
"placement": {
"diagram": {"iconName": "default", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
},
"tags": []
}
}
relations
metadata {"Dyad": {"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}]}}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses