LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PDA boolean text of PDAbutton can't input CHINESE(中文)

labview7.1 PDA开发模块,使用PDAOKBUTTON_2X.CTL等按钮时,其label和caption可以使用中文,boolean text 使用中文时,发布时报错为:error C2002: invalid wide-character constant。使用英文或不显示时正常。
请高手解答!
我愿自己是个胡萝卜,可以自己自足啦!
0 Kudos
Message 1 of 2
(3,052 Views)

I think LabVIEW uses a single character to in indicate a boolean value (you can set TRUE and FALSE to boolean because they are enum into the single letter T and F), but each chinese character is equivalent to 2 english letters.  This might be why it doesn't work when you use chinese on boolean.

** This is my guess, I'm not exactly sure, but I'm sure windows uses 2 english letters to represent each chinese character! **

0 Kudos
Message 2 of 2
(3,032 Views)