Home : Products : Hach WIMS : Hach WIMS Client : Documentation : Function Reference : Math Toolbox Functions : Operators : WY<
Q13322 - INFO: WY<

WY<n weekly relational sum of all values less than ('<') specified constant on the last day of the specified week (n).

Counts the number of times a true condition occurs (Cx greater than A) during the week and records that value on the last day of the week.  The variable must be Conditional (use 'C' instead of 'V').  The week is defined by n, click here for a table defining the weeks.  This function does not cross calendar year boundaries even thought the defined week might. 

SYNTAX:

CX WY<n A

Where:
CX is a conditional variable reference
n defines the week
A is a numeric constant to compare value against

NOTES:

This function does not support Expressions. For example (C22 + C21) W<7 10 does NOT work and C22 W<23 (C5+2) does not work.

Function will ONLY work with Daily type variables. Daily Detail variables (i.e. Hourly, 15 Minute) will NOT work with this function.

EXAMPLES:

C22 WY<7 10 = 2, calculates the number of times Variable 22 is less than 10 for the week (Sunday thru Saturday, i.e. week type 7) and stores the value on the last day of the week.

 

 

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 1/24/2011 4:20 PM.
Last Modified on 2/11/2015 2:22 PM.
Last Modified by No Author Name Available!.
Article has been viewed 2254 times.
Rated 0 out of 10 based on 0 votes.
Print Article
Email Article