Applies To:
  • CitectSCADA 1.00 1.01 1.10 1.11 1.20 2.00 2.01

Summary:
Question: How do I enable the Citect kernel millisecond clock? 

Solution:
The Citect kernel millisecond clock is enabled with the option [kernel]MsClock=1 (CITECT.INI only). This will enable the clock with the default time precision of 20 milliseconds. You may increase the precision of the clock by adjusting the option [kernel]TimerResolution=<milliseconds> (CITECT.INI only). The smaller the milliseconds value the more precise the clock will be, however it will consume more CPU load.

To enable the Citect kernel millisecond clock with a precision of 2 milliseconds put the following options in the CITECT.INI file:

[Kernel]
MsClock=1
TimerResolution=2

The Citect kernel millisecond clock may be incompatible with some versions of Windows and may cause other problems. This includes failure of the clock after several hours of operation. Currently the Citect Development Team does not recommend using the Citect Kernel millisecond clock for normal operation. However it is useful when commissing or debugging your system when you need a higher level of time precision. .

 

Keywords:
 

Attachments