beautypg.com

Outputs – Xylem System 5000 User Manual User Manual

Page 48

background image

OUTPUTS

46

The following Log File functions are available:

avg

Returns an averaged value of all values in the given range.

delta

Returns the difference between two values: the current Task value and the previous n

measurement, 1 being the previous measurement, 2 being two measurements previous,

and so on. For example, to record the change between the current scan value (x) and the

previous scan value (y), setting the Prev. n Measurements to 1 would yield the result of x

- y.

max

Returns the maximum value of all values in the given range.

min

Returns the minimum value of all values in the given range.

sum

Returns the summation of all values in the given range.

timofmin

Returns the date and timestamp of the minimum value of all values in the given range (e.g.

MM/DD/YYYY HH:MM:SS).

timeofmax

Returns the date and timestamp of the maximum value of all values in the given range (e.g.

MM/DD/YYYY HH:MM:SS).

intervalmin

Prints the date, timestamp, and minimum value in the previous output interval. Proper use of

this function requires the Output rate to be much larger than the Input rate. For example, if

the Input Scan Rate is set to every five minutes (00:05:00) and the Output Timed Rate is set

to every hour (01:00:00), at the end of each hour, a new line would be printed containing the

date, timestamp, and value of the minimum value found within the previous hour’s worth of

data.

intervalmax

Prints the date, timestamp, and maximum value in the previous output interval. Identical to

intervalmin, rather returning the maximum value. Please refer to the example given in the

above intervalmin function description.