Sample

Sample the continuous-time, Integer input signal and provide it as clocked output signal (clock is inferred)

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This block for Integer signals works similarly as the corresponding block for Real signals (see RealSignals.Sampler.Sample).

Analog to the corresponding Real signal block examples there exist two elementary examples, Sample1 and Sample2, for this Integer block.

Connectors (2)

u

Type: IntegerInput

Description: Connector of continuous-time, Real input signal

y

Type: IntegerOutput

Description: Connector of clocked, Real output signal

Used in Examples (2)

Sample1

Modelica.Clocked.Examples.Elementary.IntegerSignals

Example of a Sample block for Integer signals

Sample2

Modelica.Clocked.Examples.Elementary.IntegerSignals

Example of a Sample block for Integer signals with direct feed-through in the continuous-time and the clocked partition