ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI converts a displayed Hex String value to ASCII string characters as well as IEEE Float.
Description
Sometimes it maybe desirable to convert a String Hex Value to ASCII but not actually change its representation. For example, we may have the value 6C in hex and we want it in ASCII to also be 6C. This VI will do this conversion. It takes the Display Hex String and converts it into regular string characters. I eventually needed the IEEE Float value for that Hex String value, so the last part converts it to IEEE float.
Requirements
Steps to Implement or Execute Code
Additional Information or References
Front Panel
VI Snippet
**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.
Worked for me after I changed the type for the Unflatten From String to a U8.
YES! Actually I remember making a VI for each data type..I have them somewhere...if I find them I will upload each type.
If I had the time the thing to do would be to make this into a polymorphic VI so it would sense the data type and then execute the proper version.
Glad to see it helped someone!