WOLFRAM SYSTEM MODELER

Sample1

Example of a Sample block for Boolean signals

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1"]
Out[1]:=

Information

Elementary example for the documentation of block Modelica_Synchronous.BooleanSignals.Sampler.Sample.

Components (4)

assignClock

Type: AssignClock

Description: Assigns a clock to a clocked Boolean signal

periodicClock

Type: PeriodicExactClock

Description: Generates a periodic clock signal with a period defined by an Integer number with resolution

step

Type: BooleanStep

Description: Generate step signal of type Boolean

sample

Type: Sample

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