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 Tue Feb 18, 2020 8:56 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Jan 20, 2020 4:28 pm 
Offline

Joined: Tue Dec 04, 2018 7:45 pm
Posts: 7
Hi,
Need to implement customer inactivity timeout and switch touch-screen webvisu to home screen if customer does not touch any control element.
In the same project need to allow dymamic memory allocation for main application.

Way 1: Using mouse event handler interface from VisuElemBase library to check touch events. Working nice but compile error "C0136 ambiguous use of name 'LinearMemoryManager'" appears just after allowing dynamic memory. There is the old post with this conflict. Not solved yet.

Way 2: May be use somehow Autologout feature in User Management? However, I must not force customer to enter any login and password. Now I have no user management at all. And I do not need to logout user, but just switch Visu to home screen.
As far as I see the autologout timer is activated and can be checked only if proper user is logged in with name/password. Is it possible to login programmatically without user interaction?

Or may be any other solution is possible?


Top
   
PostPosted: Mon Jan 20, 2020 4:55 pm 
Offline
Frequent User
Frequent User

Joined: Thu Mar 17, 2016 1:24 pm
Posts: 209
asnik wrote:
Is it possible to login programmatically without user interaction?


Yes, check this example:
viewtopic.php?f=23&t=6247&p=19944#p20740

_________________
Make CODESYS great again


Top
   
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: No registered users and 2 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