Attribute of graphic list

Auswahl Hilfen previous top next english version

Picture objectsET/MT-3x6, ET/MT-2x8Create picture objectGraphic list fieldAttribute of graphic list

 

The graphics (bitmaps, 16 colours) configured in graphic lists are clearly assigned to a value and/or value areas. Graphic lists allow the display of a graphic depending on a value in the variable (actual value).

 

The Base graphic list dialogue provides you with information on the configured graphics and the assigned values. Changes cannot be made in this dialogue.

 

Dlg_VarPictList_Basis

 

For entering, assigning or modifying graphics, use the tabs in the dialogue Attributes.

 

Dlg_VarPictList_Attrb

 

Programming as actual value

 

Value

Displayed graphic

.Default

Led_Off

0

Led_Off

1

Led_Yel

2

Led_Red

3

Led_Red

4

Led_Red

5

Led_Red

6

Led_Red

7

Led_Red

8

Led_Red

all other

Led_Off

 

Creation of graphic list

 

After having specified a name for the graphic list in the "Field properties" dialogue of the graphic list, switch to the properties dialogs by clicking the button Btn_Dialogoeffnen and define the texts with the assigned values in these dialogues.

For this, select the requested graphic library.

 

AuswahlGrafikbibliothek

 

In the main SPSPlusWIN directory is a sub-directory called Grafic.

This sub-directory is divided in Bitmap, Graficlist and Touchbutton. The same structure is configured as project sub-directory. But this is only generated when archiving the project for the first time. Additionally, the bitmaps used are copied from the standard directory into the corresponding project directory and thus belong to the archive.

 

Explr_Grafic

Explr_GraficArbtsVerz

 

The window below shows all graphics available in this folder. Items are selected or added to the graphic list by double-clicking the left mouse button. All graphics which you use are automatically copied into your project directory after being archived. In this way, they become a part of the project.

 

The first graphic selected and assigned is displayed as default value. This is always done, if a value which was not created in the graphic list is entered in the assigned analog variable.

 

Example:

In the above example, the values 0-8 are clearly defined, thus showing the assigned graphics. If a value other than 0-8 is entered into the analog variable, this value is not defined. Consequently, the graphic specified as default graphic is displayed.

 

Tip:

For editing graphics, an external painting program has to be used. By double-clicking the graphic in the preview window using the left mouse button, you automatically activate your standard program for editing bitmaps.

 

Hinweis

1. Overlapping areas are not allowed.

 

2. Graphics must be provided as bitmaps with a maximum of 16 colours.

 

See also:

Kapitelseite Graphics list invisible touch field

 

 

<< return