Devices > Remote Devices > OPC EIE > Array Data Group

Array Data Group

An array data group enables you to display array data elements in a table. A single data group can include a combination of array and non-array data. An array data group is always read only.

There are different ways to handle an OPC array. An OPC server can return an array of data for a single item id. Once returned, it can be displayed as an OPC Array, or it can be interpreted as either a single record or an array of records. If the array of records does not have a timestamp, it is considered a Non-Historical Array and does not receive point processing. If the array of records has a timestamp, it is referred to as an Historical Array and point processing can be performed.

Click the following image to see an array diagram:

Click for more information

See the following subsections for more information:

For more information, see Device Template Files.

Example – OPC Array

Structure and Components – OPC Array

Example – Record from OPC Array

Structure and Components – Record from OPC Array

Example –Non-Historical Array of Records

Structure and Components – Non-Historical Array of Records

Example –Historical Array of Records

Structure and Components – Historical Array of Records

To Create an Array Data Group

  1. Using a text editor or XML editor, open the device template file to which you want to add an array data group. You might need to extract the device template file from a Device Definition Service (DDS) in order to edit it.
    1. Define a DataGroup element for the applicable data group. Add the attribute hasArray or hasHistory and set its value to true.
    2. Define a dgElements element that includes all required data group elements.
    3. For each array data group element, add the attribute isArray and set its value to true.
    4. If this data group includes a historical array, include a DateTime element to supply timestamps.
  2. Save your edits.
  3. Validate the template, then load it to the applicable DDS. See CygNet Device Template Manager Utility.
  4. From the applicable DDS, poll the affected device to test data retrieval and confirm that the data group works as expected.
Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.