Technical data
DOC-01-TELAS-CRG-4 ASTi ACE Studio Components Reference Guide Rev.M
80 Copyright © 2014 Advanced Simulation Technology inc.
5.3. ByteMerger
Summary: The ByteMerger accepts 4 uint8 inputs, interprets them as a multibyte
value (int16, uint16, int32, uint32, or float32) and outputs the result as a float64.
Description: The ByteMerger reconstructs an integer or float from a series of
bytes. The input type is used to specify how the input byte should be integrated. For
example, if reconstructing a two byte signed integer, link the least significant byte
to In0 and the most significant byte to In1.
int16 value LSB
int16 value MSB
00000000
00000011
Byte Merger
In0
In1
In2
In3
Input Type = Int16
Endianness = Little
Result = 3.0
uint32 value MSB
uint32 value LSB
00000000
00000000
Byte Merger
In0
Input Type = uint32
Endianness = Big
Result =
257.0
00000001
00000001
In1
In2
In3
Control Inputs
In0
Type Default Value
Uint8 0
Description: The first byte of the multibyte value.
In1
Type Default Value
Uint8 0
Description: The second byte of the multibyte value.
In2
Type Default Value
Uint8 0
Description: The third byte of the multibyte value.
In3
Type Default Value
Uint8 0
Description: The fourth byte of the multibyte value.
Control Outputs
Endian-
ness
Type Default Value
Endianness Little
Description: The byte order of the input bytes. If little endian then
the least significant byte should be linked to In0. If big endian then
the most significant byte should be linked to In0.
Input Type
Type Default Value
types Uint32
Description: Specifies how the input bytes should be interpreted.










