2 error, Error – Metrohm tiamo 2.1 (ProcessLab) User Manual
Page 92
2.4 Formula editor
■■■■■■■■■■■■■■■■■■■■■■
76
■■■■■■■■
tiamo 2.1 (ProcessLab)
the type Text, Number or Date/Time. Entire operations can also be trans-
ferred here.
Value_false
If condition = 0, this parameter is saved as a result of the function. This
parameter can be transferred either directly or as a variable and can be of
the type Text, Number or Date/Time. Entire operations can also be trans-
ferred here.
Value_error
If condition = invalid, this parameter is saved as a result of the function.
This parameter can be transferred either directly or as a variable and can be
of the type Text, Number or Date/Time. Entire operations can also be
transferred here.
Examples
Case('MV.ID1' = "";"ID1 empty";"ID1 not empty") = if no entry has
been made for ID1 in the run window, the text ID1 empty, otherwise ID1
not emptywill be saved in the result.
Case( 'DET pH 1.EP{1}.VOL';'DET pH 1.EP{1}.VOL';0;0) = If an end-
point has been found in the titration DET pH 1, for which the volume is not
0 (value_true), this will be saved as a result. If the EP1 is exactly 0, 0 will
be given. If no endpoint has been found, 0 will also be saved as a result for
this function.
Case('RS.IntermediateRes' > 5.5;"Intermediate result too
high";'RS.IntermediateRes' * 26.5;"Error occurred") = If the result
"IntermediateRes" is greater than 5.5, the text "Intermediate result too
high" will be written into the result, otherwise the intermediate result will
be multiplied by 26.5. If an error occurs during the comparison ('RS.Inter-
mediateRes' > 5.5), "Error occurred" will be saved as a result of this
operation.
2.4.4.9.2
Error
Dialog window: Formula editor
▶ Operators/Functions
Syntax
y = Error(value)
Gives +1 if the value is invalid (error) or 0 if the valie is valid. This function
can be used e.g. to check variables for their existence or validity.
Parameters
Value
The variable to be tested.