Database Export
Some databases in the project can be exported as a .csv file to a USB stick, an external memory card or to the project files folder. The following databases are available for .csv export: alarm server, audit trail, and data logger.
Database export is not supported during project simulation.
Tip
To display certain characters (such as Chinese or Arabic) correctly in Excel, import the .csv file as text, and set the file origin to Unicode (UTF-8).
Setting up Database Export
The export is triggered via an action, Database Export, in the Database group.

Individual database tables may be selected for export by clicking the + sign.
The default properties for the database export is exporting the database to the project files folder with the name as given in the project.
Note
To facilitate exporting multiple databases at once, configuring multiple actions is recommended.
Clicking the ... button next to the selected database opens a dialog from which the default database export properties may be altered.
Export Database from HMI Panel
To export a database from the HMI Panel:
Note
For database export from an iX TxC panel, see the instructions in ???.
The export is triggered via an action. To set up the action, select the object and go to the Actions Ribbon Tab.
On desired action group, choose Select Action > Database > Database Export.
Note
If exporting multiple databases, configure one action for each database.
Click the + sign to select individual database tables for export.

Click the ... button next to the selected database. This opens a the Database Export dialog.

Configure the parameters and click OK.
Parameter
Description
Select a database to export
Select which database to export.
Select saving directory
Select whether to save the database to the Project Folder, a USB device or to an SD card.
Note
External Memory Card and USB are not available on PC or iX TxC. If an HMI panel project is converted to a PC project, then this selection is cleared.
Name of exported file
Select the name for the exported file. If the Overwrite box is unchecked, the export file name will include the date and time to prevent overwriting existing files.
Tip
If you leave the Overwrite box unchecked, the export file name will include the date and time to prevent overwriting existing files.
Select the delimiter in the export data
Select the delimiter in the .csv file: Comma or Semicolon.
Select what happens if the files exceed the folder limit
NOTE! Not available for Recipe Database Export.
Delete older files
Deletes the first 10% of files ordered by date once the folder limit is reached.
Group files by date
Files will be organized into folders named with the current date. If a folder exceeds the file limit, a new folder will be created with the current date and a number suffix (e.g., 20170309, 20170309_1, 20170309_2).
Database Export from PC
![]() |
It is possible to set another name of the export file. Leaving the Overwrite box unchecked adds date and time to the export file name, thus avoiding overwriting an existing export file.
The Browse and Select an Export Path option allows browsing for desired export destination in runtime. This may be useful if available folders in runtime are unknown when designing the project.
Select the Export to Path option when you want to set the path when designing the project. If the pre-defined path is not valid in runtime, the operator may browse the PC environment by clicking a browse button.
Note
Exporting to a specific path is not supported on HMI panel targets. If a PC project is converted to an HMI panel project, then this selection is cleared.
Related information |
|---|
