Function keys


You can use the function keys as shortcuts to open graphs or influence objects in the
database.

Function calls

The following functions can be called when an function key is pressed.

SetDig()

Sets an attribute of type Boolean. The name of the attribute is specified as argument.

ResDig()

Resets an attribute of type Boolean. The name of the attribute is specified as argument.

ToggleDig()

Toggles an attribute of type Boolean. The name of the attribute is specified as argument.

Command()

Executes a Xtt command. The command is specified as an argument.

Setup file

The connection between the keys and the functions is specified in the file Rt_Xtt on the
login directory. In the file there are one row for each key. On the row i written
- Possible modifiers (Shift, Control or Alt).
- followed by the name of the key, e.g. F7 or m.
- a colon followed by the function that is to be called with arguments.

A '#' sign in the first position denotes a comment.

Example

#
# Configuration of Global function keys
      F5: Command(event ack /prio=A)
      F6: Command(event ack /prio=NOA)
      F7: Command(show alarm)
      F8: Command(show event)
      F9: Command(close all/except=navigator)
      Shift Control m: SetDig(F1-Start.ActualValue)
      Shift Control n: SetDig(F1-Stop.ActualValue)
      Shift Alt n: SetDig(F1-Reset.ActualValue)