What is Data Logging
11-1
What is Data Logging
11-2
Data Log Editor
11-2-1 Configuring Data Sets and Logging Settings
This chapter describes the CX-Supervisor data logging facilities including how
to configure items to be logged, the logging of data and the viewing and
exporting of recorded data.
The concept of the Data Logger is the ability to define a number of points and
expressions during development which may be recorded while the CX-
Supervisor project is being executed in runtime. These events may be viewed
at runtime and recorded for future evaluation. They may also be exported to
other programs such as Microsoft Excel.
The recorded events are stored in one or more Data Sets, which can then be
viewed using the Data Log Viewer. The events to be recorded are defined by
the developer and any number of Data Sets may be used to record specific
areas or types of events either automatically at runtime or as specified by the
developer.
As an aid to viewing a number of particular events in isolation Data Sets can
be subdivided into data Groups. Specific areas of related data can then be
stored in these groups which can then be viewed either singly or with other
groups within a Data Set.
The main elements of the CX-Supervisor Data Logger are:
•
Data Logger Editor: used to configure items to be logged
•
Data Logging at Runtime: the actual logging of the data
•
Data Log Viewer: used to view the logged data
•
Remote Data Viewer: enables viewing separately from the runtime system
•
Data Log Export facility: enables export to other programs (e.g. MS Excel)
•
Script Functions: gives full control over the logging process
The Data Sets, data Groups and Items to log are configured from the Logging
Tab at the bottom of the Development Workspace editor. Items are edited
using a right mouse-button context sensitive menu. The option available from
the menu are:
•
Edit: enable the parameters of the selected Data Set, Group or Item to be
edited.
•
Cut, Copy, and Paste: enables the selected Item to be cut or copied and
then pasted into a Data Set or Group.
•
Delete: will delete the selected entry.
•
Add DataSet, Add Group and Add Item: enables new Data Sets, Groups
and Items to be added to the selected entry.
SECTION 11 Data Logging
SECTION 11
Data Logging
165