blockSubSample
Sub-sample the clocked Boolean input signal and provide it as clocked output signal
Information
This block for Boolean signals works similarly as the corresponding block for Real signals (see RealSignals.Sampler.SubSample).
Analog to the corresponding Real signal block example there exists an elementary example for this Boolean block.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | inferFactor | true | = true, if sub-sampling factor is inferred |
| Integer | factor | 1 | Sub-sampling factor >= 1 (ignored if inferFactor=true) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanInput | u | Connector of clocked, Boolean input signal | |
| Modelica.Blocks.Interfaces.BooleanOutput | y | Connector of clocked, Boolean output signal (clock of y is slower as clock of u) |