Commands and functions
P.
273 of 349
Figure 14: „compact“ with grid (for illustrative purposes)
In the mode with
compact
(on) of the web server, the user must therefore take into account the size
of the web element in the next line of the configuration in order to control the arrangement of the web
elements. If you want to generate a free line with consideration of line overflows, you must work with
the empty element.
The following example illustrates this
page(1) [$Demo$,$Compact$]
// the next command is default
compact(on)
mpchart(1) [DOUBLE, SXY]($Description1$,LINE) mpchart(2) [DOUBLE, SXY]($Description$,LINE)
mpshifter(3) [$Basement$,$OG$][WEATHER, ICE, NIGHT, CLOCK] $Multi$
The first two elements occupy 2 unit widths and 4 unit heights. After the line break in the
configuration of the two mpcharts a new line starts in the representation. This has a "carry" of two
times two occupied unit elements. Then a mpshifter is configured in the next line. Therefore, the side
must be at least 6 unit elements wide. This is also output by the eibparser:
====== Seite: 01/Demo ======
mchart (1) mchart (2) o o
| | | | mpshifter (3)
| | | | o o
| | | | o o
Ultimately, the Web server will output a representation as in Figure 15:
Figure 15: Representation example for line feed
If you now want the four-button button to be displayed below the two graphs, empty elements must
be configured as follows:
page(1) [$Demo$,$Compact$]
// the next command is default
compact(on)
mpchart(1) [DOUBLE, SXY]($Description1$,LINE) mpchart(2) [DOUBLE, SXY]($Description1$,LINE)
empty
empty
empty
mpshifter(3) [$Basement$,$OG$][WEATHER, ICE, NIGHT, CLOCK] $Multi$
The three Empty elements now insert empty lines or skip one line in the display. Also here this can
already be recognized in advance by means of the output specified by the eibparser in the message
window:
====== Seite: 01/Demo ======
mchart (1) mchart (2)
| | | |
| | | |
| | | |
mpshifter (3) o o
HandbuchEibPC_USA-30.odt, 2017-05-11
Enertex
®
Bayern GmbH - Erlachstraße 13 - 91301 Forchheim - [email protected]