TimeNe()

Format

TimeNe(Expr1 ,Expr2 , StartTime [,EndTime])

Returns

Returns the number of seconds during the interval from StartTime to EndTime, that the value of Expr1 is not equal to the value of Expr2.

Inputs

Expr1: The expression whose value should be counted. 
Behaviour: Required
Dimension: Collection
Valid data types: Decimal

Expr2: The expression whose value should be counted. 
Behaviour: Required
Dimension: Collection
Valid data types: Decimal

Note: The values of Expr1 and Expr2 must be numerically identical to full precision to be considered equal. E.g. A tag with a value of 2.3499978 might be rounded to 2.35 for display purposes, but TimeEq({Tag}, 2.35, StartTime, EndTime) would return zero.

StartTime: The start time over which to produce the count. Errors and Nulls are ignored.
Behaviour: Required
Dimension: Collection, SingleValue
Valid data types: DateTime, Decimal, Duration, Integer, String

EndTime: The end time over which to produce the count. Errors and Nulls are ignored. Default: Time().
Behaviour: Optional
Dimension: Collection, SingleValue
Valid data types: DateTime, Decimal, Duration, Integer, String

How to format data types

Examples

The following diagram illustrates the conditions under which values are considered not equal, which is the exact opposite of the TimeEq().

timene 

 

Comments are closed