36
Chapter 22 Setting up data logging
588
Rockwell Automation Publication VIEWSE-UM006K-EN-E
Specifying the storage format
In the Data Log Models editor, use the Setup tab to specify a log file
identifier string, storage format, and description for the data log model.
The log file identifier string becomes part of the file name. The description is
for information only.
If you select File Set as the storage format and you plan to log string tags,
you can also specify the number of characters to be logged.
For details about options in the Setup tab, click Help.
Selecting the ODBC database format
When you select ODBC database as the storage format, type the path and file
name of the ODBC data source, and specify the ODBC tables that will be
used, or create new tables.
To create tables for a new data source, click Create Tables. If FactoryTalk
View cannot create the tables automatically, you will have to open the
database using its editing tool, and create the tables manually.
To extend the length of the message to 1999 for a Microsoft SQL Server or
Oracle database, click Extend table. The default length of the message is
254. You can only extend the table when the length is between 254 and 1999.
To log a longer diagnostic messages to the database, select the Use long
message text check box. The message can be up to 1999 characters. If the
check box is not selected, the message can be no more than 254 characters.
Tip: Make sure the table is successfully extended before you
choose to log long messages. Otherwise the message
longer than 254 and all subsequent messages cannot be
logged until the length is extended.
To select an existing table from the specified database, click the Browse
button, and then select a table in the Select ODBC Table dialog box. To
view the order, type, length, and precision of the fields in the table, click the
table to select it and then click Details.
For more information, see Logging data to an existing ODBC data source on
page 590.
Setting up log paths
In the Data Log Models editor, use the Paths tab to set up logging paths.