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.

With View you can choose among three different representation formats for the bytes<br />

of the environment variable:<br />

• Hexadecimal and text fields (the two fields are shown next to one another)<br />

• Only hexadecimal field<br />

149<br />

• Only text field<br />

Hexadecimal representation consists of blocks, each with two hexadecimal digits.<br />

Each block represents one byte of the environment variable value.<br />

Text representation consists of keyboard characters. Each byte of the environment<br />

variable is represented as a character in ASCII code. If no printable ASCII character<br />

corresponds to the byte value, a dot is shown.<br />

You can have your entries accepted in the environment variable by pressing the <br />

key, moving the cursor to another box, or choosing the Accept menu item.<br />

Please note that in accepting environment variables of the String type, characters are<br />

only read up to a terminating null character (byte value zero). Characters that follow<br />

are not assumed in the variable. For environment variables of the Data type, on the<br />

other hand, the null character is not terminating.<br />

In the Text Attributes box the font and background color can be configured. With a<br />

reset, the text attributes prescribed as default values are assumed.<br />

Note: You can use the key to toggle between the two input modes<br />

Insert and Overwrite.<br />

5.6 Working with Bitmap Controls<br />

With bitmap elements differentiation is made between two-stage and multistage elements.<br />

The first group consists of bitmap push button and two-stage bitmap<br />

switch/indicator .The second group includes multistage bitmap switch/indicator. In<br />

the configuration dialog you can assign a bitmap file to each of these elements.<br />

You can create bitmap files with any bitmap editor (e.g. Paintbrush or Borland Resource<br />

Workshop). The formats for <strong>CANoe</strong> panel bitmaps are described in the following<br />

section.<br />

Note: After you have edited a bitmap in the Panel Editor that is used by one or<br />

more elements, you can update it with Reload Bitmaps.<br />

Examples of bitmaps that you can integrate directly into your panels or use as patterns<br />

for your own elements, are located in the directory DEMO_CAN_CN\COLLECT.<br />

The <strong>CANoe</strong> sample configuration COLLECT.CFG gives you an overview of this bitmap<br />

collection.<br />

5.6.1 Bitmap File Format<br />

A bitmap file for a two-way switch always consists of 3 rectangular partial bitmaps of<br />

identical height and identical width which are arranged horizontally. The inactive state<br />

is displayed in the rectangle on the left. This state appears in the panel, e.g. before<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!