The file with descriptions of devices contains an enumeration of devices, their types, and connection IDs. A connection ID specified in the device description file is used in the connections and protocols description file for purposes of linking with tags and protocols.
If you use different protocols with different sets of tags, you have to use several connections for one device. Connection IDs in each row of the devices.csv file have to be unique.
The file should begin with header strings containing the data needed for file processing. An example of header strings of the devices.csv file is provided below.
Example:
|
Header strings of the devices.csv file contain the following values:
Devices
The name of the CSV file is specified in this string. Devices
– the name of the device description file. The data file name corresponds to the file purpose and is defined for each file in the set.
Format Version;KICS Importer Version
This string specifies the version of the file format and the version of the tool using which the file was created. Specify the value V1.0.0.0 for the parameter Format version
. It is then recommended to specify the name and version of the tool that was used to create the CSV file.
Field separator: ; Decimal separator: . Text quotes: " Var name separator: .
Use this string to specify the separators used in the data file:
Field separator: ;
Decimal separator: .
Text quotes: "
Var name separator: .
Device;Type;Connection
This string contains the names of columns with data. Data in the file should be arranged according to the following order of columns:
Device
– device name.Type
– device type code. The following codes are used:Connection
is the connection ID from the connections.csv file containing a description of connections and protocols.The header strings are followed by the file body containing the values of parameters (device name, device type code, connection ID). An example of the devices.csv file is provided below.
Example:
|