Jump to main content
Rockwell Automation Home
FactoryTalk Optix Studio Help
  • Getting started

    Become familiar with the terminology, design concepts, and workflows present in the FactoryTalk® Optix™ environment and create your first project.

  • Creating projects

    Create a project and your application logic.

  • Extending projects

    Use C# to implement custom functionalities into your application logic.

    • NetLogic

      You can use C# code in a project to extend its functionalities.

    • C# project nodes

      The code of a NetLogic represents the project nodes by special C# classes that contain and expose properties.

    • Methods and events in C#

      You can define C# methods in a NetLogic.

      • Define methods in C#

        You can define methods and OPC UA methods in C#.

      • Subscribe methods to events

        When an object generates an event, the event data is displayed using a corresponding delegate event handler method.

      • Variables and objects generic events
      • Run asynchronous code

        Asynchronous mode is useful to run code at regular time intervals, at specific time, or to run tasks that are time-bound or CPU-bound.

        • Asynchronous task

          Create asynchronous tasks to run code asynchronously.

        • Call a method in an asynchronous task

          You can call a method with parameters in an asynchronous task.

        • Dispose of a task

          You can dispose of a task at runtime. You cannot run a task that you disposed of.

        • Cancel a task

          A task can be canceled at runtime. You cannot run  a canceled task.

      • REST API Client

        Use the REST API Client NetLogic to expose methods for HTTP requests.

    • Sessions and users in C#

      Read and modify the properties of a runtime session through the properties of the Session C# variable, displayed by NetLogic. Modify session properties to authenticate another user for a session or change the locale of the session.

    • C# API reference

      Use C# APIs to create logics that manipulate project nodes, variables, log messages, dynamic links, aliases, paths, and translations.

  • Deploying projects

    Compile projects to FactoryTalk Optix Applications and then deploy the applications to target devices.

  • Tutorials

    Tutorials and short procedures to help with designing your own FactoryTalk Optix Applications.

  • 21CFR Part 11 Regulation Compliance

    Get acquainted with specific FactoryTalk® Optix setup instructions to comply with the 21 CFR Part 11 Regulation.

Run asynchronous code

Asynchronous mode is useful to run code at regular time intervals, at specific time, or to run tasks that are time-bound or CPU-bound.
To manage asynchronous code:
  • Asynchronous task
  • Call a method in an asynchronous task
  • Dispose of a task
  • Cancel a task

Provide Feedback

Have questions or feedback about this documentation? Please submit your feedback here.

Copyright ©2024 Rockwell Automation, Inc.
Legal Notice
Privacy & Cookies Policy