Very often, you need to export data from data-logs into the CSV files. Doing it in mySCADA is very easy and straightforward. All you have to do is:
- Create a data-log and fill it with data
- Use the data-log function, it is located in the toolbar of script window
- You will be presented with the Read data-log data function
- Tick the “Export to CSV” option and Press “OK” to generate the code:
When this code is run, mySCADA will read values for the previous one hour (specified by timeFrom) and save them into the file called datalog_export.csv
If the file exists, it is overwritten. If you want to append data to this file instead, please use option “append.” This way when you run the script, new data will always append to the end of the file.