13.07.2015 Views

RSView Supervisory Edition Installation Guide

RSView Supervisory Edition Installation Guide

RSView Supervisory Edition Installation Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• • • • •RSVIEW SUPERVISORY EDITION USER’S GUIDEYou can use the DataLogMergeToPrimary command anywhere you can type an <strong>RSView</strong>command or macro.If a model is running when you issue the command, <strong>RSView</strong> also performs a switchbackto the primary path or ODBC database for the specified model or all running models. If amodel uses file sets, <strong>RSView</strong> moves all files on the secondary path (including the currentfile set) to the primary path, begins a new file set on the primary path, and then continueslogging to the new file set. If a model uses the ODBC format, <strong>RSView</strong> merges the data inthe ODBC backup files into the ODBC database, and then continues logging to theODBC database.To restore the secondary or backup data, enable operators to issue theDataLogMergeToPrimary command at run time. For example, you could create a buttonobject and use the command as the press action.Using the DataLogNewFile commandYou can create new ODBC backup files and new file sets using the DataLogNewFilecommand with these parameters:• DataLogNewFile (where is a data log model name)creates a new file set for the specified data log model.• DataLogNewFile * creates a new file set for all data log models that are currentlyrunning.You can use the DataLogNewFile command anywhere you can type an <strong>RSView</strong> commandor macro.If a data log model uses the ODBC format, the command creates a new set of backup filesif <strong>RSView</strong> is logging to the backup path when you issues this command. If <strong>RSView</strong> islogging to the ODBC database, <strong>RSView</strong> logs an End Snapshot and then a Begin Snapshotwhen you issue this command.If a data log model uses file sets, DataLogNewFile starts a new file set regardless of whennew files have been set up to start for the data log model. The new file set is created in thesame location that <strong>RSView</strong> is currently logging to.DataLogNewFile records two snapshots of data: an End Record in the old file, and aBegin Record in the new file. It is not necessary to use the DataLogSnapshot command inthis case.To enable operators to issue the DataLogNewFile command at run time, you could createa button object and use the command as the press action.13-10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!