Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I would like to execute certain functions upon any user login/logout.
In Task Configuration there seem to be some useful Event Handlers: System Events -> Add Event Handler.
I added:
- event Login, function to call TestLogin
- event Logout, function to call TestLogout
Afterwards I get compile errors "Function TestLogin/TestLogout requires exactly '0' inputs".
How to use the Login/Logout events then?
Are the System Event Handlers and their usage documented anywhere?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to execute certain functions upon any user login/logout.
In Task Configuration there seem to be some useful Event Handlers: System Events -> Add Event Handler.
I added:
- event Login, function to call TestLogin
- event Logout, function to call TestLogout
Afterwards I get compile errors "Function TestLogin/TestLogout requires exactly '0' inputs".
How to use the Login/Logout events then?
Are the System Event Handlers and their usage documented anywhere?