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

AVEVA Enterprise SCADA

Build the software development kit (SDK) example solution

Build the software development kit (SDK) example solution

  • Last UpdatedApr 24, 2025
  • 1 minute read

Follow the procedure below to retrieve the source code and build the executable.

To build the software development kit (SDK) example solution

  1. Set up the Test and Development System.

    For more information around installation, please contact AVEVA Customer Support.

  2. On the RealTime server in the Test and Development System, log on as dnaInstaller.

  3. Install RealTime.Service.msi, if not already installed.

  4. On the RealTime server in the Test and Development System, log on as a member of DNA Developers.

  5. On the desktop, double-click the Windows PowerShell for DNA shortcut.

    Windows PowerShell for DNA opens.

  6. Create a RealTime Developer Environment (refer to the AVEVA Enterprise SCADA Shared Components Developer documentation).

  7. To build the executable, proceed as follows:

    1. In Notepad, open the %DNASourceRoot%\RealTime\build.xml file

    2. Locate the <ItemGroup Label="Solutions"> element.

    3. Add the following to the above element:

      SystemAlarmRouting.Example.sln

      The updated section should look as follows:

      <ItemGroup Label="Solutions">

      <Solution Include="source\SystemAlarmRouting.Example.sln"/>

      </ItemGroup>

  8. Select Start, and enter the following:

    Developer Command Prompt for Visual Studio

  9. Press Enter.

    The Visual Studio Developer Command Prompt window opens.

  10. To build the executable, execute the following commands:

    %DNASourceRoot%\RealTime\source

    msbuild build.xml

    Once msbuild completes successfully, the system copies the SystemAlarmRouting.Example.exe file to %DNADataRoot%\RealTime\bin.

  11. Restart the RealTime service.

  12. Start up the executable.