Overview
This VI casts two 16-bit signed integer numbers (I16) into one Double Precision number.
Description
This VI uses the LabVIEW Typecast functionality by inputting the most significant bit (MSB) and least significant bit (LSB) Values and using the Join Numbers function. It outputs the casted number as a double.
Requirements
LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
great stuff!!!
Worked awesome, just one observation. You describe it as taking 2 Unsigned 16 bits numbers (U16) but the actual VI asks for 16 bits signed Integers (I16) and, when translated to double precision it gives an incorrect value. It worked great when translated from 2 U16 into a Single precision float. So if anyone using this notices discrepancies from source to result, try changing typecast from double to single.