Download M300 Reference Guide - Science Engineering Associates, Inc.

Transcript
MinVal(), Minimum Value
SEA Model 300
MinVal(), Minimum Value
Synopsis
MinVal(F, STATE)
F[n]
STATE[1]
Formula of an array of values (n).
State option variable (integer: 0 or 1).
Description
This function returns the minimum value observed. The STATE variable is used to control the
function operation. If the STATE is zero, the minimum value is unchanged. If the state changes from
zero to one (rising edge), the minimum value is cleared and a new minimum is started. If the STATE
is one, the minimum value will change when the current values is a minimum.
Result
D[n]
Example
; Name
"MinimumValue"
Units
""
Number
F200
Result
F[1]
Computations
MinVal(F100, 0)
Function Reference 329