CalculateDownsampledSignal

ID: Calculate/CalculateDownsampledSignal


This trace step template generates a down sampled signal.

The down sampled signal gets only samples, when the value of the input signal changes or the ‘maxTimeBetweenSamples’ is exceeded.

../../_images/CalculateDownsampledSignal-01.jpg

Signals

Signal

The signal that should be downsampled.

  • Direction: IN

  • Optional: False

DownsampledSignal

Downsampled signal of the input signal.

  • Direction: OUT

  • Optional: False

Parameters

maxTimeBetweenSamples

Maximum time between two samples for the signal. The time must be greater than zero. The unit is based on the trace file (mostly in seconds).

None … maxTimeBetweenSamples = 0.1s [Default]

  • Direction: IN

emitSampleAtEndOfTrace

Emit a sample at the end of the trace.

None … emitSampleAtEndOfTrace = False [Default]

  • Direction: IN