Configuring Time Synchronization For Historian Server Using Net Time and Windows Task
Configuring Time Synchronization For Historian Server Using Net Time and Windows Task
Configuring Time Synchronization for Historian Server Using Net Time and Windows Task
Scheduler
All Tech Notes, Tech Alerts and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.
Topic#: 002685
Created: September 2012
Introduction
Wonderware Historian supports a real-time window, which is defined as any value between -30 seconds and +999 milliseconds. This time
window is the time delay between a data source (AKA I/O server) and the Historian time. If a data value is outside of this window when
arriving at the Historian, the value might be discarded. Therefore, it is important to synchronize the time between the system clock for
the data source and the Historian.
This Tech Note provides a step-by-step procedure for synchronizing the system clocks using the Net Time command and the Windows
Task Scheduler. You can perform these steps on your data source computer so as to synch the time to that of the Historian Server.
Application Versions
Historian Server 10.x
Windows 2008 Operating System
Microsoft Task Scheduler v1.0 and later
Procedure
You can use to the Window NET command with the TIME option to synchronize the system clock of one computer with the system clock
of another.
1. To display the syntax of this command, open a Command window and type
NET TIME /?
Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler
Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler
TimeSynch.bat.
5. Right-click the file and click Edit to edit the file with the NET TIME command similar to the one for NET TIME \\BRIANN5 /SET
/YES.
Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler
Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler
OR
GROup
5. Type the user name LOCAL SERVICE then click on the button Check Names to make sure the name entered is correct. It should
look like Figure 5 (below).
Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler
Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler
Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler
Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler
Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler
AnD
ScRIpt
Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler
WItH
15. Click the Settings tab and set the task to Run as soon as possible if its scheduled start is missed (Figure 11 below).
Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler
Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler
mechanical, including photocopying, recording, broadcasting, or by anyinformation storage and retrieval system, without permission in writing from Invensys Systems, Inc.
Terms of Use.