Products & Services Solutions Academia Support User Community Company

Learn more about Vehicle Network Toolbox   

The CAN Tool

Opening the CAN Tool

The Vehicle Network Toolbox provides a graphical user interface that displays CAN message traffic on selected CAN channels.

To open the CAN Tool type canTool at the MATLAB command line.

Parts of the CAN Tool

The CAN Tool is a simple interface that displays all messages received by a specific CAN channel. The tool has the following fields:

Configuration

Channel

Displays all available CAN devices and channels on your system.

Bus Speed

Displays the bus speed of the selected CAN channel. You can also change the bus speed of a channel. See Configuring the Channel Bus Speed.

Messages

Start

Click this button to view message activity on the selected channel.

Pause

Click this button to pause the display of message activity on the selected channel.

Stop

Click this button to stop displaying messages on the selected channel.

Export Messages

Click this button to export the current message list on the selected channel up to the latest message.

Show only unique messages

Select this check box to show the most recent instance of each message received on the selected channel. If you select this check box, the tool displays a simplified version of the message traffic. In this view, you will not see messages scroll up, but each message refreshes its data with each timestamp. If you do not select this option the tool displays all instances of all messages in the order that the selected channel receives them.

Messages Table

Timestamp

Displays the time, relative to the start time, that the device receives the message. The start time when you click Start in the tool starts at 0.

ID

Displays the message ID. This field displays a number in hexadecimal format for the ID and:

  • Displays numbers only for standard IDs.

  • Appends with an x for an extended ID.

  • Displays an r for a remote frame.

  • Displays error for messages with error frames.

Length

Displays the length of the message in bytes.

Data

Displays the data in the message in hexadecimal format.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS