Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:software:qview:qview_6:qcl_library:ac10fdminarr [2017/02/21 18:02] – created qem103en:software:qview:qview_6:qcl_library:ac10fdminarr [2019/08/29 17:01] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== 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").
 +
 +===== IMPLEMENTATION =====
 +
 +**AC10FdMaxArr (array, valmin, done)**
 +
 +Parameters:
 +
 +^IN/OUT^VARIABLE TYPE^EXAMPLE NAME^DIM^^
 +|  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.
 +
 +<code QCl>
 +IF gfFind
 + gfFind = 0
 +        AC10FdMinArr (array, valmin, done)
 +        value = valmin
 +ENDIF
 +</code>
 +
 +=== Operation notes ===
 +
 +  * The function executes a WAIT a time every 180 milliseconds.