Operating the Application

General

The application example implements a web visualization for monitoring and control purposes.

This section provides a brief description of each function. In addition, refer to the chapter Visualization screens.

Open the Web Visualization

To open the web visualization, enter the following address in the address bar of your web browser:

http://<IP Address form the controller>:8080\webvisu.htm

Read XML File

To read data from a file, you need to specify the parameters for the read operation.

oEnter the file path to the file which shall be read.

oEdit the parameter XPathRead, if required

oSelect, whether you want to read elements together with their attributes or the elements only.

To start the read operation, click Read File. The progress of the operation is displayed in the lower area of the visualization screen.

After a successful read operation, the values are displayed in the Read table in the visualization screen. The table displays 10 rows of the buffer wherein the read data is stored. Use the scroll function to select the rows to be displayed.

In addition, the following informations are provided on the visualization screen:

Display element

Description

Number of read items

Represents the number of XML items read from the file. It corresponds to the number of rows in the buffer which contains the data.

Performance from last operation

Provides information about execution time of the last read operation. Values can be used to find the appropriate value for the timeout parameter and to adjust the task configuration.

Write XML File

To create a file, you need to specify the parameters for the write operation.

oEnter the file path to the file which shall be created.

oAdjust the timeout parameter, if required.

oSelect whether you accept the overwriting of an existing file or not.

oModify the values in the table that represents the data to write into the file. Beforehand, you can clear the table or you can create a copy of the present content of the read buffer by clicking the corresponding buttons.

oOptionally you can specify the content for the user-defined header which is written into the file in front of the XML elements. If you click UserDefinedHeader, an additional dialog box opens to specify this header.

The table displays 10 rows of the buffer wherein the data to write is stored. Use the scroll function to select the rows to be displayed.

To start the write operation, click Write File. The progress of the operation is displayed in the lower area of the visualization screen.

In addition, the following informations are provided on the visualization screen:

Display element

Description

Performance from last operation

Provides information about execution time of the last write operation. Values can be used to find the appropriate value for the timeout parameter and to adjust the task configuration.