Developing Client Applications
1 minute read
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:
- 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.
- 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.