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 Object | Description |
---|---|
Byte Array Checksum | Computes the message digest on a byte array. You must manually select the polymorphic instance you want to use. |
Flatten To String | Converts 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 Numbers | Creates a number from the component bytes or words. |
Logical Shift | Shifts x the number of bits specified by y. |
Mantissa & Exponent | Returns the mantissa and exponent of the input numeric value such that number = mantissa * 2^exponent. |
Rotate | Rotates x the number of bits specified by y. |
Rotate Left With Carry | Rotates 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 Carry | Rotates 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 Number | Breaks a number into its component bytes or words. |
Swap Bytes | Swaps the high-order 8 bits and the low-order 8 bits for every word in data. |
Swap Words | Swaps the high-order 16 bits and the low-order 16 bits for every long integer in data. |
Type Cast | Casts 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 String | Converts 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. |