Metrohm tiamo 1.3 Manual User Manual
Page 81

Formula editor
55
This parameter can either be transferred directly or as a Variable and can
be of the type
Text
,
Number
or
Date/Time
(
Time()
). Complete Operations
can also be transferred here.
Value_false
If the Condition = 0 then this parameter will be saved as the result of the
function.
This parameter can either be transferred directly or as a Variable and can
be of the type
Text
,
Number
or
Date/Time
(
Time()
). Complete Operations
can also be transferred here.
Value_error
If the Condition = invalid then this parameter will be saved as the result of
the function.
This parameter can either be transferred directly or as a Variable and can
be of the type
Text
,
Number
or
Date/Time
(
Time()
). Complete Operations
can also be transferred here.
Examples
Case('MV.ID1' = "";"ID1 empty";"ID1 not empty")
= if in the Run window no
entry has been made for ID1 then in the result the text "
ID1 empty
" will ap-
pear, otherwise "
ID1 not empty
" will be saved.
Case( 'DET pH 1.EP{1}.VOL';'DET pH 1.EP{1}.VOL';0;0)
= if in the titration
DET
pH 1
an endpoint has been found for which the volume is not 0 (
Value_true
)
then this will be saved as the result. If EP1 is at 0 exactly then
0
will be re-
turned. If no endpoint has been found then
0
will also be saved as the result
of this function.
Case('RS.InterRes' > 5.5;"Intermediate result too high";'RS.InterRes' *
26.5;"error occurred")
= if the the result "
InterRes
" is larger than 5.5 then the
text "
Intermediate result too high
" will be written in the result, otherwise the
intermediate result will be multiplied by 26.5. If in the comparison
(
'RS.InterRes' > 5.5
) an error occurs then "
Error occurred
" will be saved as the
result of this operation.
Error
Syntax
y = Error(value)
Returns
+1
if Value invalid (error) or
0
if Value valid. This function can be
used, for example, to check whether variables exist or if they are valid.
Parameters
Value
The variable to be tested.
Examples
Error('RS.InterRes') = 0
: the intermediate result could be calculated.
Error('RS.InterRes') = 1
: the intermediate result is invalid.
Error('DET pH 6.EP{1}.MEA') = 0
: the variable for the measured value at
Endpoint 1 exists.
Error('DET pH 6.EP{1}.MEA') = 1
, no variable exists for the measured value or
no EP is present.