EasyManua.ls Logo

ETAS MDA V8 - Operations of type Single Bit; Operations of type Bitmask

Default Icon
153 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...
10 Appendix | 133
However, this emulation does not work properly for nested calculated sig-
nals, i.e. when the argument is a calculated signal which has a measure sig-
nal inside.
Calculated signals of integer type in MDA V7 will be converted into double
type in MDA V8. This leads to differences in handling of arithmetical over-
flow. E.g. the value ‘-1’ in MDA V7 is represented as '4294967295.00’ which
is ((uint32)’-1’), and in MDA V8 is real ‘-1.00’.
10.1.3 Operations of type "Single Bit"
What MDA V7 Migrated for-
mula in MDA V8
Comment
Single
Bit
double((long(rint(sig-
nal)) >> shift_value) &
and_value)
If a measure sig-
nal is used:
Raw(signal) >>
shift_value &
and_value
If a value is used:
value >> shift_
value & and_
value
All measure signal argu-
ments are wrapped by the
Raw function.
10.1.4 Operations of type "Bitmask"
What MDA V7 Migrated for-
mula in MDA V8
Comment
Bitmask double((long(rint(sig-
nal)) >> shift_value)
& and_value)
If a measure sig-
nal is used:
Raw(signal) >>
shift_value &
and_value
If a value is used:
value >> shift_
value & and_
value
All measure signal argu-
ments are wrapped by
the Raw function.
MDA V8 | User Guide

Table of Contents

Related product manuals