Export a data log
Export a configured data log from the HMI device to removable media to view tag values collected on the HMI device. The exported .zip file contains individual .csv files for each data log in the project. Open the exported data log file on a computer to view the values in the data log.
Prerequisites
- Insert an SD Card into the HMI device so the Data Log service can run and export.TIP:If a referenced tag does not exist in a controller or there is a communication issue with a controller,Tags are in errorappears at the bottom of theData Exportpopup that opens from theSettingsscreen.
To export a data log
- Open theSettingsscreen.
- SelectData Export. TheData Exportpopup opens and indicates that the Data Log service is running.
- UnderWhat to export,selectData logs.
- In theFilenamebox, enter a name for the export file. "archive_datalog"
- UnderDestination, selectSD CardorUSB Device.
- SelectExport.Export progressshows a progress bar. TheData Exportpopup displays the last date and time a data log exported at the top of the window.TIP:Tips:
- When the data log is exporting,Data Exportappears in theSystem Banner.
- If there is an error in logging data or exporting a data log,Data Export Errorappears in theSystem Banner.
- Data log exports do not complete or create a .zip file on removable media if a ControlFLASH, reboot, or power cycle to the HMI device occurs during the export or when removing media before the export is complete.
- There is no potential damage to files when removing a USB storage device when exporting the data log file completes.
IMPORTANT:
Do not remove an SD card before preparing the media for safe removal. This may corrupt files on the removable device.
- If an SD card contains the exported data log file, next toSD Card, selectSafely Remove SD Card. TheData Loggerstatus at the top of the Data Log popup changes toStoppedandRemove SD card; reinsert to resume logging dataappears.Data Log Removeappears in theSystem Banner. It is safe to remove the SD card.TIP:Tips:
- Data logging resumes when an SD card is inserted into the HMI device.
- Bad Quality tag values occur in the data log when:
- The HMI device is disconnected from a controller.
- A controller is not synchronized.
- An invalid tag is not defined in a controller or has an invalid address logged in the data log.
- When downloading a project to or restarting the HMI device, data may appear as Bad Quality until the Data Log service starts collecting data from a controller.
- When exporting a data log to an SD card or USB storage device, avoid an error message by ensuring that the SD card or USB storage device:
- Has sufficient space
- Is inserted into the HMI device
- Has write permissions
- Is a supported SD card type
- Has a supported format of either FAT32 or EXT3
- Is not corrupted and does not contain corrupted files
- If a data log does not export to a supported SD card that meets requirements, reboot the HMI device. If rebooting fails, insert the SD card into a computer and verify that the SD meets requirements. Follow any prompt to scan and repair the file system index on the SD card.
Provide Feedback