Switching log paths at run time, Setting up switching options, Switching log paths at run time – 11 – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual

Page 589: Setting up switching options – 11

Advertising
background image

22

S

ETTING

UP

DATA

LOGGING

22–11

• •

22

Pla
ceho

lde

r

DataLogNewFile * creates a new file set for all data log models that are currently
running.

You can use the DataLogNewFile command anywhere you can type a FactoryTalk View
command or macro.

To provide operators with a way to create new files at run time, create a button object in a
graphic display, or a display key or client key, that uses DataLogNewFile as the press
action.

Switching log paths at run time

FactoryTalk View lets you specify a secondary or backup path to be used in the event the
primary path for file sets, or the ODBC database, becomes unavailable. This could
happen due to a network failure, or lack of disk space on the computer where the data is
being logged.

If the primary data log location becomes unavailable, FactoryTalk View begins to store
the data in a buffer.

The buffer can hold up to 64 Kb of data. If the primary location is still unavailable when
the buffer fills, or when the maximum amount of time to buffer data has elapsed,
FactoryTalk View switches to the secondary path.

FactoryTalk View checks periodically to determine whether the primary file path has
become available again. Once it is available, FactoryTalk View switches back
automatically.

If the secondary path becomes unavailable, FactoryTalk View also checks the status of the
primary path, and will switch back if possible. If both paths are unavailable, FactoryTalk
View buffers the data.

If the buffer fills and both paths are still unavailable, FactoryTalk View empties the buffer
(the data in the buffer is lost) and begins storing new data in the buffer. FactoryTalk View
continues checking both paths until one becomes available.

Setting up switching options

In the Advance Configuration dialog box, you can specify the length of time data will be
buffered before switching to the secondary path, and when data logging will switch back
to the primary path.

For data log models that use the file set format, FactoryTalk View creates a new file set each time
the logging path changes.

Advertising