Create an OPC UA method

In
FactoryTalk Optix Studio
, you can create an OPC UA method and then edit its code in an external code editor.
Prerequisites
Set the default external code editor. See Set the default code editor.
  1. In the pane, right-click
    NetLogic
    and select
    New
    Runtime NetLogic
    .
  2. Right-click the
    RuntimeNetLogic
    that you created and select
    New
    Method
    .
    The external code editor opens. The following code is added in the NetLogic:
    [ExportMethod] public void MethodName() { }
  3. (Optional) Rename the method in C#.
Develop the code of the method.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.