Main Content

Target Communication

R2026b
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

Arduino Protocol EncoderProtocol EncoderEncode input data into a uint8 byte stream by specifying the packet structure
Arduino Protocol Decoder Block IconProtocol DecoderDecode a uint8 byte stream by specifying the packet structure
Byte Pack blockByte PackConvert input signals to 8-, 16-, or 32-bit vector
Byte Unpack blockByte UnpackUnpack 8-, 16-, or 32-bit input vector to multiple output vectors
Byte ReversalReverse little-endian data for big-endian processor
Idle Task blockIdle TaskCreate free-running task (Since R2024a)

Featured Examples