Offline Clock Configuration With Configuration File; Configuration File Structure; Sections; Variables And Values - Novatech Kronos 2 Series User Manual

Table of Contents

Advertisement

5 Offline Clock Configuration with Configuration File

This section describes the offline configuration of the clock by editing the configuration file on a PC. This
requires using an SFTP client on the PC to download the configuration file from the clock and then upload
the edited configuration file to the clock again. The SFTP access is described in section
5.1

Configuration File Structure

The configuration file is a single text file (ASCII file) which is segmented into sections. In each section there
are one or more variables. Values are assigned to variables using the equal sign ('=').
The structure is very similar to the INI files used in Microsoft Windows. See
Configuration File
for a complete sample configuration file.
The configuration file is named kronos3.cfg. It can be downloaded/uploaded using the SFTP protocol (user
cfg, see section
SFTP
Access). Some SFTP clients also allow online editing of the configuration file. If
editing offline, use only ASCII text editors (like Windows Notepad).
Note:
Do NOT use a word processor (like Microsoft Word or WordPad) to edit the configuration
file. Word processors insert hidden formatting characters that are not correctly interpreted
by the clock.
Sections and variables are case insensitive. Any combination of uppercase and lowercase letters can be
used. Most values are also case insensitive, except for passwords which are case sensitive. Spaces (ASCII
32) and tabs (ASCII 08) can be freely used to improve the legibility of the configuration file.

5.1.1 Sections

The configuration file is segmented into Sections. A section name is enclosed in square brackets and must
be the only text on a line. Section names are case insensitive. Example:
[SectionName]
Note:
Section names should be kept on a line of their own. Comments (see below) are NOT allowed
on lines with section names.

5.1.2 Variables and Values

In any section there are one or more variables, declared with the following syntax:
Variable = value
Variable names are case insensitive. The value is any character on the right side of the equal sign. Quotes
can be used to enclose the values, but they are not required. If no quotes are present, the value is
understood as containing all characters between the first and the last non-blank characters before the
comment. If quotes are present, the value is understood as containing all characters between the quotes,
with the quotes themselves not being considered to be part of the value.
37
Kronos Series 3
SFTP
Access.
Appendix E – Sample

Advertisement

Table of Contents
loading

Related Products for Novatech Kronos 2 Series

This manual is also suitable for:

Kronos 3 series

Table of Contents