Klicka här för att komma till innehållsförteckningen

Key Words

The six key words that can be used in the formulas are always written first.

The following key words must be used.

CONST

 

This keyword declares a constant that can be used in a formula.
Ex: CONST PI=3,141592653

GRAPH

Declares a formula.

Ex: GRAPH "My value"(°) = SIN(DEG(ID1))

KEYVAL

Declares the mathematical expressions that generate ratios, i.e. new columns in the data table.

ex: KEYVAL test = SUM/N

FN

 

Declares a function. Common features are, for example, f (x), v (t) mm. You can also have a function with more operands, such as Y (z; x) and so on.
Ex: FN f(x;y) = (5*x) - y

GRAPH function tests (r / min) = f (ID1.med, ID2.med)

REM

 

Used to write a comment. Can also be used to prevent a formula from being executed.
Ex: REM GRAPH test(°C) = Tempinne.max - Tempute.min

SET

Used to give your channels more manageable names in the formula.

Ex: SET U2 = 'voltage R2'

SET I1 = 'Power R1'

CONST R1 = 50000

GRAPH test (V) = U2 - R1 * I1