Applies To:
  • CitectSCADA V7.0 or earlier 


I want to have an automatic login directly after the logout of a user in Citect V7.0 or earlier. I tried using the login function as in the exit-command of a user, but this does not work. How do I resolve this issue?


This is caused by the exit command function being called before the logout routine is fully completed. You will need to use a sleep() function in the exit command prior to the login function. A sleep of 1 second should be more than sufficient, but you should test this prior to implementation.

In V7.1, this functionality has been added by the citect.ini parameter [client]autologinmode.

 autologinmode, login, logout