Split Number Function

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

Owning Palette: Data Manipulation Functions

Requires: Base Development System

Breaks a number into its component bytes or words.

Details  

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful