0% found this document useful (0 votes)
156 views

Lec CANoe DataBase

CANdb++ allows engineers to design complete vehicle communication systems by defining network nodes, messages, and signals in a database. The database stores these objects and their relationships. Engineers can then view signal values symbolically in CANoe. Key objects include nodes representing ECUs, messages containing blocks of transmitted data, and signals which are the individual data elements within messages. Engineers build the database by defining these objects and establishing their associations.

Uploaded by

Tejas Deshpande
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
156 views

Lec CANoe DataBase

CANdb++ allows engineers to design complete vehicle communication systems by defining network nodes, messages, and signals in a database. The database stores these objects and their relationships. Engineers can then view signal values symbolically in CANoe. Key objects include nodes representing ECUs, messages containing blocks of transmitted data, and signals which are the individual data elements within messages. Engineers build the database by defining these objects and establishing their associations.

Uploaded by

Tejas Deshpande
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

Introduction to CANdb++

What is the purpose of a Database

 Allows a system engineer to design a


complete system communication matrix.
 Stores signals, Messages and node definitions as
well as their relationships.
 Value states can be assigned symbolic names.
Symbolic names displayed in CANoe
 Names can be referenced from the CAPL.
 Most important components: Network nodes,
Messages, and signals
CANdb++ object hierarchy
objects

 Network Nodes:
 A network node consists of one CAN
Controller and a transceiver in an
ECU. Occasionally, an ECU may
contain more than one node.
objects

 Messages:
 A message is a container holding a block of data
transmitted onto the bus. This block of data is
shown numerically in CANoe in either
hexadecimal or decimal.
 To display the message name and its data field,
in engineering units or symbolically, the
message has to be defined in the database.
 Must contain unique ID.
objects
 Signals:
 Signals are the actual data objects to be
exchanged between nodes, and are encoded in
the data field of CAN messages.
 Signals typically occupy most of a CAN
message’s data bytes
 Signals can have parameters for conversion of
raw data to physical units (also known as an
engineering unit).
 Range from 1 bit to 32 bits in length.
objects

 Environment Variables:
 Environment variables are data objects
used to describe external events. They are
global to the CANoe environment, and are
used to link the functions of a CANoe
panel to CAPL programs.
 Like global variables in C language.
Opening CANdb++
 Click on the database icon to launch CANdb++ in CANoe
 CANdb++ will open with the associated database
Create database
Steps to build a Database (DBC)

 Define the network nodes.


 Define the messages.
 Define the signals.
 Establish object associations
 Signals to messages relationships.
 Messages to network node relationships.
 Define environment variables.
Creating Objects
 Choose the object to be created from the object tree
in the “Overall View”.
 Right click and choose New or Choose Edit  New.
Network Node Definition
 Definition
 Symbolic Name.

 Must start with a letter or


Underscore.
 No white space is allowed.

 Mapped Tx and Rx Signals

 Signals the node requires.

 Automatically maps message


Message Definition
 Definition
 ID: Messages ID.

 DLC: Data Length Code (max: 8)


 Transmitter for message
 Signals

 Lists signal assigned to message


 Choose tab to add/remove signals
 Layout
 Show signal orientation
 Can be used to adjust signals.
Signal Definition
 Definition
 Symbolic name

 Size of signal in bits

 Byte order-Intel or Motorola

 Units

 Value
 Type

 Signed, Unsigned, Float,


Double
 Factor and offset

 Min/Max

 Assigned value table

 Attributes

 List and locally modify


signal attributes
 Value Descriptions

 Displays members of
assigned value table
Environment Variables

 Allow data exchange


between:
 A CAPL program
and a panel.
 CANoe and

 Simulink

 Labview

 Com interface.

 Data types: Integer,


Float, String, and
Data.
Establish Object Relationships
 Signals to message
 Highlight all signals that belong to the
message
 Drag and drop the signals to the message

 Transmit messages to network node


 Highlight message transmitted by the network

 Drag and drop the message to “Tx Messages”


Associating a Database
Associating a Database
Associating a Database
Attach an Environment Variable
Edit properties of an LCD
Properties of LCD
Properties of a switch
Mouse Activator  Select “left”
Add a panel to simulation

You might also like