Main Content

Target Communication

Communicate with targets using data handling blocks

Configure the data handling blocks, such as Byte Pack, Byte Unpack, Byte Reversal, Protocol Encoder, Protocol Decoder, and others, to communicate with target devices and to ensure data integrity.

Blocks

Protocol EncoderEncode input data into a uint8 byte stream by specifying the packet structure (Since R2021b)
Protocol DecoderDecode a uint8 byte stream by specifying the packet structure (Since R2021b)
Byte PackConvert input signals to 8-, 16-, or 32-bit vector
Byte UnpackUnpack 8-, 16-, or 32-bit input vector to multiple output vectors
Byte ReversalReverse little-endian data for big-endian processor

Featured Examples