06-02-2011 03:22 PM
Hello LabVIEW World -
I am attempting to understand a LabVIEW code that I did not write. At one point, there is a string (Equal?) comparison that is comparing a string from a VISA Read to a string constant input. The string constant has a little square box inside of it.
Does anyone know what this little square box is? (See attached screenshot)
Thanks.
DS
06-02-2011 03:29 PM
This is an unprintable character. To see exactly which character it is right click on the string constant and set it to display in hex mode. Then you can lookup the specific character in an ASCII chart.
06-02-2011 03:38 PM
Thanks for the quick reply, Mark.
I did what you suggested and I found the characters "06" which seems to be the symbol for "Acknowledgment" . I suppose that this makes sense because the comparison operator is checking to make sure that the VISA command was acknowledged (..so says the comment..).
06-02-2011 03:40 PM
When I place string constants like this I will display then either as hex or in the codes mode. Either of these will make the code more readable. Using the default ASCII string display is useless other than letting you know it is an unprintable character.