Animation; Associating Points With Actions And Events; Animation Editor - Omron CX-Supervisor User Manual

Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Associating Points with Actions and Events

9-1
Associating Points with Actions and Events
9-2

Animation Editor

This chapter describes CX-Supervisor animation and the procedures
associated with the creation of a project animation, page animation and object
animation, using the Animation Editing facility. The active use of points and
how points dictate animations is also described.
CX-Supervisor provides a facility to greatly enhance the versatility of a runtime
application by the use of actions and animations to execute commands and
logical expressions based on specified criteria being met. This can take many
forms, for instance pressing a button, opening or closing a page or changes in
the positioning of objects on a page.
CX-Supervisor achieves this enhanced functionality in two ways: by assigning
an expression to a pre-defined action, or executing commands on a linear
basis as a basic programming language. In addition, such functionality can be
carried out on three levels: object, page, or project, with different objectives at
each level.
Animations are actioned using the values or states of one or more points. For
example, an integer point is assigned to an object, the colour of the object is
black when the value of the point is "0". The system causes the value of the
point to be changed to the value "5", which changes the colour of the object to
red.
To demonstrate, an object's colour can be changed in the runtime environment
from black to white. This can be achieved using actions and animations in the
two ways described, with the additional use of points. Firstly, using a pre-
defined action, the object can be associated with the 'Change Colour' pre-
defined action (runtime action). When a Boolean point's value is "0" the colour
is black, when the point's value is "1" the colour is white. The same result can
be achieved using the basic programming language (script). This time, a
single command can change the colour from black to white. Finally, either
instance can be initiated by the user in the runtime environment, e.g. the user
presses a button to change the object's colour.
This is a simple example, but underlines how quickly and smoothly a runtime
application can be built. This chapter elaborates on all forms of actions and
animations that can be applied to CX-Supervisor in the development
environment. Also refer to the CX-Supervisor Script Language Reference
Manual for further syntax details for the application of actions and animations.
Actions and animations are created on a project, page or object basis using
the Animation Editor.
To use the Animation Editor, CX-Supervisor must currently have a project
open. If no project is currently open, select Open from the Project menu to
open a previously saved project, or select New from the Project menu to
create a new project.
To open the Animation Editor, click the
SECTION 9 Animation
SECTION 9

Animation

button.
125

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents