class'sample()clocked'
sample() Clocked
Extends from ModelicaReference.Icons.Information (Icon for general information packages).
Information
Samples a value according to a clock as part of the synchronous language elements.
Syntax
sample(u)
sample(u, c)
Description
The operator returns a clocked variable that has c as associated clock and has the value of the left limit of u when c is active (that is the value of u just before the event of c is triggered). If argument c is not provided, it is inferred
The return argument has the same type as the first input argument. The optional argument c is of type Clock.