LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong ASCII values for control characters in Variables and Stack Call in CVI2013?

Solved!
Go to solution

Hi,

 

I think there is an error in  "Variables and Call Stack" window if you want to look for your variables in ASCII format.

The control characters (0 -  31) are not shown correct. They are shifted 2.

For example:

Character in Decimal format is 10 (LF) but when you are chancing to ASCII format it is showing \012.

The same with 13 (CR). This character is \015 in ASCII format.

 

I think that was no problem in CVI2012.

 

Best regards

 

Gunther

0 Kudos
Message 1 of 2
(3,905 Views)
Solution
Accepted by topic author gunthill

I'm not using CVI2013 yes so I cannot respond regarding this specific product, but the code you are showing are the octal equivalent of the decimal value you specified: it could be that control characters (or generally speacking non-printable ones) are replaced with their octal equivalent in string view.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(3,897 Views)