Functional description
40
<DataFormat> (e. g. Real32, Integer32) and the kind of
coding <BitSequence> (Intel/Motorola) are defined for
each source. The sources can be measured values from
the QuantumX / SomatXR system transmitted via
FireWire, or can also be decoded data received by the
CAN bus.
A signal source is typically taken from another MX
module. The "ModuleReference" must be set. If the
"ModuleReference" points to the module itself, or if its
specification is left empty, the data to be received at this
or another CAN bus connection within this module, can
act as the transmit data source. The module behaves as
a "gateway".
The point at which the data are written and the number of
bits in the CAN message are defined for each source,
see Section 5.4.
The CAN message in which the data defined in this way
will be sent, is specified with the parameters <Identifier>
and <ExtendedFrame>. These parameters can also be
found in the XML Subtree <CanMessage>, which defines
the CAN message and its transmission. This means that
the <CanMessage> only has to be parameterized once.
The different signal sources refer directly to the relevant
CAN message.
6.5.3
Measured value scaling
As with the decoder of the CAN receiver, signals from
the source can be scaled with <Factor> and <Offset>,
before they are transmitted. This is particularly important
if you want to transmit a floating point value as an inte
ger, a practice that is widespread in the CAN world.
For example, if you want to send the floating point value
with an accuracy of 3 decimal places as an integer, you
A4461-2.0 HBM: public
CANBus