blockShiftSample
Shift the clocked Boolean input signal by a fraction of the last interval 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.ShiftSample).
Analog to the corresponding Real signal block example there exists an elementary example for this Boolean block.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Shift first clock activation for 'shiftCounter/resolution*interval(u)' seconds | |||
| Integer | shiftCounter | 0 | Numerator of shifting formula |
| Integer | resolution | 1 | Denominator of shifting formula |
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 faster than clock of u) |