Behavior Of Calculated Signals Depending On The Status Flag - ETAS MDA V8.6 User Manual

Table of Contents

Advertisement

ETAS
9.2
Behavior of Calculated Signals depending on the
status flag
In an MDF measure file, for sample additionally two flags are available: One for
indication whether a value is available at a certain timestamp, and another
which indicates whether a recorded value is valid or not.
Each of the flags can be True or False, therefore the following four com-
binations are possible:
Has a
value
TRUE
FALSE TRUE
TRUE
FALSE FALSE
For calculated signals the states of the flags of input signals are considered
for the calculation result.
This can be summarized as follows:
No value cases
l
Error cases (both with and without value)
l
MDA V8.6 – User Guide
Value is
Description
valid
TRUE
Regular sample
No sample at
this point
FALSE
Error sample
with value
Error sample
with no value
The meaning is the same as if the sample (including timestamp)
were missing completely.
The advantage is that with this flag a No value of one signal can be
combined with other signals in the same group which still have a
sample at the same point.
The result of a calculation on No value will also be marked as No
value (unless the interpolation with other signals causes there to be
a sample).
The state of stateful operations (like integral) will not update.
If any input sample has an error (i.e. is invalid), the error is propag-
ated to the calculation result.
The only exception is if the input sample does not matter, e.g. true?
3: error results in 3.
Errors are also propagated into the state of stateful operations.
Thus accumulating operations (like e.g. Integral) will stay on error as
long as the error sample is part of the accumulation range.
Example
Timestamps before the first sample of
the signal is available
Integer division by 0
9 Appendix
136

Advertisement

Table of Contents
loading

Table of Contents