Don’t be afraid to play around with the GUI! If you closed or moved something and can’t get it back, just click View / Reset Layout!
eCAL Sys is an application for starting, stopping and monitoring applications on one or multiple machines. You can use it to automatize the startup of your system and check whether any of your applications report an error.
Although you don’t really need to use eCAL Sys for starting your eCAL Processes (you can just as well start them manually or create .bat or .sh files), you may find eCAL Sys useful. eCAL Sys will:
let you configure, start, stop and restart your applications
monitor started applications as well as your local and remote PCs
provide a cross-platform remote-control technique
eCAL Sys is available since eCAL 5.8.
6.4.1. GUI Overview¶
Let’s start eCAL Sys GUI and take a look at it!
Windows: Start eCAL Sys from the start menu:
Start / eCAL / eCAL Sys
ecal_sys_guifrom a terminal or start eCAL Sys from the App Menu
For the following screenshot, we have already created a few tasks. We will show you how to do that right after we have taken a look at the GUI.
Here you can see a list of all “tasks” that you have created. The term task usually refers to a process, that shall run on either the local or a remote computer. Once started, the list also shows the state of all tasks along with an info message.
In the screenshot we have already created 3 tasks. The person_snd sample will be started on a remote Ubuntu machine. The local Windows 10 machine will start the person_rec sample along with the eCAL recorder.
In this panel you can edit your Tasks. At first you will probably only need the left most settings:
Name: You can freely choose this name. It is used for displaying only.
Target: The hostname you want the task to start on.
Runner: If your tasks e.g. are represented by a .dll or .so file, you can define a runner, that will load that file.
Algo: The executable to start (or the file that shall be loaded by the runner).
Working dir: The working directory of your task.
Cmd args: Additional command line parameters that are passed to the task on start.
All eCAL Hosts (visible hosts running any eCAL application) are listed here. The green arrow indicates whether you can start tasks on this host. When the Machine Monitoring Application (
ecal_mma /.exe) is running on that host, it will also display information about the CPU and RAM usage, network traffic etc.
6.4.2. Configuring and Starting Tasks¶
For this tutorial, we are going to use two PCs. If you don’t have a second PC or virtual machine at hand, you can just as well start everything on your host machine.
eCAL Sys consists of a host- and a client-application. The GUI (ecal_sys_gui /.exe) acts as host, that sends commands to the client. The client application is ecal_sys_client /.exe. The applications use eCAL Services to communicate, so make sure that you have completed the Hostname Resolution Tutorial from the eCAL Services chapter.
For starting applications on multiple PCs, you will have to:
ecal_sys_gui /.exeon one machine.
ecal_sys_client /.exeon any other machine than the one you started the GUI on. Make sure to accept the security implications.
The eCAL Sys Client does not perform any kind auf authentication. Any request that is received will be executed, so only use it in networks where you trust all participants.
If you want to add an extra layer of security, there are existing standards like SSH that should fit your needs.
Now click the Add button from the toolbar to add some tasks. Enter the hostnames and commands so that the command can be executed on the respective host. You may have to modify the hostnames and commands accordingly.
Name: Person Rec
Name: Person Rec
Name: Rec GUI
You can download the .ecalsys file in the Files section below, but you must still check the hostnames and paths.
Note how the Rec GUI currently reports a warning, because nobody has clicked the Activate button, yet!
Try stopping or restarting your tasks from the eCAL Sys GUI! Also just close one of the applications (the Rec GUI for example) and watch eCAL Sys picking it up as an error.