Dynamics


You can apply a number of different types of dynamic for the subgraphs. The dynamic defines
how signals in the database should influence for example the color, or to print out an analog
value.

There are a number of predefined types of dynamics, e.g shift between two colors or between
two texts. When you draw the subgraph you state the type of dynamic that is proper for this
subgraph, but this is only a default value for each instance, and can be replace by another
type.

Dynamic           Signal type         Description
Inherit           -          The dynamic for the instance is inherited from the subgraph.
Tone           -          States that dynamics that changes the color of the component
                    should change the color tone instead of the fill color.
DigLowColor         Boolean            Set the specified fill color when the signal is low.
DigColor           Boolean          Set the specified fill color when the signal is high.
AnalogColor         Float32 Int32       Set specified fill color when the signal
                   goes beyond or below the specified limit.
StatusColor         Status            Set fill color dependent on a status signal severity.
DigError           Boolean          Set red fill color when the signal is high.
DigWarning          Boolean           Set yellow fill color when the signal is high.
DigFlash           Boolean          Flash with specified color when the signal is high.
FillLevel           Float32          Changes partly the fill color of the component. The level
                    for the borderline of the colored part is determined by
                    the value of the signal.
Invisible           Boolean String      Make the component invisible when the signal is high,
                    or when the string is empty.
DigBorder           Boolean          Set specified border color when the signal is low.
DigBackgroundColor   Boolean             Set specified background color when signal is high.
TimeoutColor        Boolean             Set specified color when at subscription timeout.
DigTextColor        Boolean             Set specified text color when the signal is high.
DigText           Boolean          Set specified text when the signal is low.
AnalogText          Float32 Int32       Set up till 32 different texts depending on the value of
                    an analog signal.
Value           Arbitrary          Write the value of an attribute.
Rotate           Float32 Int32       Rotate the component.
Move           Float32 Int32       Move and scale the component is x and y direction.
DigShift           Boolean          Shift between two pages in the subgraph (first and last page).
DigLowShift        Boolean          Shift between two pages in the subgraph (first and last page).
DigFourShift        Boolean             Shift between four pages in the subgraph.
AnalogShift         Float32 Int32       Shift between different pages in the subgraph. The value
                    of the signal determines the page number.
Animation           Boolean          Different types of animation.
Video           -          Display a continuously updated image file.
SliderBackground    -                 Indicates that the subgraph is background to a slider component.
DigCommand          Boolean           Executes a command when signal gets high.
DigScript           Boolean           Executes a script when signal gets high.
ScrollingText       Boolean             Display a scrolling text.
DigSound            Boolean             Play a sound.
DigTransparency     Boolean           Shift transparency depending on the value of a
                                    digital signal.
AnalogTransparency   Float32            Set transparency depending on the value of an
                                    analog signal.
ColorThemeLightness   -                  Adapt lightness of component to color theme.
DigSwap           Boolean            Restart all subscriptions in the graph.
UnitConvert         Float32            Convert value unit before displaying in value field.
HostObject          Object             Complex component dynamics.

Inherit

For an instance of a subgraph, Inherit means, that the dynamic is inherited from the subgraph
class, that is the default dynamic stated when the subgraph was edited. If also the default
dynamic is inherit, the subgraph lacks dynamics.

The default dynamic for an instance, is displayed by opening the object editor for the instance
and there open the subgraph folder.

Xtt-commands

There are a number of pushbuttons that executes xtt-commands. The most usual is to open
another graph, but you can also open trace or trends etc. Here follows some usable xtt-commands.

open graph GraphName [/width=][/height=][/scrollbar][/navigator]

open trace WindowName [/center=]

Access

All dynamics that makes it possible to influence the value of a signal in the database, has
the attribute Access. Access states the privileges that are required for a user to be allowed
to change a value. There are 15 different privileges that are of interest for graphs, 10
for various operators, and 4 for different professionals. Furthermore there is RtRead, read
access in runtime, that a user that is not logged in is granted. A user grants one or
several privileges, and if one of his privileges is present in Access, he has the right to
influence the object.

Default access is all privileges except RtRead. Some operations, as opening other graphs, should
also accept RtRead.

Privileges in runtime   Description
RtRead           Read access.
System           System manager.
Maintenance         Maintenance technicians.
Process           Process technicians.
Instrument          Instrument technicians.
Operator1          Different operator or operator places.
Operator2          "
Operator3          "
Operator4          "
Operator5          "
Operator6          "
Operator7          "
Operator8          "
Operator9          "
Operator10          "