.Modelica.Clocked.RealSignals.Sampler.SampleVectorizedAndClocked

Information

This block is similar to the SampleClocked block. The only difference is that the continuous-time input signal is a vector: All input signals are sampled and are associated with the scalar clock signal provided via the second input.

Example

The following example has a vector as input, consisting of two different sine signals. These signals are sampled with a periodic clock of 20 ms period:

SampleVectorizedAndClocked_Model.png     SampleVectorizedAndClocked_Result.png
model simulation result

Generated at 2024-12-04T19:25:49Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos