Display ASCII to Hexadecimal Correctly in LabVIEW

Updated Sep 21, 2023

Reported In

Software

  • LabVIEW

Issue Details

I want to do conversion from ASCII to hexadecimal using below programming but when I insert #,
the result that I get is 23000000. How to display the result as 23?
 
スクリーンショット (881).png
 

Solution

The result is displayed as 23000000 is because the numeric constant representation at the Type Cast Function is a 32-bit integer.
To display the result as 23, right-click the numeric constant of the Type Cast Function, select Representation and choose 8-bit integer.

スクリーンショット (882).png