Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Group

Model Configuration, Acquisition

Description

Enable or disable the option to insert values when the acquisition group’s decimation factor is greater than 1. The decimation factor lets you skip acquisition during some calculation steps. When this parameter is set to a number n, a sample will be acquired at every n-th calculation step. However, the RT-LAB API will repeat the values every n-th step. It is useful when the values are displayed in chart graphs. For instance, if the decimation factor is set to 3, values returned by the acquisition functions will be: value1[0], value1[0], value1[0], value1[1], value1[1], value1[1], value1[2]...

Application using XY graphs should disable this option.

Required Control

None

Usage

RtlabApi.SetFillDecimation(bEnabled)

Input

None

Output

  • bEnabled: if TRUE (default), values are inserted, if FALSE, values are not inserted.

Exception

  • ENOMEM: Memory allocation error.

Examples

None

Related Items

None

Modules

import RtlabApi