LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert ascii string to hex string

Hi, i have successfully wrote ascii characters autamaticly using user32.dll library. Dll wrote that character which i have told in hex format. Now i want that labview convert string control's characters and wrote those automaticly. In picture attached in left have situation were input is hex value 2E, that means dll push the DEL-button. In right picture have what in want. For example in string control have character o. Labview convert that character to 4F

 

I can do everything else, but i can't convert ascii to hex string 🙂

 

-Aa-

0 Kudos
Message 1 of 3
(3,523 Views)

hi Alias A,

   Use string to byte array vi .

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


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

Hi Alias a,

please see the attached link to see how you can also simulate a key press.

 

LINK

 

Mike

0 Kudos
Message 3 of 3
(3,500 Views)