Configuration
Operating Manual PITreader, PITreader Firmware V1.5.x
1004806-EN-08
| 42
} The CSV file must contain two columns. The first column must contain the security ID and
the second column the comment.
} The first line of the CSV file can contain column headings and is skipped during import.
} Each security ID may appear only once in the block list. Before importing you should
check that there are no duplicated entries in the CSV file.
} Fields and values may be framed in quotation marks ("). If a field or value contains a quo-
tation mark, the whole field must be framed in quotation marks and the quotation marks
inside the field duplicated.
} A semicolon is used as the separator.
} During import, the imported entries replace all the block list entries in the web application.
See also Block list [ 26].
8.13 Configure user data
In order for the user data to be employed, the parameters must be created on the
PITreader. This can be done using the REST API (see operating manual PITreader REST
API). Alternatively, a configuration file with the parameters can be imported in the web ap-
plication.
The configuration file is imported in the web application under Configuration -> User data.
The configuration file is a JSON file, which can be created and edited using any text editor.
For example, if you should create a parameter with the parameter-ID 10000, the name "my-
Parameter", the STRING data type (type ID = 1) and a maximum number of 30 characters,
the configuration file will contain the following:
{
"version": 1,
"comment": "Custom example",
"parameters": [
{ "id": 10000, "name": "myParameter", "type": 1, "size": 31 }
]
}
"size" only needs to be stated with the STRING data type. The stated number of characters
is 1 greater than the desired number of characters.
The parameters currently available on the PITreader are displayed in the web application
under Configuration -> User data. The user data can be versioned. A comment may be
added to the version. The comment may contain all valid UTF-8 characters.
The parameters currently created on the PITreader can be exported to a configuration file.
INFORMATION
If you only wish to extend the number of device groups to more than 32, you
can use the JSON file supplied with the firmware update as the configura-
tion file. You can simply import the file.