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

AVEVA Enterprise SCADA Execution Pipeline API Reference

Create a new converter type

This scenario guides you through the steps required to create a new Data Converter type. For information on how to use a RealTime Developer environment to perform a schema conversion, refer to "Extending and Modifying the Database Structure" in the AVEVA Enterprise SCADA RealTime Developer documentation.

To create the new Data Converter type

In this example, the new Data Converter type is created within the analogTypeExtension.json file.

  1. Modify or create the schema extension file within the %DNADataRoot%\RealTime\database\schema\enumerations directory.
  2. Specify that you are extending the analogtype enumeration.
  3. Specify your new enumerated Data Converter type, and provide the enumerated name, description, and value properties.
    It is imperative that the name and value properties are unique and do not conflict with baseline analogtype data types.
  1. Run the Schema Convert (SchemaConverter) according to the instructions in the AVEVA Enterprise SCADA RealTime Developer documentation.
  2. Follow the instructions in Manage RealTime data model extensions to generate a unique extended data model namespace.
  3. Follow the instructions in both Manage RealTime data model extensions and Override a step within the Krunch Pipeline Data Stream to override any step within the Krunch Data Stream that uses the data type.

     For example, override the "ConvertToRawValue" step within the Krunch Data Stream to extend the usage of "analogtype".

    Example code

    {
      "name": "analogtype",
      "values": [
        {
          "name": "ANALOG_CUSTOMCONVERTERTYPE",
          "description": "Description of new data converter type",
          "value": 100
        }
      ]
    }
    TitleResults for “How to create a CRG?”Also Available in