Download Vehicle Network Toolbox User's Guide

Transcript
14
Properties — Alphabetical List
Database
Store CAN database information
Description
The Database property stores information about an attached CAN database.
Characteristics
Usage
CAN channel, CAN message
Read only
For a CAN message property
Data type
Database handle
Values
This property displays the database information that your CAN channel or CAN message
is attached to. This property displays an empty structure, [ ], if your channel message
is not attached to a database. You can edit the CAN channel property, Database, but
cannot edit the CAN message property.
Examples
To see information about the database attached to your CAN message, type:
message.Database
To set the database information on your CAN channel to C:\Database.dbc, type:
channel.Database = canDatabase('C:\Database.dbc')
Tip CAN database file names containing non-alphanumeric characters such as equal
signs and ampersands are incompatible with Vehicle Network Toolbox. You can use
14-8