blockDA1ph
Digital-Analog converter 1-phase
Extends from Base.Icons.Block0 (Block icon 0).
Information
Output: p = 1 if gates[1] = true else p = 0 n = 1 if gates[2] = true else n = 0
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanInput[2] | gates | boolean {p, n}-gate | |
| Modelica.Blocks.Interfaces.RealOutput | p | scalar analog p-signal | |
| Modelica.Blocks.Interfaces.RealOutput | n | scalar analog n-signal |