Setting up and managing data log files, Specifying when to log data – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual
Page 586
![background image](/manuals/581457/586/background.png)
F
ACTORY
T
ALK
V
IEW
S
ITE
E
DITION
U
SER
’
S
G
UIDE
22–8
• •
•
•
•
Setting up and managing data log files
In the Data Log Models editor, use the File Management tab to specify when to start
new files and when to delete old files.
Creating new file sets
If the data log model uses file sets, you can set up data logging to create new file sets:
Periodically.
At specified times.
When a particular event occurs.
Never. This means that all data will be logged to one file set.
Log files are saved in the folder you specify in the Paths tab.
Deleting file sets and ODBC database records
If a data log model uses file sets, you can set up file management to delete file sets after a
specified period or once a specified number of file sets has been created. To never delete
file sets, clear the check boxes under Delete Oldest Files.
Data log file sets are deleted only when a new file set is created. If the application creates
a new file set each day and deletes the oldest file set every third day, there will be file sets
for the three previous days’ data, as well as a file set for the current day.
If a data log model uses the ODBC database format, you can purge old records from the
database using standard relational database tools or SQL queries. You can also set up
FactoryTalk View to delete (purge) records in the ODBC database after a specified time.
For details about options in the File Management tab, click Help.
Specifying when to log data
In the Data Log Models editor, use the Log Triggers tab to specify what will trigger the
data to be logged, and when or how frequently this will occur.
You can set up data logging to log tag values:
Periodically. This is called periodic logging.
Only when a tag’s value changes. This is called on-change logging.
When a particular event occurs and triggers the DataLogSnapshot command. This is
called on-demand logging. For more information, see page 22-14.
If the data log model uses the ODBC format, data is added continually to the same database, so
this section does not apply.