| |
The graphical user interface is governed by the
software module GD. This task is also the first handler for all
keyboard or touch-screen inputs.
The graphical presentation on the screen may be
separated into two mayor sections:
-
The static part of a screen mask. This
visualization is contained in an external graphic file of the type
PCX. This file can be changed by many graphic editors as long as the
physical parameters like size and number of colors are retained.
-
The dynamic parts like text strings, numbers,
symbols, subgraphics, trend fields etc.. These elements are under
control of the software. Of course it is not possible to add or remove
elements to a picture without changing the software, but many aspects,
which are related to a certain element my be changed.
First of all the font for a number or text may be
changed. The list of fonts is included in the file GD.CFG:
#============================================================================
# The EC system provides a total number of 8 'slots' for loading fonts
# slots 0 and 1 are loaded by default with the fonts ECTXT09 and
ECTXT16
# slots 2 ... 7 may be loaded with up to 6 additional fonts
# The parameters of this section are the number of additional fonts
and
# the slot number and font filename for each font
#============================================================================
Number of fonts = 5
# Slot, Font file
2, ECTXT32.FNT
3, ECTXT64.FNT
4, EC_SYM32.FNT
5, ECTXT96.FNT
6, ECTXT48.FNT
# END of FILE
Each picture, which is called into the display is
also referenced in GD.CFG:
[
pictures
]
Number
of pictures
= 6
1 = STATUS.gdp
2 = HELP.GDP
3 = FIFO.GDP
4 = LOG.GDP
5 = ENTRY.GDP
6 = LOGSRCH.GDP
#
The associated parameter file, for example
STATUS.GDP has one parameter line for each element in that picture,
which may be edited:
# Nr, T, X, Y,
W, H, D,P,F, FCOL , BCOL,A, Min
, Max ,Comment
#---,--,---,---,---,---,--,-,-,-------,------,-,----------,----------,
3
,ID,107,414,480,140, 8,1,5,
YELLOW,
GRAY,1,0.000e+000,1.000e+001,PKN 1..8
Description:
Nr the internal reference number
for the element
T the type of the element,
in this case an identification string
X the absolute X position
Y the absolute Y position
W the width of the element
H the height of the element
D the number of digits
P the precision (for
floating point elements)
F the font number from
GD.CFG
FCOL the foreground color
BCOL the background color
A an specific attribute
Min the lower value for scaling
Max the upper value for scaling |