Previous versions of CitectSCADA employed a message-based time Synchronization server to verify clocks on computers running a CitectSCADA project maintained time synchronization. To support CitectSCADA running under standard user rights with User Access Control (UAC) switched on in Windows Vista, our existing Time Server functionality needed to be replaced.
Note: This has also made the Cicode function TimeSet obsolete, and any usage of it is recommended to be removed from your existing code.
In order to maintain time synchronization CitectSCADAv7.20 now installs a Windows service called TimeSyncService, which runs under the built-in LocalSystem account. The purpose of this service is to maintain the time on the local computer against one or more time sources. A time source is a computer on which the time service is running.
A Time synchronization utility is provided by CitectSCADA to assist you to configure time synchronization, and control the service as part of your administration environment. The dialog stores and reads settings in the TimeSyncConfig.xml file, which is installed in the CitectSCADA Config directory by default. See New Locations for Configuration and Project Files for information about configuration file locations. Using the configuration utility, you can specify an alternative path to the config file, such as a network share. This can be useful where you have multiple computers using the same configuration data and to change any setting you only need to change it on one machine.
To display the Time Synchronization dialog, open Citect Explorer and from the Tools menu select the Time Synchronization menu item.