Font size:
Appendix
Appendix A
The LOGGER TLM uses the C function “strftime()” with the %V conversion option
to set the week number (nn) in the log filename convention used.
[diskbase]/week-nn-[group].csv
Function: “strftime()” - format date and time
From the man page:
%V
The ISO 8601:1988 week number of the current year as a decimal number, range 01
to 53, where week 1 is the first week that has at least 4 days in the current
year, and with Monday as the first day of the week. See also %U and %W. (SU)
Reference
Appendix B
Example CSV log file generated using LOGGER.LST Configuration file
root@SMART[/storage]# cat week-04-first.csv Time,N0007:0000,F0008:0000,F0008:0003,PUSHBUTTON,R0006:0000.POS,LASTLOGERROR "Fri 28 Jan 2011 11:24:00",100,1234.432,1.234568e+09,1,1,8 "Fri 28 Jan 2011 11:25:00",100,1234.432,1.234568e+09,1,1,8 "Fri 28 Jan 2011 11:26:00",100,1234.432,1.234568e+09,0,1,8 "Fri 28 Jan 2011 11:27:00",99,1234.432,1.234568e+09,0,1,8 "Fri 28 Jan 2011 11:28:00",99,1234.432,1.234568e+09,0,1,8 "Fri 28 Jan 2011 11:29:00",99,1234.432,1.234568e+09,0,1,8 "Fri 28 Jan 2011 11:30:00",98,1234.432,1.234568e+09,0,1,8 "Fri 28 Jan 2011 11:31:00",97,1234.432,1.234568e+09,0,1,8 "Fri 28 Jan 2011 11:32:00",96,1234.432,1.234568e+09,0,1,8 "Fri 28 Jan 2011 11:33:00",95,1234.432,1.234568e+09,0,1,8