23
GATEWAY SPECIFICATION - WebdynPulse
WebdynPulse – Gateway specification - Version 2.0
6.3 Setting the unit date and time
The WebdynPulse unit timestamps all its data and log entries. As a result, it is necessary to set its
time and date reliably. The real-time clock is therefore synchronized with a remote NTP server as a
matter of course every time the unit connects to the Internet.
To choose an NTP server, you must modify the variables listed below in the
prefixID
_config.ini
configuration file available on the server, then force the unit to connect to the remote server.
Variable
Definition
Default value
NTP_Server1
IP address for the main NTP server
(up to 29 characters)
pool.ntp.org
NTP_Server2
IP address for the backup NTP server
(up to 29 characters)
empty
An option to force NTP resynchronization after a restart following a power failure is enabled by
setting to 1 the variable “NTP_SyncPowerLoss” in the configuration file
prefixID
_config.ini.
Variable
Definition
Default value
NTP_SyncPowerLoss
Option to force NTP resynchronisation after a power
failure.
If this option is enabled, an NTP connection will be
established after the gateway restarts following a
power failure.
0=Disabled
1=Enabled
0
All timestamping of data and events is carried out using GMT.
6.4 Connation modes and periods
There are four modes of connection to a remote server:
•
Manual connection
•
Periodic automatic connection
•
Automatic connection at fixed times
•
Automatic connection on data capture
In the case of automatic connection, the connection type is chosen depending on the
prefixID
_var.ini
configuration file.