Each worksheet function provided by DeltaV Reporter has a dialog that aids setting up a call to the function. The worksheet functions are:
For more information about the worksheet functions, refer to Worksheet Function Reference in Books Online.
Important During the installation of DeltaV Reporter, important sample Excel workbook files are copied to the C:\DeltaV Reporter\Definitions folder. You can use these as examples of using the DeltaV Reporter worksheet functions and as templates to create report definition files for automatically generating scheduled reports from the Event Chronicle database. For important system configuration settings required to automatically generate scheduled reports, refer to DeltaV Reporter in Books Online.
You can use a worksheet function anywhere within the maximum boundaries of an Excel worksheet. The maximum worksheet size In Excel is 1,048,576 rows by 16,384 columns; however, Excel does not support array functions generated by an add-in, such as DeltaV Reporter, that exceed 65,536 rows.
Note If the worksheet function you configure returns a large enough array, it may exceed Excel limitations. Also, keep in mind that if your worksheet function is embedded in a call to the standard Excel Transpose function, it will be subject to any number-of-columns limits in Excel rather than the larger number-of-rows limits. For more information about using the Transpose function with the worksheet functions, refer to Use the Excel Transpose Function to switch array columns and rows.
The following example illustrates the use of the Configure Calculated Data function to examine the use of min, max, and end values for a single tag and time span.
This scenario examines the min, max, and mean statistics relating to a single tag (FIC-101.PV) over a 24-hour period and breaks the day down into 24 one-hour intervals, for the purpose of reviewing trends. The table produced will have the following column headers:
Minimum Value – Minimum Timestamp [Local] – Maximum Value – Maximum Timestamp [Local] – Average Value
To make the worksheet useful for future queries, the tag and time period will be specified in the worksheet. This will allow you to change the tag and/or date by simply changing the contents of cells A1 and B1 in order to see data for a different tag on a different day.
To create the Excel worksheet
Note A range of 25 rows by 7 columns will be needed (one row is for the column headers). Rather than select the entire range, you can select the top left cell of the range—A3, for example—and then use options in the worksheet function dialog to automatically extend the range to the appropriate size.
To use the Configure Calculated Data Function dialog
The Connection field is pre-populated with the default Continuous Historian connection details. A browse button is available if it is necessary to browse to an alternate source.
Note As changes are made to the optional fields, the Worksheet Required Range is updated to show the dimensions of the array that will be yielded.
Note Since there is no data below or to the right of the selected cell, there is no need to check the "Insert rows and columns" check box. Also, since the selected dates do not run across the daylight savings change, there is no need to check the box for Extra rows. If daylight savings were involved, there would be an extra hour (one 60-minute interval), requiring one extra row of data.
Note This button opens a grid containing the actual data as queried from the Continuous Historian database. The Try It window shows the row and column at which the data will be inserted. (Thus, if the formula is inserted at B7, the Try It grid starts at B7.) The dialog can be closed before the query is complete. While the query is being performed, the title bar indicates that it is working. On completion, the title bar indicates the number of rows and columns and the time taken to perform the query.