L-VIS User Manual
53
LOYTEC
Version 6.2
LOYTEC electronics GmbH
Alarm Acknowledge:
The alarm list control may draw a push button next to an
alarm entry if the alarm is to be acknowledged. Pressing the button will send the
acknowledgement to the alarm server and change the color of the button. Once
the server received the acknowledgment, the button or the entire alarm entry may
disappear from the list.
Schedule Configuration:
Due to the complex nature of schedule configuration
data, the schedule control implements a specialized input method which is
explained in detail in section 7.2.1.
Actions:
There is an indirect way of assigning values to output data points using
the
Update Data Points
action. This is sometimes useful, for example to store a
current value in a register data point when the user selects or touches a control.
These actions are explained in more detail in section 9.9.
NOTE:
Input events are never duplicated and sent to more than one control at a time. Similar to a
desktop window system, every event is only routed to the most suitable control for further
processing. Controls on a page are searched from top to bottom. The first control accepting
input will get the event. It can either use it, or ignore it and return it to the system for
further routing. Controls which have touch-controlled actions connected to them will use
the input events to trigger their actions instead of entering input mode and using the touch
events for normal value input. This means that it is not possible to build a number control
which opens a keypad for value input and at the same time triggers an
on touch
action.
However, it is possible to connect more than one action to the same control and have the
control trigger them all using the same input event.
The control decides when to leave input mode. This is also called losing the
Input Focus
,
since the control returns input processing back to the page which is currently shown. Upon
input focus loss, the control usually sends out the final value to any connected output data
points and the page flip timer is restarted (if configured for the current page).
Controls usually return the focus when you touch an area outside the control or when you
leave the device idle for a specified amount of time. Some input methods (like the keypad)
have OK and Esc buttons for you to press, to either close and accept the new value or close
and restore the previous value.
Leaving a control idle while in input mode will usually be interpreted by the control as a
cancel
action. The control will then leave input mode, return the focus to the page and
restore the value it had when input mode was entered. The idle timeout can be set in the
Project Settings
dialog, together with a number of other timeout values.
7.2.1 Knob Control
Knob controls accepting input can be rotated by touch and move, similar to bar controls.
While this should be intuitive and easy to use for anyone operating the touch panel, there
are some details which are worth mentioning:
Entering input mode:
The control will enter input mode whenever a touch is
detected inside a circular area including the button and any tick marks or labels
around it, as configured on the property page of the knob control. Touches
outside this circular area will not be consumed by the control and will therefore
be routed to other controls below the knob, and finally to the page.
Starting input:
Once the knob entered input mode, it will wait for a touch
position which is far enough from the knob center such that a well-defined knob
rotation can be calculated. In case input mode was started by a touch close to the
knob center, the knob will keep monitoring the touch position until the desired
knob rotation can be determined. This will start actual input and the knob will
follow the current touch position from this point on. Depending on the mode of
input, the knob may initially turn to the exact angle determined by the current