Execution periodΒΆ
For asynchronous execution the period can be specified.
The execution period is ceiled to the next multiple of the sample period of the parent of the processing block. The execution of the processing block is started when \((SampleCount \times SamplePeriod) \mod CeiledExecutionPeriod = 0\). This means that all blocks with an identical period are started in the same sample. The SamplePeriod is the sample period of the parent of the processing block.
In case of a PeriodExceeded event, the next period is skipped. The execution of the processing block is continued when \((SampleCount \times SamplePeriod) \mod CeiledExecutionPeriod = 0\).
For synchronous execution the period is always equal to the SamplePeriod of the parent. Therefore, the SamplePeriod of the parent is returned and setting the period is ignored.