RotationalSampleSimple example of a rotational clock with variable trigger interval and switching rotation-direction. |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Simple example of a rotational clock with variable trigger interval and switching direction of rotation. The input rotation is just sinusoidal, switching direction every half second. The trigger interval is changed with the same pace; every half second it is doubled or halved respectively. The generated clocked signals are therefore:
.angle_input |
Type: Sine |
|
---|---|---|
trigger_interval_input |
Type: Pulse |
|
rotationalClock |
Type: RotationalClock |
|
sample_angle |
Type: SampleClocked |