Skip to content

This application takes an action pipeline (SCXML) file and plays it back. It is a wizard-type application that guides the user through predefined tasks (always the same, always in the same order) with predefined values (that might be changed interactively by the user).

CamiTK-Imp

If you want to use CamiTK Action State Machine for your project, check the documentation below.

Note

a small documentation written by Polytech Health Information Technology students

Action State Machine’s guide

If you want to use an automatic execution protocol for your actions like the Action State Machine (ASM), this guide can help you.

Create an ASM model

If you want to generate a model for your ASM, it is possible to record your actions executed in CamiTK into a .xml file. To do so, you have to execute your actions in CamiTK, and once you have finished, click on File → Save history.

CamiTK-Imp

A .xml file is generated, save it. Your ASM can be saved for example in an ASM subdirectory in your CEP source tree project (ex : Exploranat).

CamiTK-Imp CamiTK-Imp

Now, you can open this file and use it like a model for your ASM. However, this file is only a model, using it without any modification is not possible: it probably won’t work.

Start an ASM

To start your ASM just type:

1
camitk-actionstatemachine -f /path/to/Exploranat/ASM/protocole.xml -o /tmp

Your ASM starts automatically:

CamiTK-Imp

Note

If you have developed your own extensions, either installed them in the proper extension repository or run the action state machine application from your build directory:

1
2
cd /path/to/myCEP-build-dir
camitk-actionstatemachine -f /path/to/Exploranat/ASM/protocole.xml -o /tmp

Example of camitk action state machine .xml file

CamiTK-Imp CamiTK-Imp CamiTK-Imp