Abs()

The ABS("x" in "unit") function returns the absolute value for each element of "x" based on the given "unit".

Syntax

 Abs(expression)

expression: signal expression

Example

 Abs("casing head temperature" in "degC")

Returns the absolute value of the casing head temperature in degree Celsius

As you see in the following table the ABS function produces following output based on the 'original signal' as input:

Date/Time

Original Signal

ABS

01.02.2007 00:00

-1

1

01.03.2007 00:00

1

1

01.04.2007 00:00

1

1

01.05.2007 00:00

1

1

01.06.2007 00:00

1

1

01.07.2007 00:00

#NULL!

#NULL!

01.08.2007 00:00

1

1

01.09.2007 00:00

-1

1