4/24/2024 2:24 PM | |
Posts: 14 Rating: (0) |
|
4/25/2024 5:55 AM | |
Joined: 1/21/2013 Last visit: 1/17/2025 Posts: 3436 Rating: (542)
|
Hi Clem_123456789, On a Unified Panel, logging is always done using SQLite databases. The db3 files you mentioned are these databases. The easiest way to create CSV files from the databases is to use JavaScript on the panel itself. You can find code snippets that demonstrate how to do this on the TIA Portal. Just right click on any JavaScript code and select "Snippets > HMI Runtime > Alarm Logging > Export alarm log as CSV" or "Snippets > HMI Runtime >Tag Logging > Export tag log as CSV". However, instead of exporting the data to CSV on the Panel, you can also read the SQLite databases and do what you want. All you need is a program that can read SQLite databases. However, since there is no written documentation about the structure of the database, you will have to figure it out yourself. Here are just a few hints that might help you parse the SQLite databases for your own:
Kind regards |
Follow us on