Multi Manual Data Entry
- PI Vision Widget -
Revision History
| Revision No. | Date | Author | Document ID | Description of changes |
|---|---|---|---|---|
| 9.2 | June 2025 | RS | EW_MultipleManualDataEntry_9.2_en.doc | Added select REST provider |
| 9.1 | May 2025 | RS | EW_MultipleManualDataEntry_9.1_en.doc | Added feature Get Support |
| 9.0 | March 2025 | AL | EW_MultipleManualDataEntry_9.0_en.doc | Compatibility with PIVision 2024 and new widget style introduced |
| 8.4 | March 2024 | MDC | EW_MultipleManualDataEntry_8.4_en.doc | Ability to hide "New value" column |
| 8.3 | February 2024 | MDC | EW_MultipleManualDataEntry_8.3_en.doc | Bugfix |
| 8.2 | November 2023 | MDC | EW_MultipleManualDataEntry_8.2_en.doc | Bugfix |
| 8.1 | November 2023 | MDC | EW_MultipleManualDataEntry_8.1_en.doc | Bugfix |
| 8.0 | August 2023 | FM | EW_MultipleManualDataEntry_8.0_en.doc | Compatibility PIVision 2023 |
| 7.4 | June 2023 | MDC | EW_MultipleManualDataEntry_v7.4_en.doc | UOM visualization |
| 7.3 | May 2023 | MDC | EW_MultipleManualDataEntry_v7.3_en.doc | Possibility of not managing milliseconds |
| 7.2 | February 2023 | MDC | EW_MultipleManualDataEntry_v7.2_en.doc | BugFix |
| 7.1 | October 2022 | MDC | EW_MultipleManualDataEntry_v7.1_en.doc | Asset management in configuration |
| 7.0 | August 2022 | AM | EW_MultipleManualDataEntry_v7.0_en.doc | Compatibility PIVision 2022 |
| 6.0 | October 2021 | MDC | EW_MultipleManualDataEntry_v6.0_en.doc | Compatibility PIVision 2021 |
| 4.0 | October 2020 | OS | EW_MultipleManualDataEntry_v4.0_en.doc | Compatibility PIVision 2020 |
| 2.16 | October 2020 | OS | EW_MultipleManualDataEntry_v2.16_en.doc | Possibility to choose the value of an attribute from AF Table |
| 2.15.1 | August 2020 | OS | EW_MultipleManualDataEntry_v2.15.1_en.doc | Revision and manual restyling |
| 2.15 | April 2020 | MDC | EW_MultipleManualDataEntry_v2.15.doc | Writing on stream and not on attribute |
| 2.14 | April 2020 | MDC | EW_MultipleManualDataEntry_v2.14.doc | Change response images; Configurable response icon size; |
| 2.13 | March 2020 | MDC | EW_MultipleManualDataEntry_v2.13.doc | BugFix Collections |
| 2.12 | March 2020 | MDC | EW_MultipleManualDataEntry_v2.12.doc | Input text size |
| 2.11 | February 2020 | PC | EW_MultipleManualDataEntry_v2.11.doc | BugFix |
| 2.10 | January 2020 | PC | EW_MultipleManualDataEntry_v2.10.doc | Enlarged input data box; Collection support; Possibility to hide the data field in configuration; Button proportions based on the size of their text; Sensitivity to standard asset switching |
| 2.9 | December 2019 | PC | EW_MultipleManualDataEntry_v2.9.doc | BugFix |
| 2.8 | December 2019 | PC | EW_MultipleManualDataEntry_v2.8.doc | BugFix |
| 2.7 | November 2019 | PC | EW_MultipleManualDataEntry_v2.7.doc | BugFix |
| 2.6 | October 2019 | PC | EW_MultipleManualDataEntry_v2.6.doc | Synchronization with the display time; Ability to hide the current value; Ability to hide the name of the attribute; Expiry date support; |
| 2.5 | September 2019 | PC | EW_MultipleManualDataEntry_v2.5.doc | Reset button with default subattribute; Performance increase |
| 2.4 | July 2019 | PC | EW_MultipleManualDataEntry_v2.4.doc | "+" Character support in the attribute name |
| 2.3 | June 2019 | PC | EW_MultipleManualDataEntry_v2.3.doc | BugFix and even multi-language interface |
| 2.1 | March 2019 | GI | EW_MultipleManualDataEntry_v2.1.doc | Revision and manual restyling |
| 1.1 | February 2018 | GT | TQService_MultipleManaualDataEntry_v1.1 | User Management guide Improved |
| 1.0 | January 2018 | GT | TQService_MultipleManaualDataEntry_v1.0 | First version |
Document References
| Document | Description |
|---|---|
| PI Vision Installation and Administration Guide | PI Vision™ user manual from AVEVA |
Introduction
The Multiple Manual Data Entry (MMDE) widget allows users to enter, via a PI Vision web page, a new value in an AF attribute and possibly perform a recalculation analysis, calling up a dedicated Web Service.
The PI Vision of AVEVA is available from 2017 and allows viewing real-time data from PI Data Archive and data organized in assets from the AVEVA Asset Framework (PI-AF). In order to achieve PI Vision displays, simply access https://webServer/PIVision (indicating the correct name of the webserver machine).
The most recent versions of most HTML5 compatible browsers are supported on computers, tablets, and phones running Android and iOS.
In PI Vision, the configuration of the elements is quite intuitive and is characterized by a simple drag-and-drop of the control into the display.
Definitions, Acronyms And Abbreviations
Acronyms and definitions that are used in the current manual are listed below.
| Term | Definition |
|---|
Operating Principles And Use
To insert the widget, select the corresponding icon and navigate to the asset to be displayed and drag all the attributes involved by the Manual Input in the display area.
Figure 1 - PI Vision Menu
Then by selecting the contextual menu you can access the specific configuration of the widget.
Figure 2 - Contextual Menu
Functionality and use
Widget use is very intuitive. On a PI Vision display it shows a form containing:
- 3 cells corresponding to:
- The Current Value displayed and not editable
- The New Value, editable, for the insertion of the new value
- The Date and Time, editable, for the insertion of the date and time of the new value
- confirmation input button
- enable recalculation button (visible only if the user configures the web service recalculation)
Figure 3 - Widget Data Entry
Inserting value in AF
In the row labeled New Value, the user can specify the new value of each of the attributes displayed in the widget.
Once the compilation is completed, the confirmation button writes in AF. If the attribute is configured with PIPoint data reference and ReadOnly flag = False, writing is also performed on the tag.
Recalculation
If the widget is also configured for recalculation using web services, another button is displayed next to the previous one, to enable recalculation with the configuration of additional parameters.
Figure 4 - Enable button Recalc
You can specify the recalculation start/end interval either by filling in the field manually or by using the calendar and clock buttons located next to the editable labels.
Figure 5 - Enabling Recalc
The execution of the recalculation takes place only when the user proceeds with the confirmation using the appropriate button. Otherwise, it is possible to leave the activity with the Cancel button.
Customization and configuration
The widget configuration allows you to change the look in terms of colors, text size, and display language.
Language
The section International allows users to choose the language with which the user visualizes labels and configuration parameters.
Figure 6 - Language selection
Enabling the Web Service methods for recalculation of analysis
If the attribute is involved in an AF analysis, it is possible to use the same interface to enter values and also to launch the recalculation of the AF analysis. In this case, it is sufficient to fill in the field with the indication of the web service. In case WS mode is chosen to allow the system to recalculate the analysis associated with the element, it is necessary to indicate the name of the web service to be retrieved from the widget.
Figure 7 - Name WebServer
The element on which is searched for the analysis is shown in the Target Element section.
Figure 8 - Target element
The following choices are possible:
| Setting | Description |
|---|---|
| Current | The analysis refers to the current element |
| Parent | The analysis refers to the parent |
| Empty | An indication of the element is not sent to the WS but only the analysis |
| Brothers | The analysis refers to the current element and all those who are descended from the same father |
These strings will be displayed in the widget.
Figure 9 - View the widget
Configurations
Figure 10 - Configurations panel
Exclusion table
If defined, the widget checks in the database if the logged-in user has the rights to view the widget (if there is a row in the table with the Widget field equal to EW_MultiManualDataEntry and the User field equal to the name of the logged-in user, this user will not be able to view the widget);
Figure 11 - Table Exclusion
Showing User Interface Data
Users can choose what to display in the manual input user interface: the name of the attribute or its description.
Figure 12 - Choice of attribute label
Settings
- Show date allows to hide/display the date indicating the time with which the change will be made.
- Input with milliseconds allows you to choose the milliseconds for entering the value.
Figure 13 - Show date option
By selecting "show date" the date will be displayed, otherwise the time will be written at the end time of the display.
| Settings | Description |
|---|---|
| Show data | Allows you to hide/display the date indicating the time with which the change will be made |
Table 1 - Settings
Number of decimals
It is possible to indicate the number of decimals to be displayed in the Number of decimals section.
Figure 14 - Choosing the number of decimals
Indication of the analysis to be recalculated
Enter the name of the analysis template to recalculate. It is also possible to specify multiple analyses separating the names with the character ";".
Figure 15 - Analysis Name
The analysis must be present and configured as shown in the figure below.
Figure 16 - Analysis of which it is carried out recalculation
Indication of element and attribute
It is possible to customize the header text and table data row in Sections Element Title Name and Attribute Title Name:
Figure 17 - Customizing table
Show values and default
Toggles that allow the user to show/hide current value, new value and attribute default
Figure 18 - Current, new and default value toggle
Attr. default name
The name of the sub element containing the default value of the attribute
Figure 19 - Attr. default name
REST Provider
Allows the user to select between default or custom protocol for api requests.
Figure 20 - REST Provider selection
Attributes List
It is possible to indicate which attributes display simply by setting a flag in the Attributes section Attributes to show.
Figure 21 - Attribute Selection
Acting on the arrows on the right the user can also customize the ordering of the attributes in the user interface display.
In the Attributes to show section, users can enter the name of the child-attribute containing the default value of the attribute to be displayed in the new value field. After entering the name of the attribute, the symbol will appear next to the new value field. By clicking it, the default value will appear.
Figure 22 - Child-attribute Default value
Title
The title of the widget can be changed by indicating any string in the Title section. Selecting the Show heading item, the complete path of the element is shown below the title of the widget.
Figure 23 - Customize the title
Text Size
You can indicate the size of the widget tests in the Text Size section.
Figure 24 - Text Size
Text size input
You can indicate the size of the input text in the Text size input section.
Figure 25 - Text size input
Response size
You can indicate the size of the response icon in the Response size section.
Figure 26 - Response size
Button text size
You can indicate the size of the button text widget tests in the Button text size section.
Figure 27 - Button text size
Assets
List of attributes dragged into the display to create the widget. If there are more than one, it is possible to delete an asset by clicking on the symbol.
Figure 28 - Assets Section
Colors Widget
Customize the widget’s colors including:
- Title color
- Background color
- Header text color
- Table text color
- Table header background
- Table background
As shown in the table below.
Figure 29 – Customize the Widget Color
To configure the color simply select the color drop-down menu and choose the gradation on the first horizontal scrollbar, the possible point of the color palette and indicate with the second horizontal scrollbar the eventual transparency level. To confirm, select the button “APPLY”.
Figure 30 – Choice of Color
Extensions Folder
It is possible to define extensions for customizing the widget (in this field it should type the name of the folder that contains the extensions to the path PIVision \Public \Libs.
Figure 31 - Extensions Folder
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 32 - Contacts
Installation
Following are the installation requirements and procedure.
Requirements
In order to install the product, minimum requirements are listed in the table below:
| Software | Version | Note |
|---|---|---|
| PI Vision | 2024 (*) | Requirements are linked to the PI Vision correct functioning |
Table 2 - Installation prerequisites
(*)This widget is also compatible with PI Vision 2023, 2022, 2021, 2020 and 2019.
We suggest using Google Chrome for full compatibility with the widget.
Installation procedure
The installation procedure involves the copy of different folders and files in the predefined PI Vision path. In particular, it is necessary to copy the following files in the folder ..\PIPC\PIVision\Scripts\app\editor\symbols\ext:
- sym-TQSMultiManualDataEntry.js
- sym-TQSMultiManualDataEntry-config.html
- sym-TQSMultiManualDataEntry-template.html
And in the folder ..\PIPC\PIVision\Public the following folders:
- Images that contains the control icon:
- TQSMultiManualDataEntry.png
- Libs with the libraries used:
- EWClasses.js
- moment.js
Then, open the web.config file inside the PIVision folder (..\PIPC\PIVision) and check that debug is set to "true" (Figure 33). Save the file and restart the IIS.
Figure 33 - Web.config
WebService Installation
If the widget needs to perform backfill analysis, a dedicated WebService must be installed. Follow these steps:
-
Copy the contents of the WebService disk (for example, to
C:\Dev\CartellaWebService). -
Start Internet Information Services (IIS).
Figure 34 – IIS
-
On the DefaultWebSite, right-click and select Add Application….
Figure 35 – IIS: Add Application
-
Enter the alias and the physical path (as shown in the following figure), then click OK to confirm.
Figure 36 – IIS: Form Add Application
The chosen alias is used in the widget configuration (for example, Https://PIVisionServerIP/NomeWS/WSMethods.asmx).
Additional Notes for Use
For the widget to operate correctly, make the following changes in the Vision IP configuration database:
-
Disable CSRF:
Set theEnableCSRFattribute toFALSE. -
Enable PUT and POST Methods:
In theCors Methodsattribute, ensure thatPUTandPOSTare included, separated by commas.
Steps to Adjust Settings:
-
Connect to the Configuration Database using PI System Explorer.
-
Expand the OSIsoft element, then expand the PI element WEB API.
-
Under the PI element Vision-srv, select the System Configuration element.
-
Edit the
Cors Methodsattribute (add PUT and POST if not present) and setEnableCSRFtoFALSE.
Figure 37 – Configuration Database
Finally, restart the PI Web API service.
Figure 38 – Restart PI API Web Service
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.