Hello Friends
I have 2 languages in my app, en-US, es-MX.
I need to send CurrentLanguage to PLC, I am trying with Macro in Global Connections but without sucess.
I am trying to send the string like "en-US" or "es-MX".
Also I am trying to send a DINT like 0 for english, 1 for spanish, but neither works
These are my expressions:
{[PLC]Current_Language_String}=(CurrentLanguage())
If (CurrentLanguage( ) == "en-US") Then ({[PLC]Current_Language}=0)
Else ({[PLC]Current_Language}=1)
I have tried a lot of combinations but without sucess.
Can you help me?
Thanks in advance
I have 2 languages in my app, en-US, es-MX.
I need to send CurrentLanguage to PLC, I am trying with Macro in Global Connections but without sucess.
I am trying to send the string like "en-US" or "es-MX".
Also I am trying to send a DINT like 0 for english, 1 for spanish, but neither works
These are my expressions:
{[PLC]Current_Language_String}=(CurrentLanguage())
If (CurrentLanguage( ) == "en-US") Then ({[PLC]Current_Language}=0)
Else ({[PLC]Current_Language}=1)
I have tried a lot of combinations but without sucess.
Can you help me?
Thanks in advance