10-09-2014 01:33 AM
Hi,
I am working on China based project and they want to switch the UI controls and indicator’s labels,
menu or selection control and messages into two different language i.e. English or *****.
Please let me know is this possible using labview programming. This will be very helpfull for me if we can do using labview.
Regards,
Srikant
10-09-2014 01:37 AM
Yes and no. Yes you can do it, no you can't do it automatically. You have to write your code to be configurable in this way.
Mike...
10-09-2014 02:29 AM
You cannot change the labels of controls and indicators at runtime, but you can change the captions. And you cannot change the captions of strict type defs.
10-09-2014 02:56 AM
Hi Mike,
Thanks for the reply.
How can i write the code. I am not aware about the fucntions which can use in coding. Could you please send some example code.
Thanks in advance.
Regards,
srikant
10-09-2014 03:02 AM - edited 10-09-2014 03:05 AM
Check this Links. I hope this will help you ..,.
https://decibel.ni.com/content/docs/DOC-9137
http://digital.ni.com/public.nsf/allkb/35994A10267179A286256E15006D4255
http://digital.ni.com/public.nsf/allkb/6099CCE209178322862570C0007DA0F1
10-09-2014 03:20 AM
Hi Munna,
Actually I want to change the language of labels i.e from english to other language like chineese
10-09-2014 03:58 AM
Check it in your PC, whether you can display ***** Characters for the Captions/Labels.
For control text we can’t change Language directly so, we need to create two Language Texts for each Controller/Indicator. Based on user request we need to update Caption Language.
As per below snippet,
Just I wrote, ***** & English (because I can't write ***** characters on my FP). In your case you need pass ***** & English text separately.
10-09-2014 08:50 AM
Also, you can't programattically change labels. You can however change the captions with property nodes.
Mike...