Skip to content

Introduction

XRT allows you to create connected edge applications by assembling and configuring specific combinations of standard XRT components to fulfill a use case. A typical connected XRT application that supports communication between an edge device or sensor and a Cloud endpoint consists of the following components and supporting configuration files:

  • XRT Core, which consists of the Bus, Scheduler, ThreadPool, and Logger components

  • One or more Device Service components, which communicate with devices or sensor using protocols such as Modbus

  • An Export component, which sends device data to a Cloud or IT endpoint such as AWS IoT Core

  • Logging to help in debugging running applications

Core components can be configured and optimized to support the specific needs of each edge application. For further information on the core components, see Core Components. All components that make up an XRT application communicate with each other over a process-local databus using a Topic-based Publish and Subscribe interaction pattern, as shown in the following figure. Components are managed by a lightweight container and are deployed in the same address space for efficiency.

XRTArch

In addition to the XRT core, which consists of the Bus, Scheduler, ThreadPool and Logger, XRT also supports a range of standard components including the following:

  • Exporter components, which support communication and data exchange between XRT applications and Northbound IT or Cloud endpoints. For further information on export components, see Exporter Components

  • Bridge components, which support communication and data exchange between XRT instances using Thrift RPC or MQTT. For further information on bridge components, see Bridge Components

  • Device Service components, which support communication and data or command exchange with devices and sensors using different industrial OT standards, such as Modbus. For further information on Device Service components, see Device Service Components

  • Device components, which support communication with integrated sensors on edge hardware supported by XRT. For further information on device components, see Device Components

  • Transform components, which allow you to write you own application logic in the Lua scripting language and dynamically update the scripts at runtime, or to batch messages on one topic and republish them on another topic. For further information on transform components, see Transform Components

  • Application components, which support user-defined application logic written in the C programming language

If you want to find out more about the concepts and configuration of XRT, see Components. Alternatively, if you want to start using XRT, a comprehensive set of examples are provided which can be downloaded from XRT Example Code

Back to top