Lucky--Luka Posted July 19, 2023 Report Posted July 19, 2023 Hi all, can anyone tell me why the output isn't like: \05\08\07\01\00\01\03\E8\01\B3 Thanks question_byte-ASCII.vi Quote
crossrulz Posted July 19, 2023 Report Posted July 19, 2023 (edited) 0x08 is a Backspace. In \ Codes, that is \b. A little more information on the \ Codes here: Backslash ('\') Codes Display LabVIEW Help Edited July 19, 2023 by crossrulz Quote
MikaelH Posted July 26, 2023 Report Posted July 26, 2023 Do you want it in Normal Display format like thsi: BTW this loop of generating the HEX string is not fast, there are much faster ways of doing it Quote
Lucky--Luka Posted September 29, 2023 Author Report Posted September 29, 2023 (edited) On 7/26/2023 at 5:28 AM, MikaelH said: Do you want it in Normal Display format like thsi: BTW this loop of generating the HEX string is not fast, there are much faster ways of doing it Could you explain to me what you have done please? Edited September 29, 2023 by Lucky--Luka Quote
Rolf Kalbermatter Posted September 29, 2023 Report Posted September 29, 2023 1 hour ago, Lucky--Luka said: Could you explain to me what have you done please? Right click on a string control (or constant) and select "Visible Items->Display Style". The control gets an extra glyph which is marked with the red rectangle in the image of Mikael. This indicates what display mode the control uses. Note that this changes ABSOLUTELY nothing about the actual bytes used in the string. It only changes how the control displays them! Quote
Lucky--Luka Posted September 29, 2023 Author Report Posted September 29, 2023 I mean: what is that for loop doing? Quote
crossrulz Posted September 30, 2023 Report Posted September 30, 2023 12 hours ago, Lucky--Luka said: I mean: what is that for loop doing? It is formatting each byte into an ASCII representation of the byte. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.