Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert hex data into a hex string?????

If i have the following string in LabVIEW.........             Jt@<
 
That is equivelant to...........                                     4A 74 40 3C    
 
I want to convert  the string "Jt@<" to the string "4A74403C".
 
Does know the best way to do this in labVIEW.  I can do it in C, but i didnt know what the possibilities were in LabVIEW.
 
Thanks,
Jason
0 Kudos
Message 1 of 3
(2,744 Views)
Hello JD99,

one way to do the conversion is shown in the picture.
If you only want to change the display, right click on your string indicator and change to "hex display"...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,736 Views)

Thanks!   Thats exactly what I need.

 

Jason

0 Kudos
Message 3 of 3
(2,725 Views)