Skip to main content

Data Table

- PI Vision Widget -

Revision History

Revision No.DateAuthorDocument IDDescription of changes
10.1January 2026RSEW_DataTable_v10.1- Added a trailing zero as a parameter in config. - Added the ability to receive data as recorded and not interpolated in config. - Bugfix: the widget correctly generates the webId when created using pi points. - Bugfix: correctly generates the headers when downloading data as .csv and .xlxs - Bugfix for numbers displayed in the table. They are now displayed correctly based on the browser culture.
10.0January 2026RSEW_DataTable_v10.0Compatibility PIVision 2025, changed configOptions function functionality and changed colors selection visuals. supportsCollections setted to false.
9.3October 2025RSEW_DataTable_v9.3With the start date and end time set to the same date, the specific values of the attributes ​​are exported to the .csv .xlsx file.
9.2June 2025RSEW_DataTable_v9.2Added select REST provider
9.1May 2025RSEW_DataTable_v9.1Added feature Get Support
9.0March 2025ALEW_DataTable_v9.0Compatibility with PIVision 2024 and new widget style introduced
8.1August 2023MDCEW_DataTable_v8.1BugFix
8.0August 2023FMEW_DataTable_v8.0Compatibility PI Vision 2023
7.2March 2023MDCEW_DataTable_v7.2Added 1 month interval
7.1October 2022MDCEW_DataTable_v7.1English language default
7.0August 2022AMEW_DataTable_v7.0Compatibility PI Vision 2022
6.5June 2022MDCEW_DataTable_v6.5Label management improvement
6.4April 2022MDCEW_DataTable_v6.4WebAPI management on a different server
6.3March 2022MDCEW_DataTable_v6.3BugFix
6.2March 2022MDCEW_DataTable_v6.2Introduction of "Simple" and "Advanced" modes
6.1November 2021CCEW_DataTable_v6.1New features
6.0October 2021MDCEW_DataTable_v6.0Compatibility PI Vision 2021
5.2July 2021MDCEW_DataTable_v5.2Special characters management
5.1April 2021MDCEW_DataTable_v5.1BugFix
5.0March 2021MDCEW_DataTable_v5.0New graphic release and possibility to save a different time range
4.0October 2020OSEW_DataTable_v4.0Compatibility PI Vision 2020
2.3.1August 2020MDVEW_DataTable_v2.3Revision of documentation
2.3December 2019PCEW_DataTable_v2.3Support to data expiration
2.2May 2019PCEW_DataTable_v2.2Support to &, # and + in element name
2.1March 2019GIEW_DataTable_v2.1Restyle and revision of documentation
2.1March 2018GTTQS_DataTable_v2.1Modification of the installation procedure following the modification of the libraries used to download the data in Excel format
2.0.1January 2018PCTQS_DataTable_v2.0.1Review and add some configuration parameters
2.0November 2017GTTQS_DataTable_v2.0Restyle widget configuration; Change to the installation procedure
1.0September 2017GTTQS_DataTable_v1.0First version documentation

Document References

DocumentDescription
PI Vision Installation and Administration GuidePI Vision™ user manual from AVEVA

Introduction

The EW Data Table widget displays sampled data in PI Vision, similar to the Sample Data function of PI Datalink, which shows data at regular time intervals starting from the current data in the archive over a time range independent of the display.

This widget lets you set the following parameters:

  • Start Time (selectable with a calendar and a clock)
  • End Time (selectable with a calendar and a clock)
  • Interval (selectable via a combo box)

PI Vision from AVEVA , available since 2017, enables viewing real‑time data from the PI Data Archive and data organized in assets from the AVEVA Asset Framework (PI-AF).
To access PI Vision displays, navigate to:
https://webServer/PIVision (replace “webServer” with the correct name of the webserver machine)

The widget is supported by modern HTML5-compatible browsers on computers, tablets, and phones running Android and iOS.
Configuration is intuitive – simply drag and drop the control into the display.

Definitions, Acronyms And Abbreviations

Acronyms and definitions that are used in the current manual are listed below.

TermDefinition

Operating Principles And Use

To insert the Data Table, select the corresponding icon and navigate to the asset you want to view. Then, drag the control into the display area.

Figure 1 – Widget icon

When you release the mouse, the table is displayed with the same time range as the PI Vision display and an interval of 1 hour.

Figure 2 – Inserting the Data Table

By opening the contextual menu (right-click), further customizations and configurations are available.

Figure 3 – Contextual Menu

Functionality and use

To view the data, set the widget parameters:

  • Start Time: selectable with a calendar and clock
  • End Time: selectable with a calendar and clock
  • Interval: selectable via a combo box

To apply the widget parameters is mandatory to confirm the selections with the provided button situated in the top right of the widget.

Figure 4 - Confirm selections button

The table displays the timestamp in the first column. Starting from the start time, each subsequent row adds the defined interval until reaching the end time.
Hovering over a column header displays the full context path of the data; clicking the “x” next to a header removes that column. Columns can be resized by dragging the right handle that appears between two columns. A vertical scroll bar appears if necessary.

Figure 5 – Data Table

The Download button lets you generate an XLSX or CSV file (as configured) with the table data. The file is automatically saved in your download folder with a name formatted as DataTable_YYYYMMDDhhmmss.

Using the button shown in Figure 5, you can sort the rows by time in ascending or descending order.

Figure 6 – Sort by time ascending/descending

Customization and configuration

The widget configuration allows you to change appearance elements such as colours, text size, and language.

Language

In the Language section, select the language for labels and configuration parameters.

Figure 7 – Language choice

Modality

The modality section allows the user to modify:

Figure 8 – Modality section

Mode:

  • Simple mode: The table’s time range is directly linked to the display’s timebar; only the interval can be changed.
  • Advanced mode: (Default) provides additional configuration options.

Figure 9 – Simple mode

Figure 10 - Advanced mode

Data retrieve mode:

  • Interpolated (default): Retrieves data as interpolated between start time and end time with the specified interval.
  • Recorded: Retrieves data as recorded. The data of the attributes are taken based on the timestamps of the first attribute present in the first column that is used to generate the table. In our case, the values for 3d_plot_y and 3d_plot_z, are taken based on the timestamps of 3d_plot_x.
Figure 11 - Data retrieved as recorded

If there is no recorded data for the selected attribute in the selected time range an alert will be present.

Figure 12 - No data found alert

If there are too many requests for the attributes in the table an alert will be present.

Figure 13 - High volume of data requested

Update Inverval:
The interval in seconds between each update of the data present in the table.

Format:
Choose the export format (XLSX or CSV) for the table data.
If the same Start and End Time are chosen for the export, the generated file will contain the punctual values of the datasources.

Figure 14 - Same start/end date

Figure 15 - Generated .csv file

Configurations

In the configuration section the user can modify:

Figure 16 – Configurations
  • Server WebAPI: Specify the WebAPI server if it differs from the PI Vision server.
  • Number of decimals: Customize the number of decimal places to display.
  • Trailing zeros: If the number of decimals is more than 0 this option will appear. If checked, the values will have trailing zeros if the number of decimals does not match the number chosen in the number of decimals configuration. For example if the number of decimals is 3, the number 50,3, will become 50,300.
  • Save interval in configuration: Select this option so that the widget is independent of the display’s time range; it will then use the dates defined in the widget.
  • Show Element name: the name of the element containing the attribute will be displayed as the header of the table.
  • Date format: Customize how timestamps are displayed in the table.
  • Rest Provider: Allows the user to select between default or custom protocol for api requests.

Asset order

Allows the user to decide the assets order and the label to be displayed for said asset.

Figure 17 - Asset order

Appearance settings

In this section is possible to change the graphic settings of the widget for:

  • Title;
  • Title size;
  • Title color;
  • Text size;
  • Table max height;
  • Table header text color;
  • Table header background color;
  • Table text color;
  • Table background color;
  • Selected row color;
  • Background color of the widget;
  • Table borders color;
Figure 18 - Appearance Settings

Colors Selection

To select a color click on the color’s dropdown menu. The Gradient panel will open. From this panel the user can select which color, transparency or color format he wants. A second panel named Palette view is present if the user wants to select from a few pre-determined colors. Confirm with the button .

Figure 19 - Choice of color

Contacts

Get Support button (read Get Support documentation)

Link to e-matica.com (click on the icon)

Link to widget online documentation (click on link)

Figure 20 – Contacts

Installation

Requirements

In order to install the product, minimum requirements are listed in the table below:

SoftwareVersionNote
PI Vision2025 (*)Requirements are linked to the PI Vision correct functioning
Table 1 - Installation prerequisites

(*)This widget is also compatible with PI Vision 2024, 2023, 2022, 2021, 2020 and 2019.

We suggest using Google Chrome for full compatibility with the widget.

Installation procedure

Widget Installer

To install the widget’s files and common libraries using the widget installer follow the guide at this link:
https://documentation.e-matica.com/docs/WidgetInstaller.

Manual installation

The installation procedure includes a copy of the folders and files in the default path of the PI Vision.
In particular, it is necessary to copy the following files in the folder

...\PIPC\PIVision\Scripts\app\editor\symbols\ext
  1. Copy Files:
    Copy the following files into the folder:
    ..\PIPC\PIVision\Scripts\app\editor\symbols\ext

    • sym-EWDataTable.js
    • sym-EWDataTable-config.html
    • sym-EWDataTable-template.html
  2. Copy Folders:
    In the folder ..\PIPC\PIVision\Public, copy the following:

    • Images: Contains the control icon EWDataTable.png
    • Libs: Contains the libraries: EWClasses.js, moment.js, and xlsx.min.js

Notes And References

For more information about Vision PI refer to documentation on AVEVA © portal.
For information about the web service to refer to the specific documentation.