Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Historian

Use the Analog Discrete pair analysis wizard

  • Last UpdatedFeb 28, 2025
  • 2 minute read

Use the Analog/Discrete Pair Analysis wizard to graph analog vs. discrete tags.

To analyze an analog-discrete pair:

  1. On the Historian tab, in the Tag Management group, click Tag Analysis. The Tag Analysis dialog box appears.

  2. Select Analog-Discrete pair analysis.

  3. Click Next. The Tag Analysis - Step 2 of 4 dialog box appears.

  4. In the Servers list, click the name of the server to use.

  5. In the Analog tag and Discrete tag lists, specify the names of the tags to analyze. Click the ellipsis button to open the Tag Picker and browse for the tags. For more information, see Tag Picker.

  6. Click Next. The Tag Analysis - Step 3 of 4 dialog box appears.

  7. In the Starting time list, enter the starting time for the query. Click the arrow button to select a date from a calendar.

  8. In the Duration lists, specify the duration and the duration unit. For example, 10 hours. The duration is used to calculate the end date for the query.

  9. Click Next. The Tag Analysis - Step 4 of 4 dialog box appears.

  10. Configure the resolution for the data to be returned.

    • Number of rows: The number of rows to be returned for a specified time period. For cyclic retrieval, the rows are spaced evenly across the time period, and the default row count is 50 rows. For cyclic retrieval, the row count is applied for each tag in a query.

    • Values spaced every: The sampling rate, in milliseconds, for retrieving the data in cyclic mode.

  11. Click Finish. Information that you specified using the wizard is assigned to cells in the worksheet. For example:

    The Analog Discreet pair analysis wizard.

    In this example:

    A1: Server

    A2: Discrete tag

    A3: Analog tag

    A4: Row or resolution to use for the analog tag

    A5: Start time

    A6: Duration

    A7: Row or resolution to use for the discrete tag

  12. Click in the workbook to view the functions that are inserted to create the analysis report.

    In this example, click in the following cells to view the functions.

    Cell B2:

    =wwDiscreteWideHistory(A1,A2,"Row" & A4,"Rel",A6 & "(" & A5 & ")"," ",TRUE, FALSE)

    Cell F2:

    =wwAnalogWideHistory(A1,A3,"Row" & A7,B2,B12,FALSE," ",TRUE, FALSE)

  13. Optionally alter the results by changing values that appear in the first column of the worksheet.

    If the calculation mode is set to automatic, any changes you make to the values in this column are immediately reflected in the worksheet.

TitleResults for “How to create a CRG?”Also Available in