You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 6
Next »
A ddi file is prepared using the ddi.exe utility. Details on how to handle it can be found in the The ddi.exe utility for editing database templates and external settings files section of Administrator's Guide.
A ddi file for CUSTOM and CUSTOM_CHILD object types is created as follows:
- Run ddi.exe (see The ddi.exe utility for editing database templates and external settings files).
- Create CUSTOM and CUSTOM_CHILD objects in the DDI tab as shown below.

- Go to the Events tab and configure events that are to be supported by the object (see the figure).

Go to the Reactions tab and configure reactions that are to be supported by the object (see the figure).

Go to the States tab and describe the states that the object can take. Here there are two states – ON and OFF.

- Go to the Transition rules tab and set the object state change logic.

Transition rules is a simple state machine – an event is an input action and a state is a result.
An unconditional transition is used in this case: if CUSTOM||ON event is received, then there is transition to the ON state, if CUSTOM||OFF event is received, then there is transition to the OFF state. - To save changes use the Save command in the File menu. The saved file must have the ddi extension and be stored in the folder corresponding to the required language, e.g. C:\Program Files (x86)\Axxon PSIM\Languages\en\psim.custom.ddi.
The ddi file preparation is completed.