Developing Client Applications

1 minute read

Motorcortex is especially created to allow easy and high-performance data exchange and interaction with real-time control systems, from any operating system or device and using a programming language of your choice. Currently ready-made APIs are created for JavaScript, C++ and Python more languages will follow.

Using these API’s the user can create scripts to control a Motorcortex application . Doing this a user can create:

  • Robot control scripts
  • Data acquisition/analysis logs tools
  • Automatic test scripts/reports

In a Motorcortex application all Modules and variables are organized in a tree structure; the Parameter Tree. The Parameter Tree is used to communicate data between tasks and to the outside world in a thread-safe manner.

The Communication Server provided by Motorcortex has two parts:

  1. The first part is a Signaling Server which uses a Request/Reply reliable messaging pattern. A Signaling Server is required for Remote Procedure Calls and for managing the control application, for example updating parameter values. It is also responsible for managing the Publishing Server.
  2. The second part is a Publishing Server or Publisher which uses a Publish/Subscribe besteffort delivery messaging pattern. The Publishing Server can organize data into groups and publish them with the requested frequency. The Publisher is used to send Real-time data continuously.

Last modified March 23, 2021: Restructured GRID (44d0658)