EasyManua.ls Logo

ETAS MDA V8.5 - Calculated Signals Details; Data Types

Default Icon
146 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ETAS 4 Calculated Signals
As NaN prevents calculation for a sample, the condition is true if
the input signal has at that point in time a NaN sample.
You can directly replace the lengthy If-Then-Else function with
the shorter SetNoValueStatus function:
InputSignal_without_NaN = SetNoValueStatus
(InputSignal, InputSignal =! InputSignal)
You can use the InputSignal_without_NaN for calculations
with history (like Average, Minimum, Maximum) and still get a res-
ult in which the NaN samples are excluded.
2. Excluding NaN samples from integral calculation
As already mentioned above, the No Value state effects an integ-
ral calculated in an undesired manner.
Therefore, to exclude NaN values from an integral calculation, you
must use the If-Then-Else calculation, so that the NaN
samples get the neutral value for the integral calculation, namely 0.
Integral_excl_NaN = Accumulate_Prefix_Integral
( InputSignal =! InputSignal ? 0 : InputSignal)
4.4 Calculated Signals Details
4.4.1 Data Types
The following table gives an overview of the data types supported in calculated
signals:
Name Bits Supported
Signed Integer 8, 16, 32, 64 bit
1
Yes
Unsigned Integer 8, 16, 32, 64 bit
1
Yes
IEEE Floating Point 32, 64 bit Yes
Boolean Yes
String No
2
Enumeration No
2
Mixed (combination of numeric and
enumeration)
No
2
Array No
Event No
2 3
1
Other bit sizes in input files are supported but the data is converted to the next
higher available size.
2
The type can be displayed but is not supported in calculated signals.
MDA V8.5 - User Guide 63

Table of Contents