SampleClockedSample the continuous-time, Boolean input signal and provide it as clocked output signal. The clock is provided as input signal |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This block for Boolean signals works similarly as the corresponding block for Real signals (see RealSignals.Sampler.SampleClocked).
Analog to the corresponding Real signal block example there exists an elementary example for this Boolean block.
clock |
Type: ClockInput Description: Output signal y is associated with this clock input |
|
---|---|---|
u |
Type: BooleanInput Description: Connector of continuous-time, Boolean input signal |
|
y |
Type: BooleanOutput Description: Connector of clocked, Boolean output signal |
Modelica.Clocked.Examples.Elementary.BooleanSignals Example of a Sample block for Boolean signals with direct feed-through in the continuous-time and the clocked partition |
|
Modelica.Clocked.Examples.Elementary.BooleanSignals Example of a SampleClocked block for Boolean signals |
|
Modelica.Clocked.Examples.Elementary.BooleanSignals Example of a Hold block for Boolean signals |
|
Modelica.Clocked.Examples.Elementary.BooleanSignals Example of a SubSample block for Boolean signals |
|
Modelica.Clocked.Examples.Elementary.BooleanSignals Example of a SuperSample block for Boolean signals |
|
Modelica.Clocked.Examples.Elementary.BooleanSignals Example of a ShiftSample block for Boolean signals |
|
Modelica.Clocked.Examples.Elementary.BooleanSignals Example of a BackSample block for Boolean signals |
|
Modelica.Clocked.Examples.Elementary.BooleanSignals Example of an UpSample block for Boolean signals |
Modelica.Clocked.BooleanSignals.NonPeriodic Block to translate clock signals to continuous Boolean events (each time the input clock ticks a rising Boolean output edge is produced). |