External Update Function Example - Intergraph Smart Instrumentation - Reference - Intergraph

SmartPlant Instrumentation Programmer's Guide

Language
English
Product
Intergraph Smart Instrumentation
Search by Category
Reference
Smart Instrumentation Version
2016 SP1 (11.0.1)

In this example you want the software to open a custom dialog box to update a service. The software will open this dialog box after a SmartPlant Instrumentation user modifies an instrument.

You can find the example solution in your SmartPlant Instrumentation folder > Examples > SPIExternalExample.sln

  1. Create a new rule.

  2. Assign the new rule to an instrument tag item type.

  3. Define the details of the external update function.

  4. Write the relevant C# or VB .NET code.

If a SmartPlant Instrumentation user tries to modify an existing instrument tag, the external function will open a customized dialog box, for example: