Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Loop Utils » TestObjectChanged

TestObjectChanged


Checks if the input object is different than in the previous iteration.

Name Type Description
inObject T
inInitialResult Bool Result of the filter at first iteration
outObjectChanged Bool Is object changed
outPreviousObject T Object from previous iteration (in first iteration equals inObject)

The type of this filter is defined using the type variable T which represents any valid type. Read more.

Description

Filter checks if object has changed between next iterations. It is especially useful in working with HMI and allows to execute a part of an application only when some data on HMI has changed. This filter can be used as an input of macrofilter variant.

Input inInitialResult allows to set initial output of the filter. This is useful to force some computations at the start of application.

In first iteration output outPreviousObject is equal to value on inObject

Complexity Level

This filter is available on Basic Complexity Level.

See Also

  • CopyObject – Creates a copy of the input data.