Split Number Function

Owning Palette: Data Manipulation Functions

Requires: Base Development System

Breaks a number into its component bytes or words.

Details  

 Add to the block diagram  Find on the palette
x can be an 8-, 16-, 32-, or 64-bit integer, or an array or cluster of those representations.
hi(x) and lo(x) are integers that are half the width of x. hi(x) and lo(x) are 8-bit, 16-bit, or 32-bit unsigned integers, respectively, or an array or cluster of those representations. hi(x) is the numerically high-order byte and lo(x) is the numerically low-order byte, regardless of the endianness of the operating system.

Split Number Details

If you wire an 8-bit integer input, this function does not split the number. Instead, LabVIEW returns the same 8-bit number in the lo(x) output, and returns zero for the hi(x) output.