09.01.2013 Views

CANoe DENoe - KEMT FEI TUKE

CANoe DENoe - KEMT FEI TUKE

CANoe DENoe - KEMT FEI TUKE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

150<br />

the measurement start or if no environment variable was assigned to the element.<br />

The logical state for OFF is displayed to the right of the first rectangle. It corresponds<br />

to the environment variable value 0. In the third position is the logical state for ON.<br />

This corresponds to the switch value of the environment variable.<br />

Figure 82: Bitmap for a switch with three states<br />

A bitmap file for a n-stage switch consists of n+1 rectangular partial bitmaps of identical<br />

height and width arranged horizontally. Again, the inactive state is displayed on<br />

the left. The n switch values are located in the n partial bitmaps to the right of this.<br />

To be able to integrate bitmap files more easily into the panels, it is advisable to make<br />

the number of stages discernible in the file names. The bitmaps supplied in the sample<br />

directories DEMO_CAN_CN\AUTOMOT and DEMO_CAN_CN\COLLECT show you a<br />

possible naming convention. The names of n-stage bitmaps here always end with "<br />

_N".<br />

Note: When creating your own bitmaps the bitmap editor program should be set<br />

to save the bitmap as an uncompressed Windows bitmap. Special compressed<br />

bitmaps cannot be processed by some graphics drivers, which<br />

can lead to unpleasant visual effects or even system crashes.<br />

5.6.2 Configuration of Bitmap Elements<br />

In the configuration dialog of a bitmap element you open a file selection dialog with<br />

the [File] button. In this dialog you assign a bitmap to the element. Please note that<br />

your bitmap must always contain one partial bitmap more than the number of states<br />

that you entered under States above, according to the format described in section<br />

5.6.1. The left partial bitmap represents the invalid state and is displayed, for example,<br />

if no valid environment variable or no valid signal was assigned to the element.<br />

You activate or deactivate the element's transparency in the check box Transparent<br />

Color. For background bitmaps it is advisable not to activate the transparency, so<br />

that the drawing requirements are not increased unnecessarily.<br />

© Vector Informatik GmbH <strong>CANoe</strong>/<strong>DENoe</strong> Manual Version 4.1.1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!