Data Manipulation Functions

Owning Palette: Numeric VIs and Functions

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Data Manipulation functions to modify the data types used in LabVIEW.

Palette ObjectDescription
Byte Array ChecksumComputes the message digest on a byte array. You must manually select the polymorphic instance you want to use.
Flatten To StringConverts the anything input to a flattened data string of binary values. You also can use this function to convert the byte order, or endian format, of the data in the flattened data string.
Join NumbersCreates a number from the component bytes or words.
Logical ShiftShifts x the number of bits specified by y.
Mantissa & ExponentReturns the mantissa and exponent of the input numeric value such that number = mantissa * 2^exponent.
RotateRotates x the number of bits specified by y.
Rotate Left With CarryRotates each bit in the input value one bit to the left (from least significant to most significant bit), inserts carry in the low-order bit, and returns the most significant bit.
Rotate Right With CarryRotates each bit in value one bit to the right (from most significant to least significant), inserts carry in the high-order bit, and returns the least significant bit.
Split NumberBreaks a number into its component bytes or words.
Swap BytesSwaps the high-order 8 bits and the low-order 8 bits for every word in data.
Swap WordsSwaps the high-order 16 bits and the low-order 16 bits for every long integer in data.
Type CastCasts x to the data type, type, by flattening it and unflattening it using the new data type. If the function must reinterpret data instead of transforming it, LabVIEW uses a temporary buffer. This function has the risk of reinterpreting data. To preserve the data value while converting the data, use the Coerce To Type function instead.
Unflatten From StringConverts binary string to the type wired to type. binary string should contain flattened data of the type wired to type. You also can use this function to specify the byte order, or endian format, of the data in the binary string.