Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

FeatureDescription

Data Logging is one of the historical features of Canvas. This property allows users to track digital and analog tag data and save a log file of this data or display it with an object. The data is collected in real-time at specified intervals and in data blocks that the user configures. The generated log file can be converted into a CSV file and stored in a USB drive or an SD card.

Table of Contents
minLevel1
maxLevel4
include
outlinefalse
indent
excludeFeature Description
typelist
class
printabletrue
Panel
panelIconIdatlassian-warning
panelIcon:warning:
bgColor#FFF0B3

A data logging model must be created with registered tags for the Data Logging feature.

Designer Functionalities

Data Log Editor

To open the Data Log Editor window, click the Insert Data Log Table icon in the toolbar or go to Tools > Data Log Editor. This window contains the Logger Settings and Tag List tabs, where users can create new data logging models, add tags, and edit existing models.

  • Enable CSV Logging

Logger Settings

In the Logger Settings tab, users can name new data logging models, set the date and time format, when to start recording data, and how often.

  • Enable CSV Logging Settings

In the Tag List tab, users can see what tags are currently connected to the Data Logger selected, add or remove tags from it, or change the format of the tags. Tags with a data type of STRING are unable to change their formats.

Properties

Provides ways to customize the user’s Data Log Table.

To ensure the property windows are enabled, click View > Properties > Basic Properties, Appearance, Transform, or Actions and check the boxes.

Basic Properties

The Basic Properties window allows changing the displayed content and formatting within the object. The object’s name will show up in place of Basic Properties, as displayed to the right:

The Appearance pane enables colors and selections to alter visible characteristics.

Transform

The Transform tab provides adjustable properties that reshape or move the object.

There are currently no applicable actions for the Data Log object. This is intended, and there are no plans to add this capability.

Runtime Functionalities

Historical

While the program is running, the Data Log Table will automatically record data onto it. To go back and see past data from the Data Log table, users can scroll down through the history of it. From there, users can look at specific instances of the record to see data.

Each tag will create a new column of data for the user to look at. Time will always be available as a column for the user to view.

CSV Generation

The user can export past data log data to a CSV for record keeping. The user can transfer data to a USB, SD card, File Transfer Protocol (FTP), or local memory* on Linux Xpanel.

A CSV file can be created by creating a command set to Save Data Log CSV.

An example of what the CSV file would look like after generation is shown on the far right:

Info

Disclaimer: CIMON recommends exclusively using a USB or SD card for storage types. Saved CSV files to local memory are only accessible through an SSH connection.