06-22-2011 07:06 AM
Hello,
i have a numeric FileGlobal that is display in a MessagePopup-step with str(FileGlobal.param1)
How can i change this that it display the number as hexvalue.
For example if Number is a 10, then the MessagePopup should display a 0xA.
Thanks for help
Solved! Go to Solution.
06-22-2011 07:42 AM - edited 06-22-2011 07:43 AM
HI,
You should try this expression Str(FileGlobal.param1,"%X",1 ,True)
Hope this helps
01-09-2013 06:55 AM
I have a FileGlobal String with is an ASCII String with
How can I change this that is displayed as HEX String like \x01\x02 ?
Is there someting like str(FileGlobal,"%x") ? -> this does not work 😞
Thanks
01-09-2013 09:57 AM
What you are wanting to do is escape the bytes of the string. Is this a LabVIEW binary string? What exactly are you trying to do? What is in the string that you are trying to escape?
-Doug