Issue:
There is a strange file in my logged data folder stating files have been renamed
Product Line:
Vijeo Designer (all versions)
Resolution:
The Vijeo Designer Data Logging System has a mechanism to detect when the system time or date is set backwards in time (with the exception to DST). When this occurs, the existing data logging file (ex. 020415.dat) will be renamed to have _OLD appended to its file name (ex. 020415_OLD.dat).
The reason for this is so that the previously logged data is backed up somewhere and is not overwritten when the "new" time reaches the so called "future" time that exists in the old file. Here is an example of what is inside the log file. Notice the now timestamp vs the file time stamp. It indicates that the file was created at a date in the future in respect to the current date. This medans the date or time was moved backwards manually.
HMI date/time: 2015/11/13, 3:47:58pm, timezone offset = 300 tag name: ION_7500_Var.kW_Tot, filename: /USBHD/00/PUBLIC/Projects/Ecran_7500_deport/Data/Log/ION_7500_Var.kW_Tot/D1510290.DAT reasons for renaming: start of day changed: false, project top of day in minutes = 0, file = 0 this file has future data: true, now timestamp = 1447447668, file timestamp = 1447451136 this file older than previous file: false, 1446076800 < 946684800
HMI date/time: 2015/11/13, 3:48:00pm, timezone offset = 300 tag name: ION_7500_Var.kWh_2, filename: /USBHD/00/PUBLIC/Projects/Ecran_7500_deport/Data/Log/ION_7500_Var.kWh_2/D1510290.DAT reasons for renaming: start of day changed: false, project top of day in minutes = 0, file = 0 this file has future data: true, now timestamp = 1447447680, file timestamp = 1447450692 this file older than previous file: false, 1446076800 < 946684800
HMI date/time: 2015/11/13, 3:48:01pm, timezone offset = 300 tag name: Test_Log, filename: /USBHD/00/PUBLIC/Projects/Ecran_7500_deport/Data/Log/Test_Log/D1510290.DAT reasons for renaming: start of day changed: false, project top of day in minutes = 0, file = 0 this file has future data: true, now timestamp = 1447447681, file timestamp = 1447450692 this file older than previous file: false, 1446076800 < 946684800
There is a strange file in my logged data folder stating files have been renamed
Product Line:
Vijeo Designer (all versions)
Resolution:
The Vijeo Designer Data Logging System has a mechanism to detect when the system time or date is set backwards in time (with the exception to DST). When this occurs, the existing data logging file (ex. 020415.dat) will be renamed to have _OLD appended to its file name (ex. 020415_OLD.dat).
The reason for this is so that the previously logged data is backed up somewhere and is not overwritten when the "new" time reaches the so called "future" time that exists in the old file. Here is an example of what is inside the log file. Notice the now timestamp vs the file time stamp. It indicates that the file was created at a date in the future in respect to the current date. This medans the date or time was moved backwards manually.
HMI date/time: 2015/11/13, 3:47:58pm, timezone offset = 300 tag name: ION_7500_Var.kW_Tot, filename: /USBHD/00/PUBLIC/Projects/Ecran_7500_deport/Data/Log/ION_7500_Var.kW_Tot/D1510290.DAT reasons for renaming: start of day changed: false, project top of day in minutes = 0, file = 0 this file has future data: true, now timestamp = 1447447668, file timestamp = 1447451136 this file older than previous file: false, 1446076800 < 946684800
HMI date/time: 2015/11/13, 3:48:00pm, timezone offset = 300 tag name: ION_7500_Var.kWh_2, filename: /USBHD/00/PUBLIC/Projects/Ecran_7500_deport/Data/Log/ION_7500_Var.kWh_2/D1510290.DAT reasons for renaming: start of day changed: false, project top of day in minutes = 0, file = 0 this file has future data: true, now timestamp = 1447447680, file timestamp = 1447450692 this file older than previous file: false, 1446076800 < 946684800
HMI date/time: 2015/11/13, 3:48:01pm, timezone offset = 300 tag name: Test_Log, filename: /USBHD/00/PUBLIC/Projects/Ecran_7500_deport/Data/Log/Test_Log/D1510290.DAT reasons for renaming: start of day changed: false, project top of day in minutes = 0, file = 0 this file has future data: true, now timestamp = 1447447681, file timestamp = 1447450692 this file older than previous file: false, 1446076800 < 946684800