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

Change the configuration to use the modified Data Type Converter

Change the configuration to use the modified Data Type Converter

To change the configuration to use the modified Data Type Converter

  1. In the %DNADataRoot%\RealTime\config\Settings directory, either create or open the RealTime_KrunchDataTypeConverters.json file.
  2. If you changed the name of the Data Type Converter, proceed to step 3. Otherwise, proceed to step 4.
  3. Locate all references to the baseline Data Type Converter name and change them to the modified name. 
  4. Change TypeName from DefaultUInt16Converter to CustomUInt16Converter.
  5. Change the AssembyName for the modified converter to the name of your compiled assembly from your custom project.

Example code

{
  "RealTime": {
    "KrunchDataTypeConverters": {
      "ANALOG_USW": {
        "TypeName": "OASySDNA.RealTime.KrunchDataTypeConverters.CustomUInt16Converter",
        "AssemblyName": "OASySDNA.RealTime.KrunchDataTypeConverters.Custom"
      }
    }
  }
}
TitleResults for “How to create a CRG?”Also Available in