03-23-2009 10:47 AM
In a VI that I have written, there is a point where I take a simple 5 character string and input it to a reverse string node. I also have an indicator on the output of the reverse string node so I can look at the reversed string. Both the input and output indicators are in normal display mode. For the input indicator I can see the input string with no problem. But on the indicator at the output of the reverse string node I see nothing. If I then put each of the indicators in HEX display mode, both indicators display the hex equivalent characters of the original ASCII characters, and the output indicator shows the characters reversed from that of the input indicator, as expected. So why when I am in normal display mode, are the characters in the output indicator not showing up? Thanks.
03-23-2009 10:53 AM
Have you got a new line character at the end of the input string? If so, your reversed string will begin with a new line, and a single line height indicator will show only the first (blank) line. Try making the output indicator bigger in height.
Rod.
03-23-2009 11:02 AM - edited 03-23-2009 11:04 AM
What are the ASCII values that you are trying to display? Perhaps they are non-printable ASCII values.
Perhaps you can post a simple VI with the values in a string control and saved as a default.
EDIT: After seeing Rod's message, that seems very likely, especially considering that there is likely an EOL character if you are doing serial communication with some other device.