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

AVEVA Enterprise SCADA

Implement Network Management Console (NMC) extensibility

Implement Network Management Console (NMC) extensibility

  • Last UpdatedApr 24, 2025
  • 2 minute read

To implement Network Management Console (NMC) extensibility

  1. Download the Visual Studio installer from the Microsoft web site.

  2. Launch the installer.

  3. The Workloads tab of the installer appears.

  4. Select the Individual components tab.

  5. Ensure the components are selected as seen above.

  6. Select Install while downloading.

    When the installation is complete, the post-installation page of the installer appears.

  7. Select Launch.

  8. If prompted, reboot the computer.

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

    Windows PowerShell for DNA opens.

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

  11. Open Visual Studio as an Administrator.

  12. Open the following solution file:

    C:\Dev\Tools\source\Common.Examples.sln

  13. Change the ManagedClassLibrary project to create a Dynamic-link library (DLL) that ends in .NMCExtensions (that is, change the Assembly name to ManagedClassLibrary.NMCExtensions).

  14. In Solution Explorer, right-click ManagedClassLibrary, and select Add > Reference.

  15. From the lib folder in your dev environment, add a reference to OASySDNA.Common.NMC.dll.

  16. Create a new public class that inherits from the INMCExtension interface.

  17. Implement the INMCExtension interface to do something simple, such as log a message to the oasErrLog.log file.

  18. Build the Project.

    This will generate the following DLL:

    C:\Dev\Tools\Bin\ManagedClassLibrary.NMCExtensions.dll

  19. Start NMC on the computer.

  20. Observe the newly added custom comment in the oasErrLog.log file.