Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Data Manipulation Functions

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Numeric 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
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.
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.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit