09-29-2023 08:25 AM
Hi all,
any idea why the function isn't displaying the input correctly?
Thanks
09-29-2023 08:55 AM
Probably because what you think is correct does not correspond to the actual function.
Very few people here have LV2013 installed. If you backsave your vi to an old version (say LV2017) you could get more help.
09-29-2023 08:56 AM
09-29-2023 09:08 AM
I assume you want lower case hex encoding? Changing the display format to "hex" in LabVIEW will use uppercase letters. Note that your to lower case function only affect one value: DC corresponds to "Latin capital letter U with diaeresis" and got turned into FC, "Latin small letter u with diaeresis"
Is this what you want?
10-02-2023 03:28 AM
Old version of the program.
10-02-2023 04:13 AM - edited 10-02-2023 04:15 AM
Hi Lucky,
You are confusing a string displayed in its raw hexadecimal form with a string formatted to hexadecimal (ASCII) characters.
The first one is simply a way of looking at the raw values of the bytes in memory, while the second one is a formatting of the byte values to a restrained subset of ASCII characters (only 0-9 and A-F).
Have a look at this:
The first string is the exact same as the input, but display in hexadecimal (display style 'x').
In the second case, each byte is formatted to hexadecimal characters, then concatenated and finally turned to lowercase.
Regards,
Raphaël.
10-02-2023 12:56 PM
If you put the indicator BEFORE the function To lower case it will show correctly.