ReSampleClock
This block resamples the period and the offset when the block is connected to a sample clock or a resample block.
![]()
Library
Activate/ActivationOperations
Description
The ResampleClock block resamples the period and the offset when the block is connected to a sample clock or a resample block. The resampled events are synchronous with the incoming events.
Period is evlauated as: ResampledPeriod=Period*down/up
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
up | Upsampling factor | Divide the period with a up sampling factor. | Scalar | |
down | Downsampling factor | Multiplied the period with a down sampling factor. | Scalar |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
Port 1 | activation | output | 1 | |
Port 2 | activation | input | 1 |
Advanced Properties
| Name | Value | Description |
|---|---|---|
always active | no | standard mode activated |
direct-feedthrough | no | |
zero-crossing | no | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |