External Update Function Example - Intergraph Smart Instrumentation - Customization & Programming - Intergraph

Intergraph Smart Instrumentation Programmer's Guide

Language
English
Product
Intergraph Smart Instrumentation
Search by Category
Customization & Programming
Smart Instrumentation Version
2018 (12.0)

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 Smart Instrumentation user modifies an instrument.

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

  1. Create a new rule.

    05extrnl_instr_serv

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

    06extrnl_instr_serv

  3. Define the details of the external update function.

    07extrnl_instr_serv

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

    09extrnl_loop_vald

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

08extrnl_instr_serv