beautypg.com

Switching back manually to the primary path, Switching back manually to the primary path – 12 – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual

Page 590

background image

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

22–12

• •

For example, if the data log file is locked, data is buffered for the maximum time (in
minutes) you specify to buffer data before attempting a switchover. When the buffer time
elapses, a new set of files is created on the primary path.

If the model is logging to the secondary path and the file is locked, the behavior is the
same: the data is buffered, and then a new file set is created when the specified time
period has elapsed.

To open the Advance Configuration dialog box, in the Data Log Models editor, select
the Paths tab, and then click Advanced. For details about options in the Paths dialog box,
click Help.

Switching back manually to the primary path

To switch back to the primary path or ODBC database manually, use the FactoryTalk
View command DataLogSwitchBack.

You can only use the command to switch back to the primary path or database. You cannot
use it to switch from the primary path or ODBC database to the secondary or backup path.

The switchback is performed only if the specified data log model is running, FactoryTalk
View is logging data to the secondary or backup path, and the primary path or ODBC
database is available.

For data log models that use file sets, FactoryTalk View creates a new set of files when it
switches back to the primary path.

Using the DataLogSwitchBack command

You can use the DataLogSwitchBack command with either of these parameters:

DataLogSwitchBack <component> (where is a data log model name)
switches logging for the specified data log model.

DataLogSwitchBack * switches logging for all data log models that are currently
running.

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

If a secondary path is not set up, the data is buffered for 10 minutes (the default value for
maximum time). If the maximum time is set to zero, a new file set is started immediately.

Data logged to the secondary path is not moved automatically, when a switchback to the primary
occurs. To move the data manually, use the DataLogMergeToPrimary command. For details,
see “Moving data from the secondary path” on page 22-13.