RTD DB Add-Ins

RTD DB Add-Ins

The add-ins preprocess data before sending it to a database. The add-ins can be implemented in C++, C#, VB.NET, or other languages. This feature supports various use cases, including data broadcasting.

The add-in must implement the IRDDataProcessor interface defined in IDataProcessor.dll:

void IRDDataProcessor.AppStart()
void IRDDataProcessor.AppStop()
bool IRDDataProcessor.ProcessRow(IRDDataRow data)

RTD DB invokes the ProcessRow method prior to saving data to the database.

The IRDDataRow contains the following members:

string ServerName { get; }
string DatabaseName { get; }
string Table { get; }
string ProgID { get; }
object Item(string columnName) { get; set; }

The add-in can read and modify the column data of the current row using the Item property.

To attach the data processor add-in, update the configuration file as follows:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="DataProcessor" value="RTDataBroadcastProcessor.dll"/>
  </appSettings>
</configuration>

In the downloaded package, find examples of add-ins implemented in C# and VB within the DataProcessor.zip file.

This website is using cookies. By continuing to browse, you give us your consent to our use of cookies as explained in our Cookie Policy.