Adaptive Characteristic Lines/Maps: Restrictions

When you are using the methods provided to adapt characteristic lines and maps, several restrictions must be kept:

Restrictions Checked by ASCET:
  1. An index variable (index, indexX, indexY) must be an integer value between 0 and max.size -1.
  2. The new current size (size) must be an integer value between 1 and max.size.
  3. No interpolation immediately after a change (set*). After a change, a search must be executed first.

    A warning is issued if interpolate() is potentially called without a previous search (i.e., the search is only executed conditionally or there is no search before the interpolate in the function).

    An error is issued if interpolate() is definitely called on a modified characteristic line/map or distribution without a previous search.

  4. For fixed characteristic lines/maps, getX(), setX(), getY() and setY() are not supported because no axis points exist.
Restrictions Not Checked by the ASCET Code Cenerator:
  1. Strict monotony of the axis points
  2. Equal sizes of a group table and its associated distribution(s)
  3. data inconsistencies caused by interrupting tasks
ASCET‑SE Restrictions:
  1. The function setCurrentSize() for characteristic lines/maps and distributions is not supported. Only one field is available to hold the size, this field holds the max. size. If a characteristic line/map or distribution uses less than max.size elements, the last existing table element is used to fill the table.
  2. With ASCET‑SE targets, the interpolation routines themselves must contain adequate reactions to errors and breaches of restrictions.

See also

Public Interface of Characteristic Lines

Public Interface of Characteristic Maps

Public Interface of Distributions and Group Characteristic Lines/Maps