CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Wed Nov 20, 2019 10:34 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Dec 14, 2012 10:21 am 

Joined: Sun Aug 21, 2011 8:33 pm
Posts: 18
everytime after reboot hmi, hmi will change back to default language.

PostPosted: Sat Dec 15, 2012 9:22 am 
Frequent User
Frequent User
User avatar

Joined: Tue Jun 06, 2006 9:03 am
Posts: 410
I'm not sure, but maybe it works by writing the current language string variable to a variable which is Retain (Persistant):

// When the HMI is restarted call the following code:
IF NOT(xInitDone) THEN
        IF sRetainLanguage <> '' THEN
                  VisuElems.CURRENTLANGUAGE := sRetainLanguage;
        xInitDone := TRUE;

// After this write the current language to the retain variable
sRetainLanguage := VisuElems.CURRENTLANGUAGE;

Please let us know if this works

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00

Who is online

Users browsing this forum: pera and 5 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited