F_UINT_TO_HighLowArr

This function performs the inverse operation by converting a 16-bit unsigned integer (UINT) into a 2-byte array in Big-endian (High-Low) format. This conversion is essential for packing sACN header fields into the correct network byte order before transmission.

F_UINT_TO_HighLowArr 1: Inputs

Name

Type

Description

Value

UINT

The 16-bit integer to be converted.

F_UINT_TO_HighLowArr 2: Returns

Name

Type

Description

ARRAY [1..2] OF BYTE

A byte array where index 1 is the High byte and index 2 is the Low byte.