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.

Display type: Decimal<br />

The raw data are extracted from the CAN message and displayed as decimal<br />

numbers.<br />

Example: Signal T consists of 5 bits and is unsigned. Consequently, the possible<br />

raw value range is 0-31, and the necessary output width is 2 characters.<br />

Display type: Hexadecimal<br />

The raw data are extracted from the CAN message and are displayed as hexadecimal<br />

numbers.<br />

113<br />

Example: Signal T consists of 8 bits. The possible raw value range is then 0-<br />

255, or in hexadecimal representation 0-FF. The necessary output width is<br />

therefore 2 characters.<br />

Display type: Bit<br />

The raw data are extracted from the CAN message and displayed as binary<br />

numbers.<br />

Example: Signal T consists of 8 bits. The necessary output width is also 8, since<br />

all bits are shown individually.<br />

Display type: Bars<br />

The physical signal value is displayed in the form of an analog bar. The following<br />

parameters must be configured for the display:<br />

Min, Max: Minimum and maximum signal values to be displayed by the bars.<br />

Width: Size of the bar that is displayed. The unit corresponds to the width of one<br />

character in the Data window.<br />

Center: This defines the zero position of the bar.<br />

With the help of parameters Min, Max and Center, it is possible to display just a<br />

section of the signal's value range. For example, this could be the working point<br />

of a signal to be monitored.<br />

Display type: C-Style<br />

You should only select this option if you are familiar with the programming language<br />

C or C++. In the dialog's format input box you would enter a format string<br />

that is used to display signal values in the Data window.<br />

The signal's raw data (without conversion formula) are extracted from the CAN<br />

message, converted to a 32 bit value, and output with the help of the<br />

sprintf() C function:<br />

sprintf(buffer, FORMATSTRING, (unsigned long)SIGNALVALUE)<br />

The format string is compatible with the printf() format string of C. Due to<br />

the transformation to unsigned long an L-modifier must always be entered.<br />

Legal interpretations are "lx", "lX", "ld", "f" and "F". You can also use width and<br />

precision modifiers.<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!