LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue about output of "To upper case"

Odd.  Here's what I got with normal display(LV 8.0)

Message Edited by lmtis on 10-28-2007 09:50 AM

Jim

LV 2020
0 Kudos
Message 11 of 20
(1,474 Views)

Imtis,  your example is \c0 00a.  Two characters zero, not a \00 single character hex code..

Hrongfu, what happens if you work on just a single character at a time such as \c0?  Your login name sounds Oriental, could your computer be using some unusual language or character set that would explain the difference?  How about an unusual system font?

0 Kudos
Message 12 of 20
(1,452 Views)


csxcs_366 wrote:


Now you are confusing everything and you are contradicting directly what you said earlier:

  • If the \codes display input is \C000a, we have 4 characters: \C0, two zeroes, and an "a". The \-codes output is wrong (assuming the output display is also set to \-codes).
  • If the normal display input is \C0\00a, we have 7 characters: \, C, 0, \, 0, 0, and an "a". The normal output is correct.

These inputs are completely different!

Something is terribly wrong. What is your language setting? Is this e.g. japanese LabVIEW? Could it be you have selected some weird unicode font or something?

Message Edited by altenbach on 10-28-2007 08:51 AM

0 Kudos
Message 13 of 20
(1,451 Views)
Do you have any idea about why this happens?
0 Kudos
Message 14 of 20
(1,433 Views)
We've taken your Vi, and we are not seeing the error you are reporting.  When your VI is run on my system, the input is '\C0\00a" in \ codes display and the output of your test VI is "\C0\00\A" in \ codes display.  As someone else asked, what font/character set are you using?  Unless you can get someone else to replicate your problem, we're probably not going to be much help.
0 Kudos
Message 15 of 20
(1,428 Views)
I think we got someone else to replicate your problem. we can see it from csxcs_366' reply.
If the input is \C000a , the output will be ?0Aa. Both in '\' code display.
I come from China( I think csxcs_366 also from china).
I am using English Labview on my laptop, and the laptop language is english, also it can display chinese .
 
0 Kudos
Message 16 of 20
(1,419 Views)
But, that is not replicating your problem.

"\C0000a" is not the same as "\C0\00a" which is what your original post said you were doing.  The test vi you posted uses "\C0\00a" not ""\C000a".  The picture you posted from your VI uses "\C0\00a".

"\C0\00a" is 3 bytes and "\C000a" is 4.  Even using "\C000a" I cannot replicate csxcs_366's result.
0 Kudos
Message 17 of 20
(1,414 Views)
What I can say is that I can replicate csxcs_366's result.
0 Kudos
Message 18 of 20
(1,402 Views)

No he did not replicate your result.

Yours

?Aa

His

?0Aa

0 Kudos
Message 19 of 20
(1,360 Views)
My:
 If the input is \C000A, output ?0Aa
 If                   \C0\00A, output ?Aa
0 Kudos
Message 20 of 20
(1,305 Views)