Home : Products : Hach WIMS : Hach WIMS Client : Documentation : Function Reference : Math Toolbox Functions : Difference Functions : LDIF
Q10753 - INFO: LDIF

LDIF calculates the difference between the current value and the last entered value of a specified variable.  This function has an optional rollover input, which can be used to specify the point at which a meter reading rolls over (to zero). 

SYNTAX:

LDIF(Vx, Optional Rollover)
where :
Vx is a conditional variable x
Rollover is an optional parameter that specifies the Rollover Point

NOTES:

This value will only search back 183 days for a previous value. 

EXAMPLES:

V96 = LDIF(V71, 1000)

Variable 96 will calculate the difference between each value of variable 71 and the previous value of variable 71 and store it on the day of the first value being compared.  The calculation will expect a rollover point at 1000, as if looking at a meter entry which rolls over. The values in variable 71 can only be separated up to 183 days (about 6 months); otherwise, no calculation will take place.

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 2/13/2008 11:02 AM.
Last Modified on 2/14/2011 12:58 PM.
Last Modified by Scott Dorner.
Article has been viewed 4547 times.
Rated 6 out of 10 based on 1 vote.
Print Article
Email Article