en:software:qview:qview_6:qcl_library:ac10fdminarr

This translation is older than the original page and might be outdated. See what has changed.

AC10FdMinArr

A = Array

C = Calculation

The AC10FdMinArr function find the minimum value of the elements of an array and puts it on a variable (“valmin”).

AC10FdMaxArr (array, valmin, done)

Parameters:

IN/OUTVARIABLE TYPEEXAMPLE NAMEDIM
IN ARRSYS array L/S Arrays for which you want to find the minor element
OUT SYSTEM valmin L Minimum value in the array (OUT)
OUT GLOBAL done F Flag of operation executed

Example

TFind the minimum value of the array and puts on the 'value' variable, when the “ gfFind ” flag is set to 1.

IF gfFind
	gfFind = 0
        AC10FdMinArr (array, valmin, done)
        value = valmin
ENDIF

Operation notes

  • The function executes a WAIT a time every 180 milliseconds.
  • Last modified: 2019/08/29 17:01