WOLFRAM SYSTEM MODELER
Sample2Example of a Sample block for Boolean signals with direct feed-through in the continuous-time and the clocked partition |
SystemModel["Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2"]
Elementary example for the documentation of block Modelica_Synchronous.BooleanSignals.Sampler.Sample.
sample1 |
Type: SampleClocked Description: Sample the continuous-time, Boolean input signal and provide it as clocked output signal. The clock is provided as input 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 |
|
hold |
Type: Hold Description: Hold the clocked, Boolean input signal and provide it as continuous-time output signal (zero order hold) |
|
sample2 |
Type: Sample Description: Sample the continuous-time, Boolean input signal and provide it as clocked output signal (clock is inferred) |
|
integerConstant |
Type: BooleanConstant Description: Generate constant signal of type Boolean |
|
xor |
Type: Xor Description: Logical 'xor': y = u1 xor u2 |
|
xor1 |
Type: Xor Description: Logical 'xor': y = u1 xor u2 |