i have a question regarding the conversion of single precision float values to hexadecimal values. The other way around works just fine using the example of NI (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kKoNSAU&l=de-DE). But when i try to reverse the VI in order to convert a single precision float to a hexadecimal value it is not working.
For example if i want to convert the value 2.75 i get the hex value 40006000 (which is roughly 2) instead of the actual hex value for 2.75 which is 40300000.
Does anybody know a clever way to convert these values in the correct manner for both ways?
Thank you and best regards,
Go to Solution.
Just use the type cast function directly.
Take note that the string indicator is in Hex display. If you need the string in normal display please refer to this link: