0% found this document useful (0 votes)
94 views148 pages

PDF Canalyzer75 Manual en DD

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views148 pages

PDF Canalyzer75 Manual en DD

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 148

This website stores data such as

cookies to enable essential site


User Manual
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time CANalyzer
or accept the default settings.
(including Notes on Installation and all
a ll Options)
Privacy Policy
Version 7.5
Marketing
English
Personalization

Analytics

Save Accept All


This website stores data such as
cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change
Imprintyour settings at any time
or accept the default settings.
Vector Informatik GmbH
Ingersheimer Straße 24

Privacy D-70499
Policy Stuttgart

Marketing
The information and data given in this user manual can be c hanged without prior notice. No part of this manual may be reproduced in
any form or by any means without the written permis sion of the publisher, regardless of which method or which instruments,
instrum ents, electronic
Personalization
or mechanical, are used. All technical information, drafts, etc. are liable to law of copyright protection.
© Copyright 2006, Vector Informatik GmbH. Printed in Germay.
Analytics
All rights reserved.
80421

Save Accept All


User Manual Table of contents

Table of contents

1 Introduction 7
1.1 About this user manual
manual 8
1.1.1 Access helps and
and conventions
conventions 8
1.1.2 Certification 9
1.1.3 Warranty 9
1.1.4 Support 9
1.1.5 Registered trademarks 9

2 Installation 11
2.1 General 12
2.2 System requirements
requirements 12
2.3 Installation requirements
requirements 12
2.4 Installation procedure 13
2.5 Notes on activating a software based license 13
2.6 Vector USB dongle 14
2.7 MOST 15
2.7.1 MOST25: Use with Optolyzer Box 15
2.7.2 MOST150: Use with Optolyzer G2 3150o 16
2.7.3 MOST50: Use with Optolyzer G2 3050e 16
2.8 Further CANalyzer options 17
2.9 Switching
Switchi ng language versions 17
2.10 Running the test 18
2.11 Troubleshooting 18
2.11.1 Software-specific error messages 18
2.11.2 Hardware-specific
Hardware-specif ic error messages 19

3 Basics 21
3.1 Introduction to CANalyzer 22
3.2 Tips for using CANalyzer 23

3.3 Overview of the programs 25


3.4 CANalyzer architecture 25
3.5 Particularities of the demo version 26
This website stores data such as
cookies 4
to enable CANalyzer
essential site Tour 27
functionality, as well as marketing,
4.1
personalization, Overview
and analytics. You 28
may change
4.2 your settings at any time
Preparations 28
or accept
4.3the default settings.
Setting up the bus 29
4.4 Transmitting data 31
Privacy 4.5
Policy Evaluation
Evaluatio n window 34
4.6 Working with symbolic data 37
Marketing
4.7 Analysis of signal
signal values in the Data window 38
Personalization
4.8 Analysis of signal
signal responses in the Graphics window
window 40
Analytics
4.9 Use of the database in transmitting messages 41

Save Accept All

© Vector Informatik GmbH Version 7.5 -I-


Table of contents User Manual

4.10 Analysis of an engine


engine area simulation 42
4.11 Logging a measurement 43
4.12 Evaluating a log file 44

5 Applications 45
5.1 Overview of the important elements 46

5.2 Measurement/ Measurement setup


Measurement/Measurement 48
5.3 Working with configuration
configurations
s 48
5.4 Transmitting and receiving data 49
5.4.1 The transmit branch 49
5.4.2 The evaluation branches 50
5.4.3 Message attributes 51
5.5 Working with databases
Worki 52
5.5.1 Use of multiple databases 53
5.5.2 Resolving ambiguities 54
5.5.3 Checking for consistency of symbolic data 54
5.6 Working with multiple channels 55
5.6.1 Channels in online mode 55
5.6.2 Channels in offline mode 56
5.7 Logging and evaluation of measurement files 56
5.7.1 Trigger 56
5.7.2 Data analysis 58
5.7.3 Data export and conversion 58
5.8 Standalone Mode 59
5.9 Step Sequencer 59
5.10 COM server 59
5.11 Troubleshooting 60
5.12 List of error messages to the CAN interface 61

6 Windows 63
6.1 Desktop concept 64
6.2 Window management 64
6.3 Measurement Setup window 65

6.4 Trace window 68


6.5 Graphics window 69
6.6 Write window 71
This website
6.7 stores datawindow
Data such as 71
cookies to enable essential site
6.8 as well
functionality, Statistics window
as marketing, 72
personalization,
6.9 and analytics.
Statistics You window
Monitor 74
may change
6.10 your settings
Display at any time
panels 75
or accept the default settings.
7 Blocks and Filter 77
Privacy 7.1
Policy Overview 78
7.2 Interactive Generator Block (IG) 78
Marketing
7.3 Replay block 79
Personalization
7.4 Trigger block 80
Analytics
7.5 Filter/Filter block 80

Save Accept All

- II - Version 7.5 © Vector Informatik GmbH


User Manual Table of contents

7.6 Channel filter 80


7.7 CAPL nodes in the measurement setup 81

8 CAPL 83
8.1 CAPL basics 84
8.2 CAPL Browser 86

9 CAN 89
9.1 Overview 90

10 LIN 91
10.1 Preliminary note 92
10.2 How to create a LIN description file 92
10.3 How to create a CANalyzer.LIN configuration 92
10.4 How to analyze a LIN network 93
10.5 How to simulate a LIN Master node 93
10.6 How to control a LIN Master’s scheduler 93
10.6.1 Using the Interactive Master 93
10.6.2 Using CAPL 94

10.7 How to log and replay LIN traffic 94


10.8 How to view LIN signals 95
10.9 How to manipulate LIN signals 95
10.9.1 Using the CAPL function output() 95
10.9.2 Using the Interactive Generator Block 96

11 MOST 97
11.1 Preliminary note 98
11.2 MOST database: Function catalog 98
11.3 How to create a CANalyzer.MOST configuration 98
11.4 How to analyze a MOST network 99
11.5 How to stimulate a MOST system 100
11.6 How to log and replay MOST data traffic 100
11.7 Using CAPL 101
11.7.1 Program-controlled
Program-c ontrolled sending 101
11.7.2 Program-controlled
Program-controlle d receiving 102
This website stores data such as
cookies 12
to enable FlexRay
essential site 103
functionality, as well as marketing,
12.1
personalization, Preliminary
and analytics. note
You 104
may change
12.2 your settings at any time
How to create a FlexRay database 104
or accept the default
12.3 How settings.
to create a CANalyzer.FlexRay
CANalyzer.FlexRay configuration 105
12.4 How to analyze a FlexRay network 105
Privacy 12.5
Policy How to log and replay FlexRay traffic 106
12.6 How to view FlexRay signals 106
Marketing
12.7 How toto manipulate FlexRay signals 107
Personalization
12.7.1 Using CAPL functions FRUpdateStatFrame/FRSendDynFrame/FRUpdatePDU 108
Analytics 12.7.2 Using the FlexRay Frame Panel or FlexRay PDU Panel 108

Save Accept All

© Vector Informatik GmbH Version 7.5 - III -


Table of contents User Manual

®
13 J1939 and NMEA 2000 109
13.1 Introduction 110
13.2 Quick start 110
13.2.1 Create a J1939 database 110
13.2.2 Create a J1939 configuration
configurat ion 111
13.2.3 Create communicatio
communication n relationships
relationship s 111
13.2.4 Sample configurati
configurations
ons 112
13.3 Use cases 112
13.3.1 Analyze J1939
J1939 networks 112
13.3.2 Diagnose J1939 networks 112
13.3.3 Log and replay J1939 data 113
13.3.4 Trigger and filter J1939 data 113
13.3.5 Modify J1939 signals 114
13.3.6 Analyze GNSS
GNSS data 114
13.3.7 Simulate a GNSS receiver 114
13.3.8 Play back GNSS protocol files 115

14 CANopen 117
14.1 Extended features of option CANopen
Extend 118
14.1.1 Trace window 119
14.1.2 CANopen generator block 119
14.1.3 CANopen Scanner 120
14.1.4 Bus configuratio
configuration
n 120
14.1.5 Add-ons 120
14.2 Databases 121
14.3 Device configuration with CANsetter 121
14.4 Sample configurations
configurati ons 122

15 IP 123
15.1 Introduction 124
15.1.1 Check Installation 124
15.2 Security advice for using CANalyzer.IP 125
15.2.1 Exclusive use of an Ethernet interface 125
15.3 Use cases 126
15.3.1 Analyze Ethernet
Ethernet networks 126
15.3.2 Filter Ethernet data 126
15.3.3 Stimulate Ethernet packets 126
15.3.4 Run Remote CAN analysis 126
15.4 Quick start 127
This website stores data such
15.4.1 as
Analyze network traffic
network 127
cookies to enable 15.4.2
essential site
Evaluate signals 127
functionality, as well as marketing,
15.4.3 Run Remote CAN analysis 127
personalization, and analytics.
15.4.4 You configurati
Sample configurations
ons 128
may change your settings at any time
or accept the default settings.
16 J1587 129
16.1 Introduction 130
Privacy 16.2
Policy Prerequisites 130
16.2.1 Configure J1708 channels 130
Marketing 16.2.2 Define J1587 parameters in CANdb++ Editor 131
Personalization
16.3 Functionality 131
Analytics 16.3.2
16.3.1 Parameter Monitor
J1587 Diagnostic Monitor
131
132

Save Accept All

- IV - Version 7.5 © Vector Informatik GmbH


User Manual Table of contents

16.3.3 Trace window 132


16.3.4 Data and graphic window 133
16.3.5 Interactive Generator Block 133
16.3.6 Filter 133
16.3.7 CAPL 134

17 CANaero 135

17.1 Scope of delivery 136


17.2 Basics 136
17.3 Database Concept 136
17.4 Extensions 137
17.4.1 Trace window 137
17.4.2 Data window 137
17.4.3 Interactive Generator Block 137

18 Appendix A: Support 139

19 Appendix B: Address table 140

20 Index 143

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All

© Vector Informatik GmbH Version 7.5 -V-


This website stores data such as
cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


User Manual Introduction

1 Introduction

In this chapter you find the


t he following information:

1.1 About this user manual


manual page 8
Access helps and
and conventions
conventions
Certification
Warranty
Support
Registered trademarks

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 7

Introduction User Manual

1.1 About this user manual


1.1.1 Access helps and conventions

To find information The user manual provides you the following access helps:
quickly  at the beginning of each chapter you will find a summary of its contents,

 in the header you see the current


curr ent chapter and section,
 in the footer you see to which program version the user manual replies,
 at the end of the user manual you will find an index.

Online Help: Please refer to the online help for detailed information on all topics.

Conventions In the two following charts you will find the conventions used in the user manual
regarding utilized spellings and symbols.

Style Utilization
bold Blocks, surface elements, window- and dialog names of the
software. Accentuation of warnings and advices.
[OK] Push buttons in brackets
File||Save
File Notation for menus and menu entries
CANalyzer Legally protected proper names and side notes.
Source code File name and source code.
Hyperlink Hyperlinks and references.
<STRG>+<S>
<STRG>+<S> Notation for shortcuts.

Symbol Utilization
Here you can obtain supplemental information.

This symbol calls your attention to warnings.

Here you can find additional information.

This website stores data such as


Here is an example that has been prepared for you.
cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time Step-by-step instructions provide assistance at these points.
or accept the default settings.

Instructions on editing files are found at these points.


Privacy Policy

Marketing
This symbol warns you not to edit the specified file.
Personalization

Analytics

Save Accept All


8 Version 7.5 © Vector Informatik GmbH

User Manual Introduction

1.1.2 Certification

Certified Quality Vector Informatik GmbH has ISO 9001:2008


9001:2008 certification.
Management System The ISO standard is a globally recognized quality standard.

1.1.3 Warranty

Restriction of We reserve the right to change the contents of the documentation and the software
warranty without notice. Vector Informatik GmbH assumes no liability for correct contents or
damages which are resulted from the usage of the user manual. We are grateful for
references to mistakes or for suggestions for improvemen
improvementt to be able to offer you
even more efficient products in the future.

1.1.4 Support

You need support? You can get through to our hotline at the phone number
+49 (711) 80670-200
or you send a problem report to the CANalyzer Support
Support..

1.1.5 Registered trademarks

Registered All trademarks mentioned


mentioned in
in this user man
manual
ual and if necessary
necessary third party registered
registered
trademarks are absolutely subject to the conditions of each valid label right and the rights of
particular registered proprietor. All trademarks, trade names or company names are
or can be trademarks or registered trademarks of their particular proprietors. All rights
which are not expressly allowed, are reserved. If an explicit label of trademarks,
which are used in this user manual, fails, should not mean that a name is free of tthird
hird
party rights.
 Outlook, Windows
Outlook, Windows,, Windows XPXP,, Windows 2000 and Windows NT are
trademarks of the Microsoft Corporation.
 CANoe, CANalyzer, CANdb++ Editor, J1939 CAPL Generator, CANsetter and
CANoe,
CANeds are trademarks of Vector Informatik GmbH.
 CANopen and CiA are trademarks of the CAN in Automation e.V.
 NMEA and NMEA 2000 are trademarks of the National Marine Electronics
Association.
This website stores data such as eclipse is subject to the Copyright of the Eclipse contributors and others.
cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 -9-

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


User Manual Installation

2 Installation

This chapter contains the following information:

2.1 General page 12


2.2 System requirements
requirements page 12
2.3 Installation requirements
requirements page 12
2.4 Installation procedure page 13
2.5 Notes on activating a software based license page 13
2.6 Vector USB dongle page 14
2.7 MOST page 15
MOST25: Use with Optolyzer Box
MOST150: Use with Optolyzer G2 3150o
MOST50: Use with Optolyzer G2 3050e
2.8 Further CANalyzer options page 17
2.9 Switching language versions page 17
2.10 Running the test page 18
2.11 Troubleshooting page 18
Software-specific error messages
Hardware-specific
Hardware-specific error messages

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 11 -

Installation User Manual

2.1 General

Overview This manual describes the installation of the software and associated hardware. It
also describes the functional test used to check whether the software and hardware
are installed correctly.

Info: The hardware drivers on the CANalyzer installation CD may be newer than the
ones shipped with the hardware. Please use always the latest drivers.

Note: Please note that the CAN hardware you intend to use must be enabled for use
with CANalyzer. Please see the appendix for more information on enabling.

2.2 System requirements

Installation sequence Please carry out the installation in the following order:
1. Install the hardware as described in the hardware manual.
Once the hardware is installed, please carry out a driver update.
update. For more
information on this, please see the appendix.
2. Install the software
software..

The following system configuration is recommen


r ecommended
ded for use with CANalyzer:
Processor Pentium 4 / 2.6 GHz (minimum: Pentium III / 1 GHz)
Memory (RAM) 1 GB (minimum: 512 MB)
Hard disk space 200 MByte...600 MByte
(Depending on options used and operating system components required.)
Monitor resolution 1280×1024 pixels (minimum: 1024×768 pixels)
Operating system Windows VISTA / Windows XP at least with Service Pack 2 / Windows 2000 with
Service Pack 4

Other You will need (D)COM version 1.2 or later to support the COM interface.

This website stores data such asNote: Administrator rights are needed to install CANalyzer.
cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
2.3
or accept Installation
the default settings. requirements

Privacy Policy Note: Please note that you cannot install CANalyzer Version 3.0 or later over an older
CANalyzer version (CANalyzer
(CANalyzer Version 2.5 or older). You can, however, delete the
Marketing old CANalyzer version, rename the old CANalyzer installation, or install the new
CANalyzer installation in a new folder. This makes it possible to work with different
Personalization CANalyzer versions.
Analytics

Save Accept All


- 12 - Version 7.5 © Vector Informatik GmbH

User Manual Installation

Windows VISTA, XP, Installation of the software is identical for these operating systems.
2000

Installing the Options Further installations steps may be required if your package includes additional
additional
options. Please refer to the installation notes in the manual for each option.

2.4 Installation procedure

How to start the Please take the following steps to install the CANalyzer software:
installation…
1. Place the CANalyzer installation CD in your CD drive.
A Start window will appear, in whi
which
ch you can start th
the
e software installation.
installation.
If your computer is not configured to automatically launch Start windows, you can
launch the installation program SETUP.EXE from the Application folder on the
CD.
2. Follow the installation program instructions.

Note: For the installation you need administrator rights.


If you are logged on as standard user (with standard user rights), you have to start

the CANalyzer
opened installation
to be logged on asprogram Setup.exe
a user with from the
administrator Explorer
rights. directly.
After that A dialog is
the installation
routine can be executed successfully.

Installation types You can run a Standard or Custom installation.


Standard  In a Standard installation,
installation, the software is installed and pre-configured
pre-configured in
accordance with your order (hardware platform, language version and bus type).
Custom  With a Custom installation,
installation, you can install hardware connections
connections for alternately
available hardware platforms, German or English language versions and sample
configurations.

2.5 Notes on activating a software based license

Products The following products and versions support software based license protection:
 CANoe/CANalyzer ≥ 7.1

This website stores data such as Test Automation Editor ≥ 1.1
cookies to enable essential site
functionality, as well as marketing,
Licensing The software product you are about to install requires a license.
personalization, and analytics. You
may change your settings at anyThe timelicense protection method depends on the product:
or accept the default settings.  Hardware based license protection
License becomes available when USB dongle or bus interface hardware is
inserted/plugged
Privacy Policy  Software based license protection
An Activation ID is delivered with your product an
and
d must be activated
activated before
Marketing
usage.
Personalization The respective license protection is chosen when ordering the product.
Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 13 -

Installation User Manual

Activation ID If the product is delivered with a software based license protection, you will find a
sticker on the CD/DVD cover, which shows an Activation ID of one of the following
formats (examples given):
 A-1A2B3C4D5F6G7-1A2B3C4D5F6G7
 ACT-0000012345-000012-123456

After PC.
your installing the
the software you wi
willll need this Activation ID to activate the license on

license
Activating a license Once the software has been installed, start the Activation Wizard from the product’s
start menu entry (sometimes may also be located in the Tools subfolder) and make
your selections there.
At one point
point you are asked to enter the Activation ID.
ID. Enter the Activation ID
exactly as printed on the sticker found on the CD/DVD cover.
After the license has been activated successfully,
successfully, you can start wo
working
rking with your
application.

Info: Some product installers may automatically start the Activation Wizard once the
installation is complete.

Help & support Further help on activating a license is available by pressing the [Help] button in the
Activation Wizard.
Wizard.
If you need further assistance with activating a license (e.g. when you do not have
Internet access from your machine to activate the license online) please direct your
questions to: activation@vecto
[email protected]
r-worldwide.com

2.6 Vector USB dongle

areas
Application areas The USB dongle is required…
 …for the MOST option.
Exception: When using hardware from the XL product family.
 …after upgrading from CANalyzer to CANalyzer.MOST with XL products, unless
the license was not subsequently defined on the card.
 …for Optolyzer Integration Package (OIP) for the operation for MOST150 and
MOST50.
This website stores data such as
cookies to enable essential site Note: The USB dongle must not be connected during the installation.
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept
Howthe to
default
installsettings.
the Procedure:
USB dongle…
1. Run the setup file haspdinst.exe
haspdinst.exe..
Privacy Policy The file is in the drivers\Ve
drivers\VectorDriverD
ctorDriverDisk\Drivers\3
isk\Drivers\32_Bit\Dongle
2_Bit\Dongle folder on the
CD.
Marketing
Installing this file may take a little while (up to 4 minutes).
Personalization
2. You need to reboot your computer
computer when the installation
installation is complete.
complete.
Analytics
3. Plug the USB dongle
dongle into the USB port.
port.

Save Accept All


- 14 - Version 7.5 © Vector Informatik GmbH

User Manual Installation

Note: You can also search for a current driver in the Vector Download Centre. Install
the driver with the downloaded program Setup.exe afterwards.

2.7 MOST

Prerequisites To run MOST, you will need the following:


 A MOST Option
Option license tha
thatt is tied to the ha
hardware
rdware or to a USB
USB dongle.
 Additionally for
for MOST150
MOST150,, for operation with an Optolyzer G2 3150o:
3150o:
A license for the Optolyzer Integra
Integration
tion Package (OIP) of Vector on a USB dongle
or on a simultaneously connected
connected Vector hardware.
 Additionally for
for MOST50
MOST50,, for operation with an Optolyzer G2 3050e:
3050e:
A license for the Optolyzer Integ
Integration
ration Packag
Packagee (OIP) of Vector on a USB dongle
or on a simultaneously connected
connected Vector hardware.

Note: The Optolyzer Integration Package (OIP) covers operation with MOST150 and
MOST50..
MOST50

Further Information: For help with installing the MOST hardware, please refer to the
associated installation manual.

2.7.1 MOST25: Use with Optolyzer Box

Prerequisites To work with the Optolyzer Box, you will need the following:
 An Optolyzer Box (Firmware Version 2.50 or later),
 The Optolyzer ActiveX control (incl. new Optolyzer license number).

Installation 1. Install the Optolyzer ActiveX control on your


your PC.
PC.
The installation program that corresponds to your operating system is in the
\Drivers\Optolyzer\OptoControl
\Drivers\Optoly zer\OptoControl folder on the CD.
CANalyzer was developed and tested using the Opto Control version provided on
the CD. We therefore urgently recomme
recommend
nd that you install these
t hese driver versions.
2. In the Win
Windows
dows Contro
Controll Panel, set the COM port settings
settings for all COM
COM ports that
that
are to be used with an Optolyzer Box to 115200,8,n,1,Hardware .
This website stores data such as
3. Install the MOST ooption
ption in a folder of your choosing.
cookies to enable essential site
functionality, as well as marketing,
4. Activate General information|Settings|Synchro
information|Settings|Synchronize nize Hardware in the Vector
personalization, and analytics. You driver configuration dialog.
may change your settings at any time
MOST25 and the HW type Optolyzer for the MOST
5. Choose the speedgrade MOST25
or accept the default settings.
channel in the CANalyzer hardware configuration dialog (Configuration|Network
(Configuration|Network
Hardware…).
Hardware… ).

Privacy Policy 6. Enter the Optolyzer ActiveX co


control
ntrol license
license code
code on
on the Interface page in the
hardware configuration dialog.
Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 15 -

Installation User Manual

Optolyzer If you install Optolyzer Professional, you can enter the ActiveX control license number
Professional via this tool. It is then saved in the Windows registry.
You can save multiple license numbers in this way. They are all checked when a
connection to the Optolyzer Box is created.

2.7.2 MOST150: Use with Optolyzer G2 3150o

Installation 1. Install the Optolyzer G2 3150o or Optolyzer G2 3150o Production corresponding


to the Optolyzer user manual.

Remarks: Note that a license for the Optolyzer Integration Package (OIP) of
Vector on a Vector hardware, USB dongle, or as a license key is required.
The Optolyzer G2 is accessed via the following ethernet port numbers. This
access must not be blocked by any installed firewall:
Spy: 27998
Node: 27999
On PC side the port numbers are allocated automatically. If you need certain port
numbers you have to adjust the file CAN.ini. For Optolyzer G2 3150o (MOST150)
at channel 1 you’ll have to edit the following section:
[OptolyzerG2_1]
MyPortNode=
MyPortSpy=

2. Choose the speedgrade MOST150 and the HW type OptoLyzer OL3150o for the
MOST channel in the CANalyzer hardware configuration dialog
(Configuration|Ne
Configuration|Network
twork Hardware…).
Hardware…).
3. Enter the IP address of the Optolyzer on the Interface page.
(If the Optolyzer is already connected, you can determine its IP address at the
push of a button).
4. On the Setup page, also select the network adapter to which the Optolyzer is
connected.

2.7.3 MOST50: Use with Optolyzer G2 3050e

Installation 1. Install the Optolyzer G2 3050e or Optolyzer G2 3050e Production corresponding


This website stores data such as to the Optolyzer user manual.
cookies to enable essential site
functionality, as well as marketing, Remarks: Note that a license for the Optolyzer Integration Package (OIP) of
personalization, and analytics. You Vector on a Vector hardware, USB dongle, or as a license key is required.
may change your settings at any time
The Optolyzer G2 is accessed via the following ethernet port numbers. This
or accept the default settings.
access must not be blocked by any installed firewall:
Spy: 27998
Node: 27999
Privacy Policy
On PC side the port numbers are allocated automatically. If you need certain port
Marketing numbers you have to adjust the file CAN.ini. For Optolyzer G2 3050e (MOST50)
at channel 1 you’ll have to edit the following section:
Personalization [OptolyzerG2_50_1]
Analytics
MyPortNode=
MyPortSpy=
Save Accept All
- 16 - Version 7.5 © Vector Informatik GmbH

User Manual Installation

2. Choose the speedgrade MOST50 and the HW type OptoLyzer OL3050e for the
MOST channel in the CANalyzer hardware configuration dialog
(Configuration
Configuration|Network
|Network Hardware…).
Hardware…).
3. Enter the IP address of the Optolyzer on the Interface page.
(If the Optolyzer is already connected, you can determine its IP address at the
push of a button).

4. On the Setup page, also select the network adapter to which the Optolyzer is
connected.

2.8 Further CANalyzer options

Overview The options are designed as an add-on to the standard CANalyzer. A number of
standard CANalyzer files are replaced during installation (e.g. driver) and others are
added (e.g. sample configurations).
It is therefore
t herefore important for the versions that they match properly. The installation
program tests this compatibility and issues a warning if appropriate. If there is any
incompatibility
incompatib ility between versions, you should get in touch with Vector Support.
t he sample configurations of the standard CANalyzer, option-specific
In addition to the option-specific
examples are installed in a directory.
A number of different level 7 options can be
be installed simultaneou
simultaneously
sly in a single
directory, for example J1939 and CANopen.

Option CANopen, Install CANalyzer, if you have not already done so. Precede according to its
CANaerospace installation instructions.
After installation of
of the standard version of CANalyzer, the installation of the option
starts automatically.

Hint: During installation of option IP the message "The software 'Vector Network
Driver Miniport' has not passed Windows Logo Testing“ could appear several times.
Please confirm the dialog with the button [Continue installation].
installation].

Caution: Please do not install or uninstall the corresponding option


options
s by manually
copying or deleting files. The programs use COM mechanisms of MS Windows that
must be registered or deregistered by the installation program.

This website stores data such as


cookies 2.9
to enableSwitching
essential site language versions
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at anyThe
Configuration timeGerman and English language versions are installed by default during the
or accept the default settings. standard installation.

You can set the language for all of the program features and the Help (Menu:
Privacy Policy Configuration|Options…|Appearance).
You need to close and then re-start CANalyzer for the changes to become effective.
Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 17 -

Installation User Manual

2.10 Running the test

Prerequisite To test the CANalyzer software installation, the CAN hardware must be successfully
installed.

Procedure 1. Connect the two CAN ports


ports of your CA
CAN
N hardware using a cable that
that is
terminated in a way that is appropriate to the bus type.
2. Load the CANSystemDemo.cfg sample configuration in the Demo folder
(\Demo_CAN_CN\CANSystemDem
(\Demo_CAN_CN \CANSystemDemo) o) and start it.
If the installation is successful, you will be able to observe CAN messages in the
Trace window.

Result This functional test also confirms that the CAN hardware has been installed correctly.

2.11 Troubleshooting

2.11.1 Software-specific error messages

Overview You will find software-specific error messages and how to correct them here.

Further Information: The Overview in the System Messages section of the online
Help contains a list of additional system messages
messages..

Nr. 0: Unable to find PC card. Error number 0. Timeout during card initialization

Background No response was received when accessing the CAN hardware.


Cause The CANoe version is not compatible with your CAN hardware.
Procedure Make sure that the installation is compatible with your CAN hardware.
To do this, open the Help|Info dialog. This shows the software version, e.g.

CANalyzer, along with the hardware expected for this installation. These are:
CANcardXL for CANcardXL
This website stores data such as
cookies to enable essential site CANcaseXL/log for CANcaseXL/log
functionality, as well as marketing,
CANboardXL/pxi/PCIe for CANboardXL/pxi/PCIe
personalization, and analytics. You
DEMO Demo driver with virtual CAN1-CAN2 connection
may change your settings at any time
or accept the default settings.
Cause Faulty driver installation.
Check the driver installation by following the instructions provided in the appendix.
Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


- 18 - Version 7.5 © Vector Informatik GmbH

User Manual Installation

CANoe not allowed with HW version (Software protection with CAN board):0

Either your CAN hardware is not enabled for CANalyzer or it was not possible to
determine whether the hardware is enabled.
Please use enabled hardware.

2.11.2 Hardware-specific erro


errorr messages

Side note Some error messages pertain to faulty settings in the CANcardXL driver configuration
dialog.

You will find this information in the Windows menu under Start|Settings|Control
Panel|Vector Hardware.
Hardware.
It is described as CAN Hardware there. For more details, please refer to the
hardware manual.

No. 4000: CAN channel X is not available

Procedure Check in Vector Hardware to see whether the CANalyzer X entry exists.

No. 4001: CAN channel X does not exist

Procedure Check in Vector Hardware to see whether the hardware assigned to the CANalyzer
X entry is active.

No. 4002: Board initialization error 3014

Cause An error occurred when acce


accessing
ssing the driver.
Procedure Check in Vector Hardware to see whether the driver is installed correctly.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 19 -

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


User Manual Basics

3 Basics

In this chapter you find the


t he following information:

3.1 Introduction to CANalyzer page 22


3.2 Tips for using CANalyzer page 23
3.3 Overview of the programs page 25
3.4 CANalyzer architecture page 25
3.5 Particularities of the demo version page 26

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 21 -

Basics User Manual

3.1 Introduction to CANalyzer

Overview CANalyzer is a universal development


development tool for CAN bus systems, which can assist in
observing, analyzing and supplementing data traffic on the bus line. Based on its
powerful functions and user-programmability,
user-programmability, all needs are covered - from initial trial
runs with CAN to selective error localization in complex problems.

Working levels You can choose to work with CANalyzer on the byte level with bus-like raw data
format, or on the application level with logical/physical data representation. A CAN
database is used to convert raw data. This database has become a de facto standard
in the motor vehicle industry. The user-friendly database management program
CANdb++ is included with CANalyzer.
Applications Even the basic built-in functions - which can be used without any programming
knowledge - provide for an abundance of possible applications. These include listing
bus data traffic (Tracing), displaying data segments of specific messages, transmitting
predefined messages and replaying recorded messages, statistically evaluating
messages, and acquiring statistics on bus loading and bus disturbances, as well as
recording messages for replay or offline evaluation.
Programming Furthermore, the user can expand CANalyzer's functionality as desired by means of
user-programming.
user-program ming. Program blocks can be inserted at any point in the data flow
diagram. The application-oriented,
application-oriented, C-like languag
language
e CAPL serves as the programming
language. A special event procedure concept and CAN adapted language tools
enable the user to develop quick solutions to specific problems. CANalyzer contains
an interactive development environment
environment that makes it easy to create, modify and
compile CAPL programs.
Programmability
Programmability results in numerous potential applications:
Emulation of a bus CANalyzer can emulate those functions of a bus station which are relevant for data
station traffic, e.g. transmitting messages in response to certain events.

Emulation of system In development equipment with bus connections the problem arises that the
This website stores data
environment
environmen t for such asremaining bus participants
participants not available yet for testing purposes. The data traffic of all
cookies testing
to enable essential site
a bus station remaining stations can be emulated with the help of CANalyzer to emulate the system
functionality, as well as marketing,environment.
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


- 22 - Version 7.5 © Vector Informatik GmbH

User Manual Basics

Link between two This provides for exchange of data between CAN buses which may have different
buses speeds. Another target application is to interpose CANalyzer between a bus station to
be tested and the actual bus, in order to observe and manipulate the data transfer in
a test environment.
environment.

Test generator for It is possible to distribute messages intentionally between CANalyzer's two bus
studying the physical connections
connection s and to connect a real (i.e. long) bus line. This makes it possible to
layer conduct very simple experiments involving arbitration or line reflections.

3.2 Tips for using CANalyzer

Operating CANalyzer Essentially, CANalyzer can be operated by both mouse and keyboard.
...during All of the windows
windows of the app
application
lication can b
be
e moved, enlarged,
enlarged, reduced,
reduced, opened
opened and
measurement closed again at any time, i.e. also during the measuremen
measurement.
t.

Main stores
This website menu data such asCANalyzer is operated using the main menu. The individual menu commands are
cookies to enable essential site described in detail in online help.
functionality, as well as marketing,
personalization,
Shortcutandmenuanalytics. You
Additionally,, there are othe
Additionally otherr context-sensitive m
menus
enus in the e
evaluation
valuation windows
windows
may change your settings at anydescribed
time above and in the data flow plans in the Measurement Setup windows.
or accept the default settings. These menus allow the user to specifically configure certain objects. These menus
can be opened by clicking the active block in the active window or in the
measurement setup window with the right mouse button.
Privacy Policy
Measurement setup
Measurement Most blocks in the measurement setup can be parameterized by selecting the first
Marketing
item in the shortcut menu Configuration
Configuration.. The block's configuration dialog is opened
Personalization for this purpose. You can also start this dialog directly, without going through the
shortcut menu, by double clicking on the active block or pressing the <Enter> key.
Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 23 -

Basics User Manual

Box types in dialogs In addition to command inputs, which are usually made using menus, there are also
parameter inputs. As a rule, parameters are entered in dialog boxes. A dialog box
generally consists of six types of fields, each of which can occur more than once:

Element Description
Comment box This tells the user what is to be input. The boxes behave
passively when clicking on them with the mouse. They
cannot be accessed by keyboard either.

Button Buttons serve to execute certain actions, e.g. to exit the


dialog box or to open a subordinate dialog box.
Radio button These buttons represent mutually exclusive options. You
can only select one option at a time. If you select another
option, the previous selection becomes inactive. The
currently selected option but-ton is identified by a black
dot.
Check box A check box next
next to an option indicates that
that this option
can be activated or deactivated. In this case you can
activate as many check boxes as desired. Activated
check boxes are identified by an "x" or „  “.
Text input box Alphanumeric box field, e.g
Alphanumeric e.g.. for entering file names.
Numeric box field, e.g. for entering integer or floating
point numbers.
Drop down list After clicking on the arrow along the
the right border
border of the
box, a list drops down, from which you can select a value
from a prescribed set of values.
Spin control You can use the Spin control to adjust a value within a
defined value range. A value may be entered directly in a
text box by keyboard input, or it may be set by left-click
the increment or decrement button to
increment/decrement
increment/de crement the value stepwise by the
configured step width.
Slider With moving the slider you can edit numerical values
within a specified value range.

Info: Modification of the global options from a configuration dialog affects data
representation
representation in all system windows and dialogs.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


- 24 - Version 7.5 © Vector Informatik GmbH

User Manual Basics

3.3 Overview of the programs

Overview The following executable programs are part of CANalyzer:


 With the CANdb++ Editor you create or modify databases (*.DBC) which contain
the symbolic information for CANalyzer. This includes network nodes and
symbolic names for messages and signals as well as environment variables.
 In the CAPL Browser you create CAPL programs for the transmit branch and
analysis branch of the measurement
measurement setup. Instead of using message identifiers
and data bytes, with the help of the database you can also work with message
and signal names.
 The CANalyzer main program is used to measure and simulate CAN systems.
You can associate one or more databases to any configuration
configuration from
File|Database..
File|Database

Figure 1: CANalyzer system overview

INI files Start options for CANalyzer and Browser are provided in the linked INI files. If you are
starting Browser from CANalyzer's measurement setup, a temporary file
PARBROW.INI is automatically generated with the proper start options and is passed
to Browser.

3.4 CANalyzer architecture

Overview In the course of a measurement


measurement the PC-card rregisters
egisters CAN messages on the bus and
This website stores data such aspasses them to the measurement setup, and from there to the specified paths in the
cookies to enable essential site data flow plan and on to the evaluation and analysis blocks at the far right of the plan.
functionality, as well as marketing,
During a measurement two program modules work closely together to this purpose:
personalization, and analytics. You
First the CANalyzer real-time library (CANRT.DLL ) retrieves the information arriving at
may change your settings at anythe timecard, provides them with a time stamp and shifts them to a ring buffer.
or accept the default settings.
In a second step these data are read out by the actual main program (CANW32.EXE )
and are evaluated in the function blocks on the right-hand side of the data flow plan.
Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 25 -

Basics User Manual

Figure 2: Internal structure of CANalyzer

Function blocks You can influence the data flow in both program modules by inserting function blocks
in the measurement setup. In this context the real-time module is comprised of the
PC card block, all function blocks between the card block and the transmit branch,
and all blocks in the transmit branch itself. All other ffunction
unction blocks are used to
configure the data flow in the evaluation branch.

Blocks in real-time If you insert blocks in the real-time library, CANaylzer's transmit branch, you should
library be make sure that they do not demand too much computing time, so that system
reaction times are not lengthened. Moreover, in CAPL programs you may only access
files from here using special precautionary measures.

3.5 Particularities of the demo version

Demo driver In the demo version of CANalyzer a demo driver which does not require a PC card is

connected to the
this driver are PC
very instead
limited. of a regular
Primarily, PC card
it ensures driver.
that However,which
all messages the functions
are of
transmitted are returned as received messages with a accurate time stamps.
This website stores data such as
cookies to enable essential site
Premises
functionality, Therefore, to be able to work with the demo version, a generator or program block
as well as marketing,
which generates transmit messages must be inserted in the transmit branch.
personalization, and analytics. You
may change your settings at anyMessages
time generated in this way can then be captured, evaluated and saved.
or accept the default settings.
Settings The bus parameter options and message setup which are selected by clicking on the
PC card icon in the measurement setup are irrelevant for the demo version and can
Privacy Policy be disregarded.
disregarded.

Marketing
Limitations Aside from the PC card
card and the asso
associated
ciated card driver,
driver, the demo version
version is a
Personalization complete version. In particular, evaluation and memory storage of messages and
CAPL programming can be tested without limitations.
Analytics

Save Accept All


- 26 - Version 7.5 © Vector Informatik GmbH

User Manual CANalyzer Tour

4 CANalyzer Tour

In this chapter you find the


t he following information:

4.1 Overview page 28


4.2 Preparations page 28
4.3 Setting up the bus page 29
4.4 Transmitting data page 31
4.5 Evaluation window page 34
4.6 Working with symbolic data page 37
4.7 Analysis of signal
signal values in the
the Data window page 38
4.8 Analysis of signal
signal responses in the Graphics
Graphics window page 40
4.9 Use of the database in transmitting messages page 41
4.10 Analysis of an engine
engine area simulation page 42
4.11 Logging a measurement page 43

4.12 Evaluating a log file page 44

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 27 -

CANalyzer Tour User Manual

4.1 Overview

Operating concept If you are starting up CANalyzer for the first time, and its functionality and controls are
still completely new to you, the following tour will help you to become familiar with its
operating concept and its most important features.
For this tour you will first set up a very simple CAN bus where CANalyzer assumes
the roles of both sender and receiver.

Set up CANalyzer In the first step CANalyzer is configured as a data source, i.e. as a transmitting
station. You will then learn about o CANalyzer's analysis options by studying the
generated data in the measurement windows afterwards.
In complex real systems CANalyzer typically also assumes both roles. You can utilize
the program as a data source to transmit data to other controllers, but you can
simultaneously
simultaneou sly use it to observe, log and evaluate the data traffic on the CAN bus.

4.2 Preparations

Windows CANalyzer has various evaluation windows (Trace, Data, Graphics, Statistics and
Bus Statistics windows) as well as a measurement setup window which shows you
the data flow and simultaneousl
simultaneouslyy allows you to configure CANalyzer.
You can access all program windows from the View menu on the main menu bar.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Figure 3: View menu on main menu bar
Personalization

Analytics

Save Accept All


- 28 - Version 7.5 © Vector Informatik GmbH

User Manual CANalyzer Tour

Measuremen
Measurementt setup The data flow diagram of the CANalyzer measurement setup contains the data
source on the left - symbolized by the symbol of a PC-card - and various evaluation
evaluation
blocks on the right serving as data sinks. That is, the data flow is from left to right.
Connection lines and branches are drawn between the individual elements to clarify
the data flow.

In the data flow diagram you will also recognize small black rectangles: . At
these insertion points (hot spots) you can insert additional function blocks for
manipulating
manipula ting the data flow (filter, replay and generator blocks, or CAPL program
blocks with user-definab
user-definablele functions).

Evaluation windows The information arriving at each evaluation block is displayed in the block's evaluation
window. For example, the Trace window displays all information arriving at the trace
block, while the Graphics window shows you information arriving at the graphics
block.
The only exception is the logging block, which is not assigned a window but rather a
file in which the data arriving at the block are logged.

Create a new Make sure that you begin this tour with a new configuration by selecting the menu
configuration item File│New configuration
configuration. The dialog for choosing a template will be opened. In
this dialog choose the CAN_83kBaudTemplate.tcn template and close the dialog
with [OK]
[OK]..

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
Figure 4: Menu item File|New configuration
or accept the default settings.

Privacy 4.3
Policy Setting up the bus
Marketing
Preparations To start up CANalyzer it is advisable to use a test setup with only two network nodes
Personalization
that are independent of existing CAN bus systems. The two CAN controllers on the
Analytics PC card can serve as the network nodes.

Save Accept All


© Vector Informatik GmbH Version 7.5 - 29 -

CANalyzer Tour User Manual

Connect PC card First, connect the two D-Sub 9 connectors of your CAN card to one another
and CAN controller (CANcabs). For a high-speed bus interface you need a connection cable (CANcable)
with two bus termination resistors of 120 Ω each. For a low-speed interface you will
simply need a 3-conductor cable to interconnect the pins of the two controllers that
are assigned to the bus lines CAN high, CAN low and ground.

Figure 5: PC card with connection cable

Consequently, the CAN bus that you use during this tour will consist of a short 2-
Consequently,
conductor or 3-conductor cable that connects the two CAN controllers of the CAN
card to one another. This is necessary as a minimal configuration, since the CAN
protocol requires - in addition to a sender - at least one receiver that confirms the
correct receipt of messages with an acknowledge.

Define the bus Up to this point we have not considered definitions of bus parameters (Transmission

parameters speed, sampling point,


trollers. point, etc.) which must be set for each of the two participating con-

1. To do this, from the View menu bring the measurement setup to the foreground
and click the right mouse button on the on the PC card icon at the left of this
window.

Figure 6: Shortcut menu of the PCcard symbol

2. Choose the shortcut menu item Network Hardware… and open the Network
Hardware Configuration dialog.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics
Figure 7: Network Hardware Configuration dialog

Save Accept All


- 30 - Version 7.5 © Vector Informatik GmbH

User Manual CANalyzer Tour

3. After then select + and Setup from the configuration dialog


dialog for the first controller
CAN 1 and type in the value for the baudrate 100kBaud.This makes sense for
both high speed and low speed buses. CANalyzer recommends default values for
the controller registers, which you accept with [OK]
[OK].. When you do this - besides
the transmission speed of 100 kBaud - you also implicitly define other controller
parameters (Sampling point, BTL cycles, and synchronizatio
synchronization n jump width). For
the overall system to function properly, the same exact values must be assumed
for the
[OK].
[OK] . second controller CAN 2.
2. When you exit the dialog, accept the values with

Real channnels, With the [Driver…] button you can open the Vector Hardware Config dialog. There
application channels you can assign the application channels to the real channels.

4.4 Transmitting data

Set up a data source Your current test setup still does not have a data source. So set up a data source
which places information on the bus cyclically.

Unit 1 Configure CANalyzer so that - after the measurement start - a CAN message with
identifier 64 (hex) is send on the bus every 100 milliseconds. In this case the
message should contain
contain exactly four data bytes with the values D8 (hex), D6 (hex),
37 (hex) and 0.

Insert a generator You can solve this task by inserting a generator block in CANalyzer's transmit branch
block which generates the message to be transmitted.

1. This is do
done
ne by clickin
clicking
g with the right mouse button on
on the hot
hot spot in the transmit
branch directly above the block labeled Send - from the shortcut menu - inserting
a generator block CAN in the transmit branch.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics
Figure 8: Hot spot in the transmit branche with shortcut

Save Accept All


© Vector Informatik GmbH Version 7.5 - 31 -

CANalyzer Tour User Manual

Afterwards, this appears


appears as a rectangular
rectangular block with the label G
G..
2. Open the Generator sendlist with the generator block’s shortcut menu item
Configuration of transmit list….
list….
First, fill out the transmit list. You enter 64 as the identifier. (Check to see whether
the numbering format is set to Hex using the [Options] button.) Then enter the
value 4 in the DLC box as the data length entry. Finally, set the values of the data
bytes in the four data boxes that follow by entering the values D8, D6, 37 and 0
there.

Figure 9: Transmit list of Generator block

Exit the transmit list with [OK] to accept the values in the configuration.
3. Open the generator block’s Generator Block Trigger Configuration dialog via
the shortcut menu Configuration of triggering….
triggering….
In this dialog you can configure the triggering of the tranmit action.
4. Activate the With period option and enter the value 100 in the input box to the

right of this.

Figure 10: Triggering of Generator block

5. These values are assumed


assumed in
into
to the configuration with [OK]
[OK]..

Save your Before you start the measurement you should save the configuration that you have
configuration prepared to this point with the menu command File│Save configuration.
configuration. You can
then reload this configuration at any time and resume your work precisely at this
point.
This website stores data such as
cookies Start the essential site Start the measurement by pressing the start button
to enable on the toolbar. CANaylzer
measurement
functionality, as well as marketing,immediately
immediatel y begins to cyclically transmit
tr ansmit the message you have configured in the
personalization, and analytics. You generator block.
may change
Displayyourinsettings at anyYou
the Trace timecan recognize this in the Trace window, which automatically jumps to the
or accept the default settings. foreground after the start of measurement and can now be seen at the lower right of
window
the main program window:
window: In the first line you see the message that is sent by the
generatorr block, whereby the first column shows the transmit time relative to the
generato
Privacy Policy measurement
measureme nt start.

Marketing

Personalization

Analytics

Save Accept All


- 32 - Version 7.5 © Vector Informatik GmbH

User Manual CANalyzer Tour

Figure 11: Trace window

The next column shows you which of the two CAN channels was used to transmit.
This value (1) agrees with the default value assigned in the generator block's transmit
list of messages to be transmitted.

Configure the Afterwards, this message


message is also re
received
ceived by the se
second
cond CAN controller
controller over the bus.
bus.
channel settings The question arises: Why is this not also displayed in the Trace window? You will ffindind
the answer in the configuration dialog for the acceptance filter for the second
controller.

1. Open th
the
e config
configuration
uration d
dialog
ialog with
with the b
bus
us symbol’s
symbol’s shortcut menu Network
Hardware… and choose in the opened dialog CAN 2/Filter.

Figure 12: Shortcut menu of PC card symbol

2. The accep
acceptance
tance filter options
options sup
support
port hardwa
hardware-side
re-side filtering of messages.
messages. The
default options block most message receiving. You can open the filter by entering
the value X in the upper line.

This website stores data such as


Figure 13: Configuration of acceptance filter
cookies to enable essential site
functionality, as well as marketing,
personalization,
Display inand analytics.
the Trace You After a new measurement
measurement start start you can now a
also
lso see that the message transmitted
transmitted
may change
window your settings at any time
via channel 1 (Transmit attribute Tx [= Transmit] in the Trace window) was rreceived
eceived
or accept the default settings. by the second controller (Receive attribute Rx [= Receive] in the Trace window).

Privacy Policy

Marketing

Personalization

Analytics
Figure 14: Trace window
Save Accept All
© Vector Informatik GmbH Version 7.5 - 33 -

CANalyzer Tour User Manual

Unit 2 Expand the configuration of the last task such that, additionally,
additionally, a message with
identifier 3FC (hex) is transmitted every 200 milliseconds. The value of the first data
byte of this message should cyclically assume values from 1 to 5.

Insert a second You can solve this task by inserting another generator block in the transmit branch.
generator block For this task it does not matter whether you insert this generator block before or after

the first as
appear one. Select
shown 200 ms as the value for cyclic triggering. The transmit list should
below:

Figure 15: Sendlist for generator block

Info: Do
setup. not forget
During to stop
a running the measurement
measurement it is notbefore youtoreconfigure
possible the measurement
make changes to the
configuration
configuration of the data flow. The menu items of the relevant shortcut menus appear
in gray shading.

Further data sources Besides the generator block, CANaylzer also offers two additional block types as data
sources.
 With a replay block you can play back data on the bus that were logged with
CANalyzer's logging function.
 A program block
block allows you to integrate your own
own transmit functionalities
functionalities - which
may be quite complex - into CANalyzer with the CAPL programming language.

4.5 Evaluation window

Data analysis Evaluation windows are used to analyze data generated by the generator blocks in
This website stores data such asthe transmit branch.
cookies to enable essential site
functionality, as well as marketing,
Trace window You have already learned about the Trace window. Data that reach the trace
tr ace block of
personalization, and analytics. You
the measurement setup are displayed here as CAN messages in bus-oriented format.
may change your settings at any time
Besides the time stamp, this includes the number of the CAN controller, the identifier,
or accept the default settings. an attribute for differentiating transmitted and received messages, and the data bytes
of the CAN message.

Privacy Policy
Configuration of the
Configuration You can configure the Trace window - like all other analysis windows - fr
from
om the
Trace window
Marketing popup menu that is accessed by clicking the right mouse button on the window or on
the appropriate block.
Personalization
Furthermore, the four buttons on the right of the toolbar can be used to configure the
Analytics Trace window. For example, with you can toggle from stationary mode to the scroll
mode, in which each message arriving
arriving at the trace block is written tto
o a new line.
Save Accept All
- 34 - Version 7.5 © Vector Informatik GmbH

User Manual CANalyzer Tour

With you can toggle between absolute and relative time representation.
representat ion. In relative
time representation, the time difference between two successive messages ("transmit
interval") is shown in the first column. Of course, in this display format it is also easy
to find the transmit interval that you entered previously in the generator block: 100
milliseconds.

Statistics window The Statistics window also offers you bus-related information. Here you can observe
the transmit frequencies for messages, coded by identifiers. If you have configured
the transmit branch as in the two last tasks, then you should see two vertical lines in
the Statistics window after the measurement start, which show the transmit
frequencies of the two generated messages 64 (hex) and 3FC (hex).

Figure 16: Statistics window

10 messages per second were recorded for identifier 64, and half as many were
recorded for identifier 3FC. This result corresponds to the cyclic periods of 100 and
200 milliseconds set in the generator blocks.

Statistics report If the Graphics window display is too imprecise, the statistics block offers you a
statistical report that gives you more precise information on the transmit interval for
each message.
Besides showing the total number of messages for each identifier, the statistics report
also shows the mean value, standard deviation, and minimum and maximum for the
recorded transmit interval.
This website stores data such as
Activate the statistics Stop the measurement and activate the statistics report in the configuration
configuration dialog of
cookies to enable essential site
report the statistics block (measureme
(measurement
nt setup).
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics
Figure 17: Activate the statisticsl report
Save Accept All
© Vector Informatik GmbH Version 7.5 - 35 -

CANalyzer Tour User Manual

Display of the If you now restart the measurement,


measurement, statistical information is gathered in background,
statistics report in the which you can output to the Write window after the next measureme
measurement nt stop using the
Write window shortcut menu command Display statistics report.
report.

Figure 18: Statistics report in the Write window

Bus Statistics
window Another bus-related
bus-related
data traffic. windo
window,
Displayed herew, the
are Bus
the Statistics
total win
window,
frequenciesdow, provide
provides
of data, s an overview
remote, error andof bus
over-
load frames, bus loading and CAN controller status.
Since in our case one message is sent every 100 ms and the second message every
200ms, the total frequency of all messages is 15 frames per second. With an average
data length of about 70 bits per frame, approx. 15 * 70 ≈ 1000 bits are placed on the
bus in one second. At a baud rate of 100 kBit/sec the bus load in our example would
be on the order of magnitude of one percent.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Figure 19: Bus Statistics window


Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


- 36 - Version 7.5 © Vector Informatik GmbH

User Manual CANalyzer Tour

4.6 Working with symbolic data

Symbolic description Before we discuss the remaining windows in detail, let us have a look at the
of data capabilities offered by CANalyzer for the symbolic description of data. Of primary
interest in the analysis of CAN systems - besides bus-related information
information such as
messages, error frames and message frequencies - is information on useful data, i.e.
signals suchand
controllers, as are
RPM, temperature
sent on the busand
withengine load,
the help whichmessages.
of CAN are provided by individual

To describe this information symbolically,


symbolically, CANalyzer provides you with the database
format DBC and a database editor with which you can read, create and modify CAN
databases.

Further Information: Please refer to the CANdb++ manual and the CANdb++ online
help included with the CANalyzer product for further information on the CANdb++
Editor.

Interpretation of the At this point we would


would like to a
associate
ssociate a pre
prescribed
scribed database
database to the active CANalyzer
data bytes configuration.
configuratio n. This database will be used to interpret the data bytes of the messages
generated by the generator blocks in the transmit branch. The database
MOTBUS.DBC is located in CANalyzer's demo directory
DEMO_CAN_CL/CANMAINDEMO which was created parallel to the system directory
EXEC32, provided that you installed the demo configurations.
configurations. You associate this
database to the active CANalyzer configuration by choosing the menu command
File│Associate database.
database.

Now you can open the database using the button on the toolbar. The CANdb++
Editor is opened, and the contents of the database MOTBUS.DBC is shown in the
Overall View window of the CANdb++ Editor.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics
Figure 20: Overall View window of the CANdb++ Editor

Save Accept All


© Vector Informatik GmbH Version 7.5 - 37 -

CANalyzer Tour User Manual

Double click the Messages object type in the area on the left side of the Overall View
window. The subordinate
subordinate structural level is then also shown in this area, and the area
on the right shows the available messag
messages es with their system parameters (e.g. sym-
bolic name, identifier, etc.).
First, toggle the numbering format from decimal to hexadecimal in the
Options│Settings menu item. We can deduce from the symbolic names of the
messages that the system under consideration involves a description of
communications in a rudimentary engine area system.
Click the message EngineData in the left area of the Overall View window. The
system parameters of signals transmitted in this message are shown in the area on
the right side of the Overall View window.
The temperature EngTemp
EngTemp,, for example, is a 7 bit signal. To obtain the physical
value in degrees celsius, the bit value must be multiplied by the factor 2, and the
offset 50 must be subtracted from the result.
The idle switch signal Idle Running in the last bit of the third data byte is a binary
signal (one bit), which can assume the value 0 or 1.

Info: With the help of this symbolic information the data contents of messages can
now be interpreted in CANalyzer. Please note that this is only pratical if the database
information describes
describes the system that you are currently observing. So you have to
ensure that the database associated to the configuration matches the real network.

Messages that you generate in the two generator blocks can be interpreted with the
database MOTBUS.DBC . Please note that the message you generated in the first task
has the identifier 64 (hex). This agrees with the identifier of the message EngineData
that we just examined in the database editor. If you now start the measurement, you
can toggle the program to symbolic mode by activating
activat ing the button.

Display in the Trace In the Trace window you will now see the symbolic message name in addition to the
window identifier.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
Figure 21: Trace window
personalization, and analytics. You
may change your settings at any time
or accept
4.7the default settings. of signal values
Analysis in the Data window

Privacy Policy
Display of Besides the use of symbolic message names, the associated database can also be
momentary used to analyze signal values. The purpose of the Data window is to assist in the
Marketing
data/values study of momentary signal values.
Personalization

Analytics

Save Accept All


- 38 - Version 7.5 © Vector Informatik GmbH

User Manual CANalyzer Tour

This explains why the Data window is initially empty in a new configuration. The
signal values to be displayed are exclusively dependent upon information from the
database. You as the user must decide which signal values should be displayed.

Unit 3 Configure the Data window to display the signal values of the message EngineData
(ID 64 hex) that is generated in the transmit branch.

Add signals in the For the display of signal values in the Data window, you have to add signals.
Data window

1. Open with the Data win


window's
dow's shortcut menu item Add signals… the Symbol
Selection dialog.
The tree view of the dialog allows you to search for a specific signal. Each
database gets one branch each for signals, messages and nodes.
2. Choose the EngineData message and select and accept all signals of this
t his
message.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings. Figure 22: Selecting Signals with the Symbol Selection dialog

3. Close the dialog wikt [OK]


[OK]..
Privacy Policy
Now the signal names are entered in the window.
Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 39 -

CANalyzer Tour User Manual

Display in the Data After the measurement


measurement start the generator block
block begins to cyclically
cyclically send the
window message EngineData with data bytes D8, D6, 37 and 0 onto the bus. According to
the message description in the database, the data block in the measurement setup
now interprets these byte values as engine speed, temperature and idle switch and
displays the appropriate signal values
values in tthe
he Data window in physical units.

Figure 23: Data window

With the help of the conversion formula in the database, engine speed is shown in
RPM, while temperature is shown in degrees Celsius. The values of all three signals
remain constant over time, since the message is constantly transmitted with the sa-
me data bytes D8, D6, 37 and 0.

4.8 Analysis of signal responses in the Graphics window

Analysis of signal
signal While the Data window displays momentary signal values, you can have the time
responses responses of signal values displayed in the Graphics window. After the end of
measurement
measureme nt the signal responses are available for study by user-friendly analysis
functions.

Unit 4 Configure the Graphics window so that signal values are displayed for message 3FC
(hex) that is generated in the transmit branch.

Add signals in the The second message generated in the transmit branch is also described in the
Graphics window associated database.

1. Open with the Graphics window's shortcut menu item Add signals… the Symbol
Selection dialog.
In the database it will be apparent to you that the identifier 3FC is associated with
This website stores data such as the symbolic message name GearBoxInfo containing the signals Gear,
cookies to enable essential site ShiftRequest and EcoMode.
functionality, as well as marketing,
2. Choose the signals and confirm them with [OK]
personalization, and analytics. You [OK]..
may change your settings at any timeIn the Graphics window you see that the signals are now entered in the legend on
or accept the default settings. the left side of the window.

Display in the You can now observe the time responses


r esponses of these signals in the Graphics window.
Privacy Policy
Graphics window After the measurement
measurement start you observe that th the
e signal Gear
Gear cyclically assumes
assumes
Marketing values from 1 to 5, while the other two signals remain constant over time.
For a useful display of the single gear values the Step connection type of the lines is
Personalization
suitable.
Analytics

Save Accept All


- 40 - Version 7.5 © Vector Informatik GmbH

User Manual CANalyzer Tour

1. Open with the Graphics window's shortcut menu item Configuration… the
Graphic configuration
configuration dialog.
2. Choose the item Signal list in the tree view on the left side.
3. Mark the Gear signal.
4. Open the Lines / Markers dialog via the [Lines…] button.

5. Choose the Steps connection type and confirm it with [OK]


[OK]..
6. Close the Graphic configuration
configuration dialog with [OK]
[OK]..
7. Start the measurement.
measurement.

Figure 24: Graphics window

This corresponds to the five values that you


y ou entered in the generator block as part of
unit 2.
2. The values remain in the Graphics window after the end of the measurement.

Further Information: The measurement functions that the window provides for post-
analysis are described detailed in chapter 6.4 and in the online help.

4.9 Use of the database in transmitting messages

Symbolic data from Until now you have only used the symbolic database to observe signal values.
This website stores data such as
the database However, the application capabilities reach well beyond this.
cookies to enable essential site
functionality, as well as marketing,
Open the transmit list of the generator block of unit 1.1. Instead of the identifier that you
personalization, and analytics. You
previously entered in the transmit list (64), you will now recognize the associated
may change your settings at anysymbolic
time name in the first column. In fact, you can now enter a message directly from
or accept the default settings. the database using the [Symbol...] button, without having to work with the identifier.
Signal values can also be edited directly
directly in the transmit list now. Select the first line of
the transmit list and then activate the [Signal...] button. In the values dialog you can
Privacy Policy now enter the signal values directly. It will also be apparent to you, once again, that
the byte values D8, D6, 37 and 0 from the first line correspond to the signal val-ues
Marketing
EngSpeed = 55000 rpm, EngTemp = 60 degrees Celsius and IdleRunnning = 0.
Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 41 -

CANalyzer Tour User Manual

Figure 25: Values dialog in the generator block

If you now set - for example - the value of EngSpeed to 1000 rpm, the generator
block automatically uses the database information to compute the corresponding data
bytes (10, 27, 37 and 0).

4.10 Analysis of an engine area simulation

Data communication Included with the CANalyzer product are several sample configurations, which are
on engine area bus provided to assist you in startup. In the directory DEMO_CAN_CL you will find a CAPL
program block which simulates a portion of the data communication on the engine
area bus of a motor vehicle. You have already added the database underlying the

model, MOTBUS.DBC , to your configuration


configuration in Task 3.

Unit 5 The CAPL program MOTBUS.CAN simulates the RPM, vehicle speed, and engine
temperature for a motor vehicle. Study these signals in the
t he Data and Graphics
windows while you shift the vehicle's gears during the measurem
measurementent run with the '+'-
and '-' keys.

To solve this task, first delete both generator blocks from CANalyzer's transmit branch
and insert - in the transmit branch in their place - the CAPL program MOTBUS.CAN
from your demo directory DEMO_CAN_CL:
1. Select Insert CAPL program from the shortcut menu of the hot spot in the
transmit branch.
2. Afterwards, in the configuration
configuration dialo
dialog
g for the inserted program
program block, you would
press the [File...] button to assign the program file DEMO_CAN_CL\MOTBUS.CAN .
3. Finally, you mmust
ust still compile the program (Menu Configuration│Compile all
program
This website stores data such as nodes).
nodes ). The transmit branch is now prepared.
cookies to enable essential site
functionality, as wellData
Configure as marketing,
and Now, in the Data and Graphics windows you configure the signals for engine speed
personalization, and
Graphics windowanalytics. You
(EngSpeed
EngSpeed)) and temperature (EngTemp
(EngTemp)) to the message EngineData
EngineData,, the vehicle
may change your settings at anyspeedtime signal (CarSpeed
(CarSpeed)) to the message ABSData and the gear signal (Gear
(Gear) to the
or accept the default settings. message GearBoxInfo
GearBoxInfo..
Display in Trace Once you have started the measurement, you can view the bus traffic directly in the
window Trace window. The messages EngSpeed and ABSData are transmitted cyclically,
Privacy Policy
while the message GearBoxInfo is only transmitted spontaneously
spontaneously and is transmitted
Marketing only once at the measurement start and with each gear shifting action, i.e. when the
'+'- or '-' key is activated.
Personalization
Display in Data and You can observe the signal values in the Data and Graphics windows. After the
Trace window
Analytics measurement start the
measurement t he temperature rises slowly to a maximum value, while the
vehicle speed
values is and engine
determined speed
by the varygear.
selected between two values. The ratio of the two signal
Save Accept All
- 42 - Version 7.5 © Vector Informatik GmbH

User Manual CANalyzer Tour

4.11 Logging a measurement

Data logging CANalyzer has extensive logging functions for data logging. In the standard
measurement setup the logging branch is shown at the very bottom of the screen.

You can easily recognize it by the file icon , that symbolizes the log file. The log
file is filled with CAN data during the measurement.

Unit 6 Log - in ASCII format - all CAN data traffic that is generated in a short measurement
(approx. 20 sec.) by the generato
generatorr blocks in the transmit branch.

logging
Activate the logging To log the data that arrive in CANalyzer's measurement setup to a file, first activate
branch the logging branch.
Also remove the
the break that se
separates
parates the logging
logging block
block of a new configuration
configuration from
the data source. You can do this by double clicking the break symbol or with the
shortcut menu item Remove break of the break.
Configure the logging With the shortcut menu item Logging file configuration…
configuration… of the file icon located at
file the far right of the logging branch, you can open the configuration dialog.
Here you can enter the file name for the measurement log as well as its format.
Select ASCII format here.

This website stores data such as


cookies to enable essential site
Figure 26: Configuration dialog in the Logging branch
functionality, as well as marketing,
personalization, and analytics. You
Logs in binary format take up less space on your hard drive, but they cannot be read
may change your settings at anyby time
normal text editors. The program's offline mode offers you the same evaluation
or accept the default settings. options for logs in both formats.
Configure the trigger Besides the file icon, you can also specify trigger conditions for file logging in the
conditions logging block. This is often advisable, since frequently it is not the data traffic on the
Privacy Policy
can bus over the entire measurement
measurement period that is of interest, but rather only certain
Marketing time intervals, e.g. when there are implausible signal values or when error frames
occur.
Personalization
Open the configuration dialog with the Trigger block’s shortcut menu item
Analytics Configuration….
Configuration….

To log the entire measurement it is sufficient to change the mode from Single
Save Accept All
Trigger to Entire Measurement in the trigger configuration dialog.
dialog.
© Vector Informatik GmbH Version 7.5 - 43 -

CANalyzer Tour User Manual

Further Information: A description of how to define trigger conditions and time


windows around these conditions is presented in chapter 5.7 and in the online help.

Start the Start after the configuration of the log file and the trigge condition the measurement,
measurement which you stop again after 20 seconds.

Open the log file Now with a double click on the log file icon you can open the logged ASCII file.
Besides the logged messages you can see that statistical information was also
logged. These lines correspond
correspond exactly to the
t he information that is displayed in the Bus
Statistics window during a measurement.

4.12 Evaluating a log file

Play back recorded Log files in ASCII format can indeed be viewed with text editors, but often it is more
data sensible to utilize the capabilities that CANalyzer provides for offline analysis of log
files.

Unit 7 Play back the log file recorded for the last task in offline mode, and observe the signal
response in the Graphics window.

Offline
Activate the Offline To solve this task, first switch CANalyzer to offline mode. In the main Mode menu you
mode will find two entries for this:
this: To Offline and To Offline (Copy).
(Copy). Since you can use the
Graphics window configuration you prepared in online mode here too, it is advisable
to copy all configuration options of the analysis branch to offline mode with To Offline
(Copy)..
(Copy)
Now shown as the data source in the measurement setup - instead of the PC card
symbol - is a file icon. Of course, the transmit branch is omitted here. Otherwise
Otherwise,, all of
measurement setup options of online mode have been assumed.

Choose the data Select the log file of the last task via the Configuration… shortcut menu item of the
source file icon at the left of the measureme
measurement nt setup.

Play back the log file You can now play back the measurement
measurement with the <F9> key. In contrast to online
mode, here CANalyzer also offers you the option of replaying the measurement in
(Start│Animate menu item or <F>8) or in Single-Step mode ( Start│Step
slow motion (Start
This website stores data such as
menu item or <F7>).
cookies to enable essential site
functionality, as well as marketing,
Analysisand
personalization, Offlin
in Offline
e
analytics. The same analysis functions are available to you in offline mode as in online mode.
You
may change your settings at anyThat
mode time is, the logged data are displayed in bus-related format in the Trace window,
or accept the default settings. while you can observe the log's signal responses in the Graphics window.

Of course, you can also insert filters or CAPL programs in the measurement setup to
Privacy Policy further reduce the data or introduce additional user-defined analysis functions.

Marketing

Personalization

Analytics

Save Accept All


- 44 - Version 7.5 © Vector Informatik GmbH

User Manual Applications

5 Applications

In this chapter you find the


t he following information:

5.1 Overview of the important elements page 46


5.2 Measurement/Measurement setup page 48
5.3 Working with configurations
configurations page 48
5.4 Transmitting and receiving data page 49
The transmit branch
The evaluation branches
Message attributes
5.5 Working with databases page 52
Use of multiple databases
Resolving ambiguities
Checking for consistency of symbolic data
5.6 Working with multiple channels page 55

Channels in online mode


Channels in offline mode
5.7 Logging and evaluation of measurement files page 56
Trigger
Data analysis
Data export and conversion
5.8 Standalone Mode page 59
5.9 Step Sequencer page 59
5.10 COM server page 59
5.11 Troubleshooting page 60
5.12 List of error messages to the CAN interface page 61

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 45 -

Applications User Manual

5.1 Overview of the important elements

Program start CANalyzer is called by double clicking the appropriate icon in the CANalyzer program
group.

CANalyzer Screen The CANalyzer screen consists of the main menu bar and the toolbar in the upper
portion of
window andthevarious
screen,measurement
the status barwindows.
at the bottom of the
You can screen,
gain accessand
to the data flow
all CANalyzer
windows by double clicking the specific evaluation block in the measurement setup or
by selecting the window from the View menu.

Figure 27: The CANalyzer screen

Central access to CANalyzer provides you a set of significant basic functions for the work on various
main features bus systems. Functions as loading and saving configurations, assigning database
databasess
and configuring panels are available. Particularly the data flow diagram and the
function blocks in the Measurement
Measurement Setup window are directly configured with context
sensitive menus. Therefore you have to choose a block in the measurement setup
This website stores data such as
and click on it with the right mouse button to open the corresponding shortcut menu.
cookies to enable essential site
For example you can insert new function blocks such as filters or generator blocks at
functionality, as well as marketing,
the rectangular insertion points (hot spots) in the data flow. A brief look at the
personalization, and analytics. You
measurement
measureme nt setup gives you an overview of the configuration
configuration options provided by
may change your settings at anyCANalyzer
time and shows how your actual measurement configuration appears.
or accept the default settings. Measurements and analysis are configured in the Measurement Setup window.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


- 46 - Version 7.5 © Vector Informatik GmbH

User Manual Applications

Element Description

Main menu bar Used to select basic functions

Toolbar Used for quick selection of important commands


commands and
also contains status indicators for the number system
being used (decimal or hexadecimal) and to display of
keyboard entries made during the ongoing
measurement.
Status bar The names of the active configuration file and the
database being used are displayed here.

Measurement setup
Measurement The measurement setup displays the program’s data
flow. All options are set in this window for parameterizing
a measurement or evaluation.

Trace window Bus activities are recorded here. The user can scroll in
this window after a measurement has been completed.

The mean transmit frequencies of messages are


Statistics window displayed as line spectra above the identifier axis in this
window. As an option, the user can toggle over to mean
transmit spacing. The window can be zoomed for
detailed evaluations.
evaluations.

Data window Preselected data segments of messages can be


displayed here.

Graphics window Graphic representation of signal time responses, which


are displayed in a X-Y diagram above the time axis. After
the end of measurement a measurement cursor and a
difference cursor are provided, with which you can
examine the coordinates of all measurem
measurementent points or
differences between two measurement points precisely.

This website
Writestores
windowdata such as Important information on the progress of the
cookies to enable essential site measurementt can be output here (e.g. triggering of
measuremen
functionality, as well as marketing, logging function). Furthermore, all outputs that the user
personalization, and analytics. You places with the write() command in CAPL programs
may change your settings at any time are written to this window.
or accept the default settings.
Statistics Monitor Hardware-related information
information such as number of data
window and remote frames, error frames and bus load are
Privacy Policy displayed here. Availability of this information depend
depends
s
the CAN PC card being used.
Marketing
Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 47 -

Applications User Manual

5.2 Measurement/Measurement setup

To start a The measurement is started by


measurement  pressing the <F9> key,
 by choosing Start│Start in the main menu or

 by activating the start button on the toolbar.


In online mode data can now be received and evaluated from the bus or can be sent
out onto the bus. The data flow diagram shows you which analysis and transmit
blocks are active during the particular measurement.
At the start of an Online measurement,
measurement, first the CAN
CAN board is initialized.
initialized. If this cannot
cannot
be done, an error message is output and the measurement is terminated.

Configuration during During the measurement the user can configure the Trace block, Data block and the
measurement scaling of the Statistics window and Data window. However, the menu items in the
shortcut menus of the remaining blocks are masked out for the duration of a
measurement.. You cannot parameterize these blocks until after the measurement run
measurement
has ended. All keyboard inputs during the measurement are passed through directly
to the function blocks (CAPL programs, genera
generator
tor block, etc.). They are shown in the
relevant status window on the toolbar.

To stop a You can stop the measurement


measurement  by pressing the <ESC> key,
 selecting the main menu item Start│Stop
Stop,,
 activating the button on the toolbar or
 by using internal events (e.g. CAPL or trigger).

Info: During high system loading the stopping process may take a certain amount of
time, since the system's message buffer must be emptied. A repeated stop command
(double click) causes the buffered data to be ignored, and the measurement is
terminated immediately, even under high system loading.

5.3 Working with configurations


This website stores data such as
cookies Save
to enable essential site All options that
settings that you configure
configure (configuration of the measurement
measurement windows,
windows, PC card,
functionality, as well as marketing,etc.) while working with CANalyzer can be saved to a configuration file with the
personalization, and analytics. You extension CFG. Thus, you can work with different configurations to perform specific
may change your settings at anymeasuremen
time
measurements ts and tests with CANalyzer.
or accept the default settings.
Change To save changes of a specific configuration to a new configuration file choose the
configurations menu bar item File│Save configuration as. as. With the menu item File│Load
Privacy Policy configuration you can reload
r eload configura
configuration
tion files which you previously saved in
CANalyzer. In the demo directory DEMO_CAN_CL you will find some prepared demo
Marketing
configurations
configurations that can serve as models when you start up CANalyzer and during the
Personalization learning phase.

Analytics

Save Accept All


- 48 - Version 7.5 © Vector Informatik GmbH

User Manual Applications

Create project To obtain an overview of the files belonging to your project (configuration files, log
directories files, CAPL programs, databases, etc.) and to allow you to run them on another
computer if necessary, it is advisable to create a separate project directory for each
project (also called a working directory in Windows). Be sure to save all files resulting
from your work in this directory. If you are working on several different CAN projects,
multiple project directories are also advisable. With large projects it might even be
easier to distribute the databases and configuration files of a project to different
subdirectories.

Figure 28: Example of a directory tree for a CANalyzer project

Reference to project References to other project files (e.g. to database files *.DBC or to CAPL programs

files *.CAN
relative) paths.
are also saved
That in the configuration
is, referenced files. CANalyzer
files are searched works
and read-in internally
relative with
to the
configuration file during loading. Consequently, if you move your project directory with
all associated files to another location in the directory tree or to another drive, the
databases and CAPL programs referenced by the configuration file are found and
correctly read-in at the next loading.

Document and To document or archive configurations, from the menu item File|Files used you can
archive have a list generated of all files belonging to the active configuration (databases,
configurations CAPL programs, etc.) or have a ZIP archive generated.

5.4 Transmitting and receiving data

5.4.1 The transmit branch

This website stores data such asOn the left side of the measurement setup, CANalyzer's transmit branch branches off
Forwarding
cookies messages
to enable essential
as site after the card icon. The transmit branch is only accessible in online mode, and there
functionality, as well
transmit as marketing,
tasks is has the task of forwarding messages that arrive at its input to the card driver as
personalization, and analytics. You
transmit tasks. The transmit block itself cannot be parameterized
parameterized.. When an attempt is
may change your settings at anymadetime to select the block by mouse click or by keyboard, neither a menu nor a dialog
or accept the default settings. box appears.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 49 -

Applications User Manual

Figure 29: Inserting a generator block in the transmit branch

Specify transmission For typical applications, a program block, generator block or replay block is inserted
at the hotspot before the transmit block. You can use this to specify what should be
transmitted.

Info: When transmitting from CAPL programs, generator blocks and replay blocks,
you can explicitly specify which of the two CAN controllers (bus connections) should
be used to transmit the message. This is observed accordingly
accordingly by the card driver.

5.4.2 The evaluation branches

Analyze data In the evaluation branches of the measurement setup, data are passed from left to
This website stores data such asright to the measurement setup's evaluation blocks, where they can be visualized and
cookies to enable essential site analyzed with various functions. Filters or user-defined analysis programs can be
inserted in the data flow diagram before the evaluation blocks. As a result, the data
functionality, as well as marketing,
flow can be configured in many ways to suit the particular task.
personalization, and analytics. You
may change your settings at any time
Visualize
or accept data
the default settings. Each evaluation block has a measurement window in which the data arriving in the
block are displayed. The functions of all measurement windows are described in
detail in the sections below. Only the logging block is not assigned its own window.
Privacy Policy Instead, a log file is assigned to it for the purpose of logging bus data traffic and then
studying it "offline".
Marketing
Personalization

Analytics

Save Accept All


- 50 - Version 7.5 © Vector Informatik GmbH

User Manual Applications

5.4.3 Message attributes

Attribute Rx Messages that were not transmitted by CANalyzer's CAN PC card (Receive
messages), get the attribute Rx and a time stamp from the card's clock when they are
received. Afterwards they are passed to CANalyzer via the card driver and, finally,
they are shown in the evaluation windo
windows.
ws. The time stamp and Rx message attribute
can be seen in the Trace window.

Figure 30: Receiving messages

Attribute Tx After successful transmission


transmission the mmessage
essage is returned
returned with the actual
actual time of
transmission and the attribute Tx, so that the transmit messages can be displayed
and/or logged in the Trace window.

This website stores data such asFigure 31: Transmission of messages


cookies to enable essential site
functionality, as well as marketing,
Attributeand
personalization, TxRx The messages to be transmitted are passed from the transmit
analytics. You tr ansmit block via the card
driver to the CAN PC card. If your hardware supports the card and driver option
may change your settings at any time
Activate TxRq in the Options item of the PC card icon's shortcut menu, and you
or accept the default settings.
have activated this, the driver returns the time of the transmit request assigned to the
CAN microcontroller to you. In the Trace window, for example, you would see the
message to be transmitted with the attribute TxRq.
Privacy Policy

Marketing
Latency time The TxRq display permits measurements of the difference between the time of
transmit request and time of transmission. The time between the message with Tx
Personalization attribute and TxRq attribute is essentially the transmission time of a message, i.e. the
Analytics time that the CAN controller needs to place a message completely on the bus. It is a
function of baud rate and message length. The transmission time also grows as a
result of lost arbitration events, which can be observed more for low-priority
Save Accept All
messages at high bus loads.
© Vector Informatik GmbH Version 7.5 - 51 -

Applications User Manual

Since the (very small) latency time of the card driver interrupt must be added to the
transmission time, the following general formula applies:

tTx - tTxRq = Transmission


Transmission time + Latency time

5.5 Working with databases

Working with When performing large-scale


large-scale studies on the CAN bus, it is a great help to the user if -
symbolic data in addition to the bus-oriented raw data format with numerical identifiers
identifiers and data
contents - a symbolic interpretation of the message event is also provided.
CANalyzer supports the use of symbolic databases. You can make this information
available by associating one or more databases to the active. Afterwards you can
access the information in measureme
measurementnt windows, insertable function blocks and
CAPL programs.

CANdb++ Editor The CANdb++ Editor is available to you for inputting and modifying databa
databases.
ses. It is
included with the standard CANaylzer product.
Messages In a database, names are assigned to CAN messages. In CANalyzer you can then
address the messages using these names. For example, the clear text EngineData is

shown in the Trace window instead of the identifier 100


100..
Signals Moreover, so-called signals are defined in the database. A signal is a symbolic
description of a data segment within a message. Besides identifying the data
segment, the signal definition also incorporates characteristics such as machine
format (Motorola/Intel), sign handling, a conversion formula and physical unit of
measurement.
measuremen t. This permits direct display of physical dimensions in the data window,
such as:
Speed = 810.4 rpm.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


Abbildung 32: Symbolic description of the message EngineData in CANdb++
- 52 - Version 7.5 © Vector Informatik GmbH

User Manual Applications

Symbol Selection The Symbol Selection dialog shows all signals and messages defined in the
dialog database. You can choose one or multiple objects there to display or manipulate
them.
If the database has been filled out completely, you can search in the Symbol
Selection dialog
dialog for e.g. a node, a message or even a list of all signals in the
database.

Figure 33: Symbol Selection dialog

Further Information: Please refer to online help for further instructions on working
with databases.

This website stores data such as


cookies to enable essential site
5.5.1as well
functionality, Use asof multiple databases
marketing,
personalization, and analytics. You
may change your settings
Administration of at anyWith
time large systems it may be sensible to distribute the descriptions of messages and
or accept the default
large systemssettings. signals to several partial databases. Also when operating CANalyzer with two buses it
makes sense to describe each system by its own database.

Privacy Policy
off
Assignment o CANalyzer supports the simultaneous use of multiple databases. You can use the
databases
Marketing symbolic names for messages and signals from all databases in all function blocks
and in CAPL. To do this, you would simply enter the symbolic name in the appropriate
Personalization input box. There is a list of all symbolic names in the signal selection dialogs which
you can open by activating the small buttons next to the individual input boxes. You
Analytics would select the desired symbolic names there.

Save Accept All


© Vector Informatik GmbH Version 7.5 - 53 -

Applications User Manual

Ambiguities If you are using more than one database, the messages in the databases that follow
the first database are qualified with the database name, i.e. the message name is
preceded by the database name followed by two colons. However, you will only need
to use these qualified names to resolve ambiguities. As long as the symbolic names
are unique among all databases, you can forego qualification of symbolic names in all
function blocks and when editing CAPL programs.

5.5.2 Resolving ambiguities

Resolve ambiguities With the use of multiple database


databases
s it is essentially possible to have ambiguities in the
use of symbolic names, which must be resolved by the program.

Conflict Messages coming from the bus and are registered by the program over one of the
two CAN controllers may have two different symbolic names in two databases.
Solution Ambiguities of of this type can be resolved by th
the
e order in which
which the databases
databases were
specified in the list of the Database dialog. You also have the option of assigning a
prioritized database
database to each of the two CAN controllers. For messages that are
received by this controller, this database will then have the
t he highest priority for symbol
assignment.
assignmen t. Only if no symbolic name is found there will the program search through
all additional databases specified in the database drop-down dialog in the order that
is specified there.

Conflict The user may wish to configure function blocks or measurement


measurement windows with
different messages which have the same name in different databases.
Solution The search sequence of the database list is also utilized to resolve name conflicts
when configuring measurement
measurement windows and function blocks. In this case the
database uppermost in the list is assigned to the name. However, you also have the
option of resolving ambiguities of this type by qualifying the symbolic name.

5.5.3 Checking for consistency of symbolic data

Consistency check In CANalyzer's symbolic mode the CAN messages are addressed using symbolic
names from an associated database. Therefore, CANalyzer checks the consistency
of the database and the active configuration in the following situations:
 At the program start
This website stores data such as When a new database is associated
cookies to enable essential site
 When CANalyzer is restarted after a change to the database
functionality, as well as marketing,
personalization,
Procedure and analytics. You
In this consistency check, the symbolic names of all CAN messages used in the
may change your settings at anymeasurement
time setup are compared to names in the database. If the message name
or accept the default settings. has been changed in the database, an automatic adaptation is made to this name,
and an appropriate message appears on the screen. If CANalyzer could find neither
the name nor the message ID in the database, the user receives an error message. In
Privacy Policy this case the measurement cannot be started until the particular message is removed
from the configuratio
configuration.
n.
Marketing
Personalization

Analytics

Save Accept All


- 54 - Version 7.5 © Vector Informatik GmbH

User Manual Applications

5.6 Working with multiple channels

Channel definition The number of CAN channels you wish to use is configured in the channel definition
dialog. CANalyzer supports up to 32 (virtual and real) channels. In addition to
affecting the measurement
measurement itself, the channel definition also affects the inputs that are
possible in the various configuration
configuration dialogs. Only defined channels are offered for
selection.
The channels are allocated to the CAN chips registered in the CAN hardware
configuration
configuration of your computer's control panel. Chip allocation is only meaningful in
online mode. In offline mode, in which messages are replayed from a file, it is
irrelevant.

Info: The number of channels is configuratio


configuration-specific.
n-specific. It is saved in the configuration
file and is restored when loading the configuration.

5.6.1 Channels in online mode

Working with real In online mode messages from the transmit branch are transmitted on one or more
buses real buses, and in the measurement setup they are received by one or more real
buses. The defined channels correspond to these real buses with their controllers.

Consistency check In the channel definition dialog you can choose whether or not a consistency check
should be performed after configuration. The consistency check covers database
assignments
assignmen ts and the configuration of all function blocks with the exception of CAPL
blocks. The check monitors whether invalid channels are referenced. If this is the
case an inconsistency is reported. These reports can be output to the Write window if
desired.
With CAPL blocks a determination of whether all referenced channels are valid is not
made until compilation.
compilation. A warning is output if any channels are invalid. Therefore, it is
advisable to recompile all nodes after each new definition of channels.

Behavior at If you use undefined channels, CANalyzer behaves as follows in online mode:
inconsistence  Channel configuration
configuration does not cause any filtering of messages in the data flow

plan.
This website stores data such as When receiving on controllers not assigned to a defined channel, the received
cookies to enable essential site messages are passed through the measurement setup.
functionality, as well as marketing,
 When transmitting from a Generator block or Replay block on the right of the
personalization, and analytics. You transmit branch to an undefined channel, the transmit request is similarly passed
may change your settings at any timethrough.
or accept the default settings.
 An error is reported
reported in the Write win
window
dow for a send
sender
er in the transmit
transmit branch as
soon as the transmit request is given to an undefined channel. The message is
not transmitted.
Privacy Policy
 CAPL blocks do not transmit messages to which an undefined channel is
Marketing assigned.

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 55 -

Applications User Manual

5.6.2 Channels in offline mode

Working with logged In offline mode the channels correspond to those channels on which the played-in
data messages were logged. Consequently, each message is played-in on the channel on
which it was logged. The channels in offline mode correspond to the channels used
during logging to the log file. Therefore, you should define the number of channels
such that it corresponds to the number of channels that were configured for logging to
the log file.
Behavior at If you use undefined channels CANalyzer behaves as follows in offline mode:
inconsistence  The channel configuration
configuration does not cause any filtering of messages in the data
flow plan.
 If messages are played-in which are assigned to an undefined channel, these
messages are passed through the measurement setup.
 When transmitting from a Generator block or Replay block on the right of the
transmit branch to an undefined channel, the transmit request is passed through.
 CAPL blocks do not send out messages to which no defined channel is allocated.

5.7 Logging and evaluation of measurement files

Logging file CANalyzer offers you the option of saving the CAN data traffic in a log file, so that you
can evaluate it later in offline mode.
Logging block Logging blocks are provided to you for this purpose. The task of a logging block is to
store data arriving at its input to a file. You can configure the log file in the
measurement
measureme nt setup by the file icon at the far right in the logging branch.
Trigger conditions Each logging block is equipped with user-friendly triggering to reduce the amount of
data as much as possible even before acquisition. This permits the formulation of a
trigger condition, and data are only saved near the time of the trigger. During each
measurement
measureme nt multiple triggers can be initiated for various events, whereby the user
can prescribe pre-trigger and post-trigger times. The trigger condition is user-
programmable. You can configure triggering in the measurement setup via the
Logging function block.
Analyze loggi
logging
ng files CANalyzer has an offline mode for analyzing log files. In contrast to online mode the
data source here is a file, e.g. a file created by logging in online mode. All

measurement and evaluation functions of online mode are also available to you in
This website stores data such asoffline mode.
cookies to enable essential site
functionality, as well as marketing,
5.7.1 and
personalization, Trigger
analytics. You
may change your settings at any time
or accept the default
Trigger modesettings. The trigger mode defines the general conditions for a logging (Start point, end point,
logging time period). You can select from three trigger modes:
 Single Trigger
Privacy Policy
A specific event triggers
triggers the log
logging.
ging.
Marketing  Toggle Trigger
Personalization Specific events determins start and stop of the logging.
Analytics  Entire Measurement

Save Accept All The entire measurement is logged.


- 56 - Version 7.5 © Vector Informatik GmbH

User Manual Applications

Example: Time window for the trigger in Single Trigger mode (top) and in Toggle
Trigger mode (bottom).

Single Trigger In the Single Trigger trigger mode all those data occurring before and after a specific
trigger is logged. You can enter the necessary settings for pretrigger and post-trigger
times, and the number of triggers you wish to log, in the Time section.
Toggle Trigger In Toggle Trigger trigger mode the time window is described by two successive
triggers (start-of-block and end-of-block triggers). The first trigger activated during
measurementt is the
measuremen t he start-of-block trigger, and the second is the end-of-block trigger.
Afterwards, another
another start-of-block trigg
trigger
er follows, etc. The pre-trigger
pre-trigger time in toggle
toggle
trigger mode is referenced to the start-of-block trigger, and the post-trigger time is
referenced to the end-of-block trigger. With the check box Use combined toggle
mode you define, that for start-of-block and end-of-block trigger the same trigger
conditions are valid.

Example: Log file with 2 trigger blocks. Pre-trigger 50ms, post-trigger 100ms, Trigger
types: Message GearBoxInfo and Error Frames

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Logging of an entire
Personalization For example, the entire measurement can be recorded in Toggle Trigger mode by
measurement selecting Start and Stop as the trigger conditions. In this case, a start-of-block trigger
Analytics is activated at the start of measurement, and the measureme
measurement nt is logged until the
end-of-block trigger occurs when the measurement
measurement is stopped. Pre-trigger and post-
Save Accept All
trigger times are ignored when this option is set. You can determine whether the
trigger action should be executed once or multiple times.
© Vector Informatik GmbH Version 7.5 - 57 -

Applications User Manual

Trigger conditions If you have selected Single Trigger or Toggle Trigger as the trigger mode, now you
can select from the following trigger conditions:
 Start
Triggering occurs at the start of measureme
measurement.
nt.
 Stopp

Triggering occurs at the measurem


measurement
ent stop.
 CAPL
Triggering is by a CAPL program.
 Benutzerdefiniert
The occurrence of a user defined condition initiates triggering.

5.7.2 Data analysis

recorded
Analyse recorded To study recorded log files switch CANalyzer to offline mode. The data source in
data offline mode is a file, e.g. generated by logging in online mode. Analogous to online
mode, all measurement and evaluation windows are also avail-able to you in offline
mode. The only option omitted is the possibility of sending data over the bus.
Furthermore, offline mode provides a powerful search and break function, with which
you can intentionally stop the replay of the log file. In the logging block, which is also
available in offline mode, data can be resaved to a new file, whereby targeted data
reduction can be achieved by means of insertable data manipulation blocks.
Functions for flow The following functions are available to you in offline mode to track the recorded bus
control proceedings on the screen in slow motion:
Start The individual messages
messages of the data source are read-out and are sent as quickly as
possible through the components of the measurement setup. In offline mode the
measurement can be resumed after a break. Reset must be called for a new start.
Animate Instead of reading data from the source file as quickly as possible, in animate mode
only about 3 entries per second are read from the source file. This results in a
slowmotion representation
representation of the processes. All of the display windows may be active
during this process, e.g. so that the
t he user can easily observe the sequence of
messages in the Trace window.
Break In offline mode this menu item interrupts the replay of data from the source file
(animate run). A restart resumes the replay
r eplay at the point where it was interrupted by
This website stores data such asBreak
Break..
cookies Step
to enable essential site This menu item causes a single step of the measurement to be run. Each time this is
functionality, as well as marketing,
activated only one additional message is read from the log file and processed in the
personalization, and analytics. You
data flow plan.
may change your settings at any time
or accept the default settings.
5.7.3 Data export and conversion
Privacy Policy
Signal-based logging The contents of log files can be exported or converted to other file formats with the
Marketing
export help of signal-based logging
logging export. The export can be limited to specific signals.
Additionally
Additional ly you can defin
definee programs tha
thatt will be started after
after an export.
Personalization
Conversion Conversion of log files is supported in both directions, i.e. ASCII to binary and binary
Analytics to ASCII.

Save Accept All


- 58 - Version 7.5 © Vector Informatik GmbH

User Manual Applications

5.8 Standalone Mode

Standalone Mode In standalone mode the realtime-specific portions of a configuration is executed on an


external device (e.g. VN8900
VN8900)) without a connection to the user PC. You can set up
the device so that measurement begins as soon as it is switched on. You can also
interact using a keypad attached directly to the device to stop and start measurement.
Evaluation-specific portions of the configuration (in particular, any blocks defined in
Evaluation-specific
the measurement setup) are not included in measurements carried out in standalone
mode.
You can manage standalone mode either via a dialog in CANalyzer or via the
Standalone Manager.

Standalone Manager The Standalone Manager is an accessory included with CANalyzer that you can
install on any other PC. You can use it to control standalone mode on any VN8900
devices connected to that PC.

5.9 Step Sequencer

Graphical Editor With the Step


stimulation Sequencer
and applicationyou can easily
control create simple sequences for network
graphically..
You can structure the steps, e.g.
 set and verify signal values and system variables,
 send messages,
 wait,
 start replay files and signal generators
in loops and conditional blocks (If, Else If, Else, End If).
Visualized Sequence Each sequence is displayed in a separate window and can be edited even during a
running measurement.
measurement. After starting the sequence a cursor shows the progress.
Interaction You may set wait points where the sequence will be paused.
The network responses can be reported automatically by using commands for
(textual) output to the Write window or in a file.
This website stores data such as
cookies to enable essential site
5.10as well
functionality, COM server
as marketing,
personalization, and analytics. You
may change your settings at any time
Access
or accept via different
the default settings. For the communication with other application
applications
s CANoe offers the COM server. It helps
applications the program to be gated or controlled by other applications. Besides accessing
configuration-specific
configuration-specific data it is also possible to control the measurement. You can
Privacy Policy also call CAPL functions, read signal values, and both read and write access
environmentt variables.
environmen
Marketing
Controlling Control can either be realized by COM-ready script environments (ActiveX Scripting:
Personalization VBScript, JScript, Perl ...) or by stand-alone applications, which can be written with
RAD development environments
environments (Visual Basic, Delphi ...) or in C/C++.
Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 59 -

Applications User Manual

5.11 Troubleshooting

CANalyzer will not  CFG file destroyed?


start Often it is helpful to delete the active configuration file MYCONFIG.CFG . First, the
file should be backed up under a different name so that its contents are not lost.
After the problem has been cleared up it can be renamed
renamed back to
MYCONFIG.CFG .

CANalyzer runs too Power managers, which are particularly common on notebook computers, may not be
slowly installed for CANalyzer operation
operation.. Among other things, the power manager deprives
the application of CPU for long periods of time. Therefore, transmit times are incorrect
and messages can be lost when a power manager is installed. To remove the power
manager from your system, please compare the instructions in the installation guide
of your hardware.
For less powerful computers it may also be advisable to reduce the resolution of the
system clock. The time stamps for messages may then be less accurate, but fewer
demands are placed on computer CPU. To do this, enter the following line in section
[PCBOARD] of the CAN.INI file:

Timerrate = 200
or under some circumstances even the value
Timerrate = 400

These correspond to time resolutions of 2 or 4 milliseconds, respectively.

Card cannot be With error messages of this type, CANalyzer cannot establish a connection to the
initialized, CAN hardware. Check the installation of the CAN card. Please compare the
Timeout… instructions in the installation guide of your hardware. Above all, notebook PCs
frequently use a power manager. This must be deactivated! Please compare the
instructions in the installation guide of your hardware.

Error in transmission Immediate state change of CAN controller to ERROR PASSIVE


 Bus not connected?
The bus connection should be checked, and possibly also the pinout of the
connector being used.
This website stores data such as Terminating resistor present?
cookies to enable essential site In particular, the CAN AC2 version with 82527 controllers reacts sensitively to a
functionality, as well as marketing, missing bus termination.
personalization, and analytics. You
 No partner on the bus?
may change your settings at any time
or accept the default settings. If the bus is only connected to one of the two CAN controllers, and there are no
other bus nodes, the controller does not receive any acknowledg
acknowledge e for transmis-
sion attempts.
Privacy Policy  Baud rate and output control set?

Marketing The controller register can be programmed by the popup menu of the CAN-card
icon.
Personalization

Analytics

Save Accept All


- 60 - Version 7.5 © Vector Informatik GmbH

User Manual Applications

5.12 List of error messages to the CAN interface

Error messages with Error messages related to communication between CANalyzer and the CAN PC card
assigned error as well as errors on the CAN bus or in the CAN card firmware appear in this list. In
numbers each case, a clear text and an assigned error number are given. Some of these
t hese
messages are hardware-specific
hardware-specific and therefore do not occur with all card types.

Message was not The last transmit request was not executed by the CAN controller. This may be due to
transmitted (14) the error state of the controller, or due to the accumulation of to many higher priority
messages.

Incorrect controller An attempt was made


made to access a nonexistent CAN
CAN controller. Most CAN
CAN cards
no. (3,10,113) supported by CANalyzer have two controllers. But there are also cards with just one
controller.
Remedy Look for a message CANn... in the CAPL programs, where n is greater than the
number of existing controllers. This must be replaced
r eplaced by a correct number.

Incorrect checksum The CAN controller detected a faulty CRC checksum.


(1368)

Incorrect card type CANalyzer card driver and hardware are not compatible.
(8)
Remedy The correct CANalyzer version should be started, or another CAN card should be
installed.

No access to IMP The firmware hasn't received access to the interface manage
management
ment processor of the
(12) Full CAN Chips 82526.

No reply from CAN The firmware could not establish a connection to the CAN controller. This is an
controller (106) indication of a defective CAN card.

No messages in RX No data are currently being received by the card.


buffer (1)
No message
received (7)
This website stores data such as
cookies Command
to enable essential
from site CANalyzer has sent a command to the card driver which it or the firmware does not
functionality, as well as marketing,
driver not supported recognize.
personalization, and analytics. You
(6,11,1528)
Example: A bus statistics request to a card without the appropriate logic.
may change your settings at any time
or accept the default settings.
RX buffer overrun The receive buffer could not accept any more received messages.
(101)
Privacy Remedy
Policy There are several methods for remedying this situation:

Marketing  Insert breaks in branches of the data flow plan which are not needed. In an
extreme case the statistics block, data block and trace block can be disconnected
Personalization by breaks. The measurement is recorded with the logging block and afterwards is
evaluated offline.
Analytics
 For Basic-CAN controllers a reduction in the data stream can be achieved by
Save Accept All acceptance filtering.
particular may Except indisconnected
be completely special application
applications
by thiss method.
the second controller in
© Vector Informatik GmbH Version 7.5 - 61 -

Applications User Manual

 For Full-CAN controllers data reduction can be accomplished by striking


messages in the message setup in conjunction with filter blocks.
 Switching-off the statistics report or other unnecessary
unnecessary options.

RX register overrun The Basic-CAN 82C200 controller has only two internal registers for accepting
(105) messages. At higher bus frequencies and higher message rates, newly arriving

messages overwrite this buffer before the firmware can read


r ead out the register.
Remedy Use acceptance filtering.

Timeout (1080) Communication


Communication problems with the firmware occur during a measurem
measurement.
ent.
Timeout while
accessing card
(4,232)
Remedy Terminate measurement
measurement and restart. If this does not help, the reset
r eset button can be
pressed for some cards. Otherwise, the PC should be rebooted.

Timeout during card No connection could be established with the firmware when the CAN card was
initialization (0) initialized.
No reply from the
card (1400)

TX buffer full, Tx The transmit buffer is still full. The new transmit request cannot be processed.
request rejected (2)
There are three possible reasons for this:
 CANalyzer is transmitting
tr ansmitting data faster than the firmware can receive them and
pass them to the CAN controller. This may occur, for example, if higher priority
messages are being transmitted on the CAN bus.
 The number of messages transmitted one directly after another in a CAPL
program is larger than the transmit buffer. This problem occurs primarily when
transmission is executed in a loop in CAPL programs:
for (i=0;i<50;i=i+1)
(i=0;i<50;i=i +1) output(Msg);
Remedy:
Fast transmission by setting msTimers and in reaction to the timer event.
 The CAN controller being addressed is in the BUSOFF state and therefore cannot
accept transmit requests any longer. This can be detected in the bus statistics
This website stores data such as window.
cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


- 62 - Version 7.5 © Vector Informatik GmbH

User Manual Windows

6 Windows

In this chapter you find the


t he following information:

6.1 Desktop concept page 64


6.2 Window management page 64
6.3 Measurement Setup window page 65
6.4 Trace window page 68
6.5 Graphics window page 69
6.6 Write window page 71
6.7 Data window page 71
6.8 Statistics window page 72
6.9 Statistics Monitor window page 74
6.10 Display panels page 75

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 63 -

Windows User Manual

6.1 Desktop concept

Organize windows The purpose of desktops is to organize windows for better clarity and comprehension.
on different desktops You can distribute your opened windows to any desired number of desktops and sort
information for work processes and other information by topic.
 Each desktop may provide any desired amount of information for viewing.
 It is possible to display identical information (identical
(identical windows) on different
desktops simultaneou
simultaneously.
sly.

Window definitions To achieve a better understanding of desktops, window management and their appli-
cations it is necessary to define certain concepts.
 There are windows that are represented in the form of blocks in the measurement
setup. Each block defines the properties of its associated window with regard to
configuration,, position, size, and the desktop on which it is opened. Double
configuration
clicking on a block opens its associated window.
 Each window (block) existing in the measurement setup may be opened on any
existing desktop. If the user is utilizing n desktops, a window in the measurement
measurement
setup may be opened n times. Each of these n windows of a block has an
customized position on the n desktops.
Both of these concepts are described by the same term, window
window,, and are referred to
by that same term below.

Place windows The windows opened on different desktops may be placed inside or outside of the
program window, or they may be docked in the program window.

6.2 Window management

Integrated windows Also integrated


integrated in the wind
window
ow manage
management
ment conce
conception
ption are diagnostic
diagnostic windows,
windows,
panels and modal plug-in windows. Modal plug-in windows are only available for the
measurement setup.
The View menu is expanded by several options if more than one window of the type
(Trace, Graphic,…) exists.

This website stores data such asThere arewindow/panel.


behavior different types
window/pan of windows
el. The followingand panels
window available
types exist: that assign a specific
cookies to enable essential site
functionality, as well as marketing,
MDI windows  Panels can be of the MDI or standard window type.
personalization, and analytics. You
may change your settings at any time
Docked windows  Windows of the docking window type may be anchored anywhere on the frame
or accept the default settings.
of the program window.
 They are always in the foreground.
foreground.
Privacy Policy
Floating windows Floating windows are created by the docking window type:
Marketing
 When you drag a docking window from the program window to the windows
Personalization desktop the window automatically becomes a floating window.

Analytics  If you drag a floating window to the program window it is automaticall


automatically
y converted
to a docking window.

Save Accept All


- 64 - Version 7.5 © Vector Informatik GmbH

User Manual Windows

 You can avoid this behavior by keeping the <Shift> button pressed while dragging
the window.
 Windows of the floating window type may be moved by mouse anywhere on the
windows desktop independent of the program window, and they always appear in
the foreground.
 They cannot be overlapped by the program window.

 These windows do not appear on the task bar.


 When the program window is minimized the associated floating windows of the
application are also minimized.
minimized.
 Floating windows cannot be addressed by the <Alt>+<Tab> key combination.

Standard windows Especially for panels.


 Panels of the standard window type may be moved by mouse anywhere on the
windows desktop independent of the program window.
 An active program
program window m
may
ay overlap panels
panels that are in this state.
 Additional characteristics
characteristics include
include the appearance
appearance of the windows desktop
desktop on the
task bar, and control by the <Alt>+<Tab> key combination.
combination.
 When the program window is minimized panels of the standard type are not
minimized.

6.3 Measurement Setup window

Overview A brief look at the


the measurement
measurement setup window
window gives an overview of the configuration
configuration
options provided by CANalyzer and shows you how your actual measurement
configuration appears ("graphic menu").

Graphical view of a The data flow diagram of the measureme


measurement nt setup contains data sources, basic
measurement setup function blocks, hot spots, inserted function blocks and data sinks. Connection lines
and branches are drawn in between the individual elements to clarify the data flow.
f low.

Data source In online mode the PC card serves as the data source. It registers CAN messages on
the bus and passes them on to CANalyzer. Moreover, some of the supported PC
cards also provide additional information such as the detection of error and overload
This website stores data such asflags, the values of error counters, the bus load and external trigger signals. The card
is initialized at the start of an online measurement.
cookies to enable essential site
functionality, as well as marketing,
Transmitand
personalization, branch On the left side of the measurement setup, CANalyzer's transmit branch branches off
analytics. You
may change your settings at any time the card icon. Here you can insert function blocks to feed data onto the bus. The
after
or accept the default settings. data flow in the transmit branch always runs from top to bottom. The small arrows in
the measurement setup indicate the direction of data flow.

Privacy Evaluation
Policy branch In the evaluation branches of the measurement setup, data are passed from left to
to
right to the measurement setup's evaluation blocks, where they can be visualized and
Marketing analyzed with various functions.
Personalization
Evaluation blocks Filters or user-defined analysis programs can be inserted in the data flow diagram
before the evaluation blocks. As a result, the data flow can be configured in many
Analytics ways to suit the particular task.

Save Accept All


© Vector Informatik GmbH Version 7.5 - 65 -

Windows User Manual

Evaluation window Each evaluation block has a measurement window in which the data arriving in the
block are displayed. The functions of all measurement windows are described in
detail in the sections below. Only the logging block is not assigned its own window.
Instead, a log file is assigned to it for the purpose of logging bus data traffic and then
studying it "offline".

Hot spots Located between the function blocks are insertion points (hot spots), at which blocks
can be inserted for to manipulate the data flow (Filter, Replay, Generator block, CAPL
program block with user-definable functions).
functions). Before and after the block inserted in
this manner, new hotspots appear, so that additional blocks can be inserted. The data
flow can also be broken at the hotspots.

Further Information: You will find a description of all insertable function blocks in the
online help.

Example Figure 34 shows a possible CANalyzer configuration in online mode, in which a


configuration generator block is provided in the transmit branch. A filter is inserted in the trace
branch, graphics branch and in the data branch so that only certain messages will be
displayed. The statistics branch and the bus statistics branch each receive all data,
while the logging branch is broken.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.
Figure 34: CANalyzer measurement setup

Privacy Policy
Info: The data flow in the measurement setup is always directional. It runs from the
Marketing
left, starting at the PC icon to the evaluation windows on the right and in the transmit
Personalization branch from the top to the button over the send block back to the card.

Analytics
Info: Data flow and functions in online and offline modes only differ in the data source
Save Accept All
and in the transmit block. Refer to chapter 5.7.2 for a description of offline mode.
- 66 - Version 7.5 © Vector Informatik GmbH

User Manual Windows

Configure CANalyzer Besides such functions as loading and saving configurations or associating CAN
databases,
database s, which you call directly from items in the main menu, the data flow diagram
and the function blocks in the measurement setup window are used primarily in the
configuration
configuration of CANalyzer.

Insert blocks and You configure the measurement setup or its blocks with is shortcut menu. On this way
filter new function blocks such as filters or generator blocks can be inserted at the black
rectangular insertion points
points (hot spots) in the data flow.
Deactivate blocks If you wish to exclude a function block from the measurement,
measurement, you can deactivate it
and filter before the measurement with the spacebar or with Block active in the shortcut menu.
This is especially helpful if you have already configured a block and only want to
disable it for certain measurements without deleting it. Deactivated blocks are shown
as a different shape to differentiate them from active blocks. A node can be
reactivated by pressing the spacebar again or by selecting the same shortcut menu
item Block active again.

Size of the The measurement setup can be displayed in two different modes:
Measurement Setup  Automatically fitted to the wind
window
ow size.
window
 Fixed magnification with scroll bars if necessary.

Arrangement
Arrangement of All evaluation blocks on the right side of the measuremen
measurementt setup are displayed
displayed above
above
evaluation blocks one another. The standard evaluation blocks, Statistics and Bus Statistics, always
appear exactly once each. Other evaluation blocks (Trace, Data, Graphics and
Logging) appear at least once each.

Insert evaluation To insert new evaluation blocks in the measureme


measurementnt setup, click the branch with the
blocks right mouse button and select the new window from the shortcut menu. This places
the new block after the last block of the same type. It gets the standard name with a
serial number. The first Trace window is called “Trace”, the second gets the name
“Trace 2”, etc.
Delete evaluation You can also delete the block from
fr om the measurement setup via its shortcut menu,
blocks provided that there is more than one evaluation block of that basic type in the
measurement setup. When the block is deleted, the entire branch is always deleted,
including all of the insertable evaluation blocks there.

Open evaluation To open the window assigned to the evaluation block, double click the block with the
This website stores data such asleft mouse button or choose Show Window in the block's shortcut menu. Multiple
block’s window
cookies to enable essential site windows of the same type are shown cascaded in the standard layout.
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 67 -

Windows User Manual

6.4 Trace window

Display of messages All messages


messages arriving at the input
input of the Tra
Trace
ce block are displayed
displayed as text lines
lines in the
Trace window.

Figure 35: CAN Trace window

Display of events A number of other events are


are output in the Trace window,
window, e.g.:
 Error events
 System variables and environme
environment
nt variables
 Transport protocol messages
 Diagnostics services

View modes The Trace window offers different view modes to observe the bus traffic:
 In Chronologic
Chronological
al Mode each new row is inserted below the previous row, and
when the window is full it scrolls upward.
 In Fixed Mode each message (type) is assigned to a specific line the first time it
occurs, and all further messages of the same type are written to the same line.

This website stores data such as


features
Analysis features The Trace window provides various features for online and offline analysis of the bus
cookies to enable essential site
traffic, e.g.:
functionality, as well as marketing,
 Display and column filters
personalization, and analytics. You
may change your settings at any timeMultiple search functions for strings, conditions and pattern
or accept the default settings.  Typical sort features for each column

 Import/Export of Trace data from/to log files


Privacy Policy  Spezielle Ansichten für Busereignisse:
Busereignisse:
 Detail view
Marketing
 Difference view (for direct comparison of different events)
Personalization
 Statistic view (several events can be selected and examined statistically)
Analytics

Save Accept All


- 68 - Version 7.5 © Vector Informatik GmbH

User Manual Windows

6.5 Graphics window

Display signal The Graphics windows serve to display signal responses over time. As was the case
responses for the Data block, if a symbolic database is used you can have the values of signals
specified there displayed directly as physical variables. For example, the engine
speed response could be viewed in units of RPM or the temperature pattern over time
could be viewed in degrees Celsius.

Figure 36: Graphics window

Signal-time responses
responses are displayed graphically in the Graphics window. They are
displayed in a X-Y diagram above the time axis. The measurement data remain in the
Graphics window after a measurement stop and can be examined using special
measurement
measureme nt cursors.

The Graphics window has a legend in which the selected signals are shown with their
value ranges and colors. It also has a toolbar from which you can easily call the most
important measurement functions. Both the legend and toolbar can be configured in
the window's shortcut menu and can be enabled or disabled from there.

Measurement cursor
Measurement In point measurement mode a measurement
measurement cursor (vertical line in the window) is
displayed, which you can position by clicking and holding down the left mouse button.
If the mouse pointer is located above the measureme
measurementnt cursor, it changes its form to
a horizontal double arrow. If the mouse button is pressed at a point not located above
the measurement cursor, a rectangle is dragged open when the mouse is dragged.
The content of this rectangle is then displayed magnifie
magnified
d when the mouse button is
released (zoom function).

This website stores data such asWhile the mouse button is held down a small square is visible which highlights the
next closest measurement value. The measurement time, signal name and value are
cookies to enable essential site shown in the upper legend for this measurement point. In the legend with signal
functionality, as well as marketing,
names, the signal values of all signals are displayed for this particular time point. The
personalization, and analytics. You
measurement cursor considers single-signal or multisignal mode. In single-signal
may change your settings at anymodetime the small box only jumps to measurement points of the active signal; in
or accept the default settings. multisignal mode the box jumps to the next closest measureme
measurement nt point of all signals.
Difference markers To evaluate the in measurement value differences between two points in time, you
Privacy Policy use the difference measurement mode. The measurement cursor and a difference
cursor (vertical lines in the window) are displayed. If difference mode is enabled,
enabled, the
Marketing cursors are shown at their active positions if they lie within the visible screen area.
Otherwise they are moved to the viewing area. By clicking and holding the left mouse
Personalization button you can position the cursors. If the mouse pointer is located above a cursor, it
changes its form to a horizontal double arrow. If the mouse button is pressed at a
Analytics
point not located above the cur-sors, a rectangle is dragged open when the mouse is
dragged. The contents of the rectangle are then displayed magnified when the mouse
Save Accept All
button is released (zoom function). The cursors can only be positioned within the
viewing area. However, the viewing area can be shifted by the arrow keys.
© Vector Informatik GmbH Version 7.5 - 69 -

Windows User Manual

While the key is pressed a small square is visible, which highlights the next closest
measurement value. The measurement time, signal name and absolute value (not the
difference) of this measurement point are shown in the upper legend. In the legend
with signal names, the differences in signal values for all signals are shown for the
time points that have been set. The two time points and the time difference are also
displayed. The measurement cursor considers the option single-signal or multisignal
mode. In single-signal mode the small box only jumps to measurement points of the
active signal; in multisignal mode the box jumps to the next closest measurement
point of all signals.

Window layout The Graphics window provides you with a number of functions for changing the win-
dow layout. Some of the functions available to you via the popup menu include:
Fit all Independent of the preset mode, the signals are scaled such that they are completely
visible. To do this, the program determines the actual minimum and maximum values
for each signal and the time range of all signals, and scaling is adjusted accordingly.
accordingly.

Zoom-in/ This command magnifies


magnifies or reduces, by a factor of 2, either the active signal (in
( in
Zoom-out single-signall mode) or all signals (in multisignal mode). The size is changed
single-signa
according to the preselected axis mode.
Operations
Operations that change the scaling of the time axis are always executed for all signals
(independent of the option single-signal/m
(independent single-signal/multisignal
ultisignal mode), since there is only one
time axis for all signals in the Graphics window.

Fit The signals are scaled such that they are completely visible. This involves
determining the actual minimum and maximum values of each signal as well as the
time range for all signals, and the scaling is set accordingly. The active modes (X
mode, Y mode or XY mode, and single-signal or multisignal mode) are taken into
consideration.
consideration. This fits the entire graphic optimally in the window.
Colors Here you select the background color for the window (white or black). Furthermore,
you can open the Options dialog for configuring signal colors.

Export signals With the help of the Export… function you can save the data of one or all signals of
the Graphics window to a file. Depending on the activated signal mode (i.e. single-
signal or multisignal mode) the export either applies to the currently active signal or to
all signals. This function is only available if data exist for the active signal.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


- 70 - Version 7.5 © Vector Informatik GmbH

User Manual Windows

6.6 Write window

Functionality The Write window has two functions in CANalyzer:


 First, important system messages on the progress of the measurement
measurement are output
here (e.g. start and stop times of the measurement, preset baudrate, triggering of
the logging function, statistics report after the conclusion of measurement).
 Secondly, all messages which you, as the user, place in CAPL programs with the
function write() are output here.
The shortcut menu item Copy contents to Clipboard accepts the contents of the
Write window in the clipboard. Write window messages serve as both a supplemental
report for your measurements and – should problems occur – as a basis for error
analysis by our customer service.

View modes There are tabs to switch between the following different views:
 All (shows all messages)
messages)
 System
 CAPL

Further Information: You can find a description of the most important CANalyzer
system messages that are output to the Write window in the online help.

6.7 Data window

Display of signal Data windows are used to display signal values (e.g. engine speed for automotive
values CAN buses). When a symbolic database is used the values of signals specified in the
database are even displayed directly in physical units. For example, the engine speed
might be viewed in RPM or temperature in degrees celsius.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy Figure 37: Data window

Marketing
Default settings By default the display shows the signal name, physical value, units, raw
r aw value and
progress indicator (Bar) for the physical value. You can configure the displayed
Personalization
columns from the table header’s shortcut menu.
Analytics
Info: Besides displaying signals, the Graphics window also offers the option of
Save Accept All
viewing diagnostics parameter.
parameter. All of the statements made below regarding signals
also apply, in principle, to diagnostics parameter.
© Vector Informatik GmbH Version 7.5 - 71 -

Windows User Manual

Display of signal The signal values received in the data block of the last message remain visible in the
value’s changes data window until they are overwritten by new values. If a message is logged with an
unchanged
unchang ed signal value, the activity indicator moves in the first column. If the
indicator does not move, then the displayed signal value is not current, since the
associated message was not received.

Min.
valueand max. signal It is easy toMin
Therefore, miss minima
and and maxima
Max columns mayifbe
signal values
added fromare
the changing very quickly.
table header’s shortcut
menu. The minimum and maximum values over the entire duration of the
measurement are displayed by default.
To make brief peaks easier to recognize, you can define a time interval after which
the Minimum and Maximum should be reset to the momentary value. You can open
the configuration dialog for setting this time interval from the Times… menu item of
the data window’s shortcut menu.

6.8 Statistics window

Functionality The Statistics block fulfills two different functions:


 Display of the average time between the sending of messages (secs/msg) during

a measurement.
constructing It can also display
a continuously updatedthe
linemessages
histogramper second.
above These are
a message done by
identifier’s
axis. A sliding scale averaging method with an adjustable averaging time is used.
 The other function keeps statistics on all bus activities in the background; these
results can be reported either as a statistical report in the Write window or stored
via a histogram function and then processed further.
The Statistics window displays the mean message rates existing at the end of the
measurement.
measuremen t. The Write window contains the statistics report.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics
Figure 38: Bus Statistics window
Save Accept All
- 72 - Version 7.5 © Vector Informatik GmbH

User Manual Windows

Display of transmit During the measurement either the mean transmit interval or the mean message rate
interval or message is displayed in the Statistics window. Smoothed averaging is used with adjustable
rate averaging time. The message identifiers
identifiers are output on the horizontal axis, and the
corresponding
correspondin g rates on the vertical axis. The IDs are distributed according to whether
they originated from controller CAN1 or CAN2, and by message attributes Rx and Tx:

RX TX
CAN1 Red Blue
CAN2 Red Blue

Configure display In the statistics configuration dialog you can define whether the window diagram
should show the mean transmit interval (sec/msg) or its inverse, the mean message
rate (msg/sec). Also configurable is the averaging time which defines the time interval
at which the display is refreshed. Averaging is most precise with a low value, but this
demands
demand s a lot of computing time. With high values the statistics display lags behind.
An averaging
averaging time of app
approx.
rox. 1000 ms g gives
ives good results
results for standard application
applications.
s.

Scale Statistics You can scale the Statistics window from the popup menu. The functions available for
window this, such as Zoom
Zoom,, Fit
Fit,, Basic Image and Manual Scaling are described in detail in
online help.

Statistic of bus In background, statistics are kept on all bus actions, and the results can be reported
actions to the Write window after conclusion of the measurement. A list is constructed (sorted
by message identifiers) which contains information organize
organizedd separately for receive
messages, transmit messages, transmit requests and transmit delays: Number of
messages, mean time spacing, standard deviation, minimum spacing and maximum
spacing.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Figure 39: Statistical evaluation of a measurement in the statistics report


Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 73 -

Windows User Manual

6.9 Statistics Monitor window

Display of statistical The Statistics Monitor window displays statistics about bus activities during
data measurement.
This window can be inserted into the measurement setup via the shortcut menus of

the relevant function


measurement blocks.
setup block areAllevaluated
bus events
forthat
this arrive at the
purpose. If ainput of theis assigned to
database
the selected channel, statistics can also be evaluated individually for each available
node.
Columns The Current/Last column shows the current or most recently derived statistical value.
The Min
Min,, Max and Avg columns show the corresponding minimum, maximum and
average statistical values.
Screenshot

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization Figure 40: CAN Statistics Monitor window

Analytics
Log bus statistics Bus statistics information is also recorded
r ecorded in logging (see chapter 5.7).
5.7). To include this
information information in logging activate the Log internal events check box in the configuration
Save Accept All
dialog for the log file. When the file is played back in ofline mode this information is
then displayed again in the Bus Statistics window.
- 74 - Version 7.5 © Vector Informatik GmbH

User Manual Windows

6.10 Display panels

User defined display The display panels known from other Vector tools are now also available in
windows CANalyzer. Thereby user defined display windows can be created for all bus signals.
The CANalyzer display panels are fully compatible to the CANoe panels thus they
can be used in both tools.

Panel Designer The Panel Designer allows creating display panels easily and offers beside a huge
choice of different display elements many layout functions for alignment
alignment and
arrangement
arrangeme nt of these elements.

Cross reference: Starting from version 7.0 you can easily design and configure
panels with the Panel Designer.
Panel-files (*.cnp) which already exist will still be opened and edited in the Panel
Editor.
You can find detailed information of both tools in thet he online help.

Grouping panels CANalyzer's window management


management concept provides you with the option of grouping
panels according to your work requirements. During the measurement you can switch
back and forth between these panel groups, so that only one panel group is open at
any particular time.

Administration of Desktops are administered by a shortcut menu. This shortcut menu appears when the
desktops mouse pointer is positioning over a tab in Desktop tab and the right mouse button is
pressed. With the shortcut menu you can Insert panels to the configuration…
configuration…..

Further Information: The online help provides further information (Desktop


Concept).

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 75 -

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


User Manual Blocks and Filter

7 Blocks and Filter

In this chapter you find the


t he following information:

7.1 Overview page 78


7.2 Interactive Generator Block (IG) page 78
7.3 Replay block page 79
7.4 Trigger block page 80
7.5 Filter/Filter block page 80
7.6 Channel filter page 80
7.7 CAPL nodes in the measurement setup page 81

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 77 -

Blocks and Filter User Manual

7.1 Overview

Hot spots In the measurement setup there are square points (hot spots) between the basic
function blocks, at which additional function blocks can be inserted or the data flow
can be blocked. The hot spots themselves allow all data to pass unhindered or block
the complete information flow.

Function blocks in Function blocks can be recognized by their appearance or by their labels in the data
measurementt setup
measuremen flow chart.

Configure and delete All blocks have shortcut menu


menuss which you can use to configure
configure or delete them. By
function blocks deleting the node you can remove the block from the data flow plan. All configuration
information is lost in the process. However, the CAPL source files of the CAPL node
and the log file of the Replay block are not deleted.

7.2 Interactive Generator Block (IG)

Application The purpose of the Interactive Generator block is to generate and transmit messages.
messages.
It appears in the data flow plan of the measurement setup as a small block with the

labeldiagram.
flow IG.. Just like
IG Thata is,
traditional Generator
it doesn’t blockflow
filter the data it islike
permeable to allordata
filter blocks CAPLin the datado,
blocks
rather it acts in a purely additive manner.

Configuration during Messages can also be configured and interactively transmitted during a measurement
the measuremen
measurementt (Online). This makes the IG especially well suited for influencing a measurement
measurement in a
quick and improvised way. In many cases, with the IG you can achieve your goal
without the use of traditional Generator blocks and without CAPL blocks.

Transmit list and The configuration dialog is subdivided into a transmit list (upper half of window) and a
signal list signal list (lower half of window). In the transmit list you can select individual
messages and configure them. Assigned to each message is a signal list in which
signal values can be configured.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy Figure 41: Configuration of the Interactive Generator block

Marketing
Generate signals In addition to already existing messages/signals new generated signals can be
Personalization transmitted too. The following generator types are available:
Analytics  Toggle switch
 Range of values
Save Accept All
 Ramps and pulses
- 78 - Version 7.5 © Vector Informatik GmbH

User Manual Blocks and Filter

 Random
 Sine
 User defined

Trigger conditions The trigger condition is, in contrast to the traditional Generator block, entered
separately for each message. You can choose between manual interactive triggering,
key press and interval-driven repetition. Additionally,
Additionally, you can configure the number of
messages to be sent at the time of triggering.

The IG as a Gateway The IG additionally offers a gateway function. With this function, you can transfer
information from one bus to another. Necessary inputs you have to do in the IG
configuration dialog.
Therefore CANalyzer offers two modes:
 Transfer of chosen signals
 Activate first the register
register All columns of the dialog's upper list. Choose the
desired signal with the [New] button afterwards.
 Transfer of the whole
w hole bus communication
 If you choose the ‘*’ sign as identifier, the whole bus communication will be
transferred from one bus to the other.

If you transfer the whole bus communication, you also can build additional rules for
signals. These rules have priority for the relevant signals.

7.3 Replay block

Replay measurement The replay block makes it possible to replay measurement sequences which have
sequences already been recorded. The most important application is replaying a recorded data
stream onto the CAN bus.
Replay blocks appear in the data flow plan as small blocks with the label R. In the
configuration
configuration dialog you have to select the logging file that shoulb be replayed.
Additionally you
you can specify
specify the transmission mode.
Configure replay The user can specify whether RX messages or TX messages are to be transmitted or
not. The user can also choose whether messages originating from CAN controller 1
This website stores data such asshould be transmitted on CAN 1 or CAN 2, or should not be transmitted at all, and
cookies to enable essential site similarly for messages originating from CAN 2.
functionality, as well as marketing,
The file can be transmitted once or cyclically. For cyclic transmission, transmission
personalization, and analytics. You
resumes with the first message after the end of the file is reached.
may change your settings at any time
or accept the default settings. There are three possibilities to define the start of transmission of the first message of
the file.
 Immediate
Privacy Policy
The first message is transmitted at the start of measurement.
measurement.
Marketing  Original
Personalization The time of transmission is defined by the time saved with the message in the file.
Analytics  Specified
The user sets the time explicitly in milliseconds since the start of measurement.
Save Accept All
In all three cases the time spacing between message
messagess within the file is preserved. If it
is less than one millisecond, transmission is delayed accordingly.
© Vector Informatik GmbH Version 7.5 - 79 -

Blocks and Filter User Manual

7.4 Trigger block

Trigger block The Trigger block is the same as the trigger for the logging (block) configuration.
configuration. You
can place this Trigger not only in front of the Logging block but also everywhere (hot
spot) in the measurement setup (see chapter 5.7).5.7).

7.5 Filter/Filter block

Reduce data volume The volume of data can be selectively reduced by using the filter block. Toggling
between a pass filters and a stop filters will pass or block those identifiers and/or
identifier ranges that are specified. All messages of a network node can be filtered as
well. In addition, the message type affected by the filtering function can be set for the
identifier, as well as whether filtering should also apply to Error Frames.

This website stores data such as


cookies to enable essential site Figure 42: Filter configuration dialog for CAN filter block
bl ock

functionality, as well as marketing,


personalization, and analytics. You
Info: In keeping with its function, a pass filter which is not configured (empty) does
does
may change your settings at any time
not pass any messages and so blocks all message traffic.
or accept the default settings.

Privacy 7.6
Policy Channel filter
Marketing
Filter messages of a
Personalization It is possible to completely block all messages on a channel or to let them pass with a
channel channel filter.
Analytics

Save Accept All


- 80 - Version 7.5 © Vector Informatik GmbH

User Manual Blocks and Filter

Figure 43: Channel filter in the data flow plan

Info: A channel filter which has not been configured can be used in the data flow plan
to simply show the number of channels being used.

7.7 CAPL nodes in the measurement setup

Applications An important use of progra


program
m blocks is e.g. to p
preset
reset transmit messages
messages in the
transmit branch. However, even very simple program blocks can be written for data
reduction (Example:
(Example: Only pass every tenth message) or for monitoring.

Info: A CAPL node in a data flow branch blocks all messages that are not explicitly
output in the program with output() . A program that is transparent for all messages
must therefore contain the following message procedure:
on message * {
output(this);
output(thi s); /* Pass all messages */
}

Info: It is permissible to reference the same CAPL programs in different program


blocks. For example, this may be of interest if the same data manipulations are to be
made in two different data flow branches (e.g. data reduction operation
operations).
s).

Info: The CAPL source file is not deleted when a CAPL node is removed from the
measurement setup.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 81 -

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


User Manual CAPL

8 CAPL

In this chapter you find the


t he following information:

8.1 CAPL basics page 84


8.2 CAPL Browser page 86

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 83 -

CAPL User Manual

8.1 CAPL basics

Programming The universal applicability of CANalyzer results in large measure from its user
individual aplications programmability. The Communication A
programmability. Access
ccess Programming Language CAPL is a C-
like programming language, which allows you to program CANalyzer for individual
applications.
applications. In the development of network nodes, for example, the problem arises
that the remaining bus nodes are not yet available for tests. To emulate the system
environment,
environme nt, the data traffic of all remaining stations can be simulated with the help
of CAPL.
You can also write programs for problem-specifi
problem-specific
c analysis of data traffic with CAPL,
or you can program a gateway - a connecting element between two buses - to
exchange data between different CAN buses.
CAPL nodes are inserted in the data flow plan as function blocks. Event procedures
serve as inputs in CAPL. These procedures can react to external events (e.g. the
occurrence of specific messages). You send messages by calling the function
output(). These language tools and symbolic access to the various variables in the
database make it possible to create simple prototypical models of nodes. The event
procedures can be edited in the user-friendly Browser.

Info: You can find a detailed description of all CAPL functions in the online help.

Procedure CAPL programs have an input through which messages pass as events into the
block. Appearing at the output are all messages that either pass through the program
or are generated by it. Furthermore, the program block can react to keyboard inputs
(Key
Key),
), time events (Timer
(Timer).

This website stores data such as


cookies to enable essential site
functionality, as well asand
Call analysis marketing,
test Therefore, you can utilize a CAPL program to develop monitorin
monitoring
g and testing for your
personalization,
functionsand analytics. You
special problem task. The CAPL program reacts to messages that CANalyzer
may change your settings at anyregisters
time on the CAN bus, and afterwards you can call your own analysis and test
or accept the default settings. functions.
Emulate the system You can also use a CAPL program to emulate the system environment for a
environment controller. The CAPL program reacts to both messages on the CAN bus and to your
Privacy Policy keyboard inputs, responding with certain CAN messages according to the event
registered. It is entirely up to you to determine which actions are performed in
Marketing
response to which events.
Personalization
Program a gateway Another possible
possible application
application of CAPL is to pro
program
gram a gate
gateway
way - that is a connecting
connecting
Analytics element between two buses - to exchange data between different CAN buses and
moreover to correct erroneous data occurring in this exchange.
Save Accept All
Trigger a Logging Last but not least, the Logging block can also be triggered by a CAPL program.
block Conditions of any desired complexity can be formulated for triggering. Triggering is
initiated by a call of the intrinsic function trigger() .
- 84 - Version 7.5 © Vector Informatik GmbH

User Manual CAPL

Insert CPL nodes A CAPL program


program can be inserted
inserted in the me
measurement
asurement setup
setup at all hot spots.
spots. To do
this, select the menu item Insert CAPL node from the hot spot's shortcut menu, and
enter the name of the CAPL program file you wish to assign to this node in the
configuration
configuratio n dialog. If you want to create a new CAPL program you can enter the
name of a file that does not exist here yet. This file is then automatically
automatically created when
editing.

Please note that a CAPL program may react completely differently, depending on the
point at which you place it in the measurement setup. Since the data flow is directed
from left to right, these messages are only passed to the function blocks to the right of
the CAPL program. This completely logical behavior - which may at first seem
surprising - applies equally to the Generator block, which - when it is located in the
measurement
measureme nt setup - similarly generates messages without affecting the bus.
Therefore, in general those CAPL program blocks that exclusively serve analysis
purposes should be inserted on the right side of the measuremen
measurementt setup, while
program blocks for transmitting CAN messages should be inserted in transmit branch.

Compile CAPL Before you start the measureme


measurement nt you must compile all CAPL programs of the
programs configuration.. You can start the CAPL compiler from the CAPL Browser or from the
configuration
configuration dialog. To compile all nodes at once, simply choose the main menu item
Configuration│Compile all nodes.
nodes.

Symbolic names in Just like other function blocks in the measurement setup, from CAPL you also have
CAPL programs access to the symbolic information in the database. For example, instead of using the
identifier 100 in your CAPL program you could use the symbolic name EngineData at
all locations, provided that you have assigned this name to the identifier 100 in your
database.
The use of the symbolic database makes your program essentially independent of
information that only relates to the CAN protocol, but has no meaning for the
applications.
applications. Let us assume, for example, that during the development phase you
determine that certain CAN identifiers in your system should be reassigned to change
message priorities, and that in your system the message EngineData should now get
the higher priority identifier 10 instead of the identifier 100.

Advantage In this case, let us assume that you have already developed test configurations and
CAPL programs for your system which are exclusively based on the symbolic
information (which do not use the identifier 100 anywhere, but rather always refer to
This website stores data such as
the name EngineData). After modifying the identifiers in the database, you can
cookies to enable essential site incorpo-rate the new information in the configuration by recompiling the CAPL
programs. It is not necessary to adapt the CAPL programs to the new identifiers,
functionality, as well as marketing,
since
personalization, and analytics. You you only used symbolic names (e.g. EngineData), and not CAN identifiers
may change your settings at any(previously
time ID 100, now ID 10).
or accept the default settings. Therefore, it is advisable to manage all information relating only to the CAN bus in the
database, and to use application-releva nt symbolic information in CANalyzer
application-relevant
exclusively.
Privacy Policy
Event procedures CAPL is a procedural langua
language
ge whereby the execution of program blocks is controlled
Marketing
by events. These program blocks are known as event procedures. The program code
Personalization that you define in event procedures is executed when the event occurs. For example,
you can send a message on the bus in response to a key press (on
( on key),
key), track the
Analytics occurrence
occurre nce of messages on the bus (on
( on message),
message), or execute certain actions
cyclically (on
(on timer).
Save Accept All
© Vector Informatik GmbH Version 7.5 - 85 -

CAPL User Manual

Figure 44: Examples of CAPL event procedures

Program parts A CAPL program


program consists of two parts:
parts:
 Declare and define global variables
 Declare and define user-defined functions and event procedures

8.2 CAPL Browser

Overview CPL program files are ASCII files as well as C or PASCAL program files. So you can
edit them with each ASCII text editor of your choice. A special Browser is integrated
in CANalyzer for the user-friendly creation and modificatio
modification
n of CAPL programs. This
Browser shows you the variables, event procedures and functions of a CAPL program
in structured form.
CAPL compiler The CAPL compiler is started from Browser's main menu or toolbar. Compilation time
is very short, even for larger programs. When an error is detected, the faulty program
section is shown, and the cursor is positioned at the location of the error. This makes
it very easy to make corrections.
Open CAPL Browser It is recommen
r ecommended
ded that you always start Browser from CANalyzer, since a number of
important parameters for the program start (database name, compiler options,
hardware parameters, CAPL-DLLs, etc.) must be passed.
Browser architecture A Browser window
window is subdivided
subdivided into up to fo
four
ur sub-windows,
sub-windows, so called "Panes".
"Panes".

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All

Figure 45: CAPL Browser


- 86 - Version 7.5 © Vector Informatik GmbH

User Manual CAPL

Browser tree At the upper


upper left is the Browser tree,
tree, which contains the
the CAN event typ
types
es as drop-
down nodes. These nodes each contain procedures that can be assigned to the CAN
event types. The upper part of the text editor to the right of the Browser tree shows
the global variables for the CAPL program; the lower part shows the procedure text
for the procedure selected in the Procedures List. The text editor can also be
configured so that global variables and procedures can be edited in a common editing
window. Along the lower border is the Messages window
window used to display compiler
messages for the CAPL program.

Panes You can access the most important functions for each of the panes from the shortcut
menu by pressing the right mouse button. In the editor panes you have access, via
the shortcut menu, to the intrinsic CAPL functions and to the objects defined in the
database.. Furthermore, you can copy text to the Clipboard from the shortcut menu,
database
and from there you can paste it in your program.

Editor CAPL programs which are not available in Browser-specific file format are displayed
in unstructured format in a normal text window and can be edited there. As in the
editors of the Browser window, the program text can be edited via the menu
command Edit or from the shortcut menu.

Message window All messages during the co


compilation
mpilation pro
process
cess are output
output in the Message
Message window.

If errors or warnings occur during the compilation process, the Message window
automatically jumps to the foreground with the relevant error message. Double click
automatically
the message or select the line and execute the command Go to from the Messages
window to position the cursor at the location where the error occurred. After you have
corrected it and saved the program file again, you recompile the program. If the
program compiles without errors, the status compiled appears in the status bar at the
bottom of Browser's main window.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 87 -

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


User Manual CAN

9 CAN

In this chapter you find the


t he following information:

9.1 Overview page 90

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 89 -

CAN User Manual

9.1 Overview

CAN specific The CANalyzer Tour and various examples in this manual are based on the CAN bus
features system.

Further Information: Please refer to the online help for further details.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


- 90 - Version 7.5 © Vector Informatik GmbH

User Manual LIN

10 LIN

In this chapter you find the


t he following information:

10.1 Preliminary note page 92


10.2 How to create a LIN description file page 92
10.3 How to create a CANalyzer.LIN configuration
configuration page 92
10.4 How to analyze a LIN network page 93
10.5 How to simulate a LIN Master node page 93
10.6 How to control a LIN Master’s scheduler page 93
Using the Interactive Master
Using CAPL
10.7 How to log and replay LIN traffic page 94
10.8 How to view LIN signals page 95
10.9 How to manipula
manipulate
te LIN signals page 95

Using the CAPL function output()


Using the Interactive Generator Block

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 91 -

LIN User Manual

10.1 Preliminary note

Introduction LIN (L
(Local Interconnect Network) is a deterministic communication
communication system for
connecting ECUs with smart sensors, actuators and controls. Vector’s software tool
CANalyzer.LIN provides you with specific measurement and analysis features for the
specifications LIN 1.x, LIN 2.0, LIN 2.1, SAE-J2602 (US-LIN) and Cooling-Bus.
This getting-started guide will help you create your first CANalyzer.LIN configuration.
configuration.
Through a series of how-tos you will also be guided through the most commonly
needed LIN features.

Further Information: Please see the online help for further information about
CANalyzer.LIN features and topics.
Configuration examples for LIN demonstrating most of CANalyzer.LIN’s
Configuration CANalyzer.LIN’s features can
be found in the demo sub-directory: DEMO_LIN_CL .

10.2 How to create a LIN description file

LIN database Although not


not required, it is h
highly
ighly recomm
recommended
ended that yo
you
u use a LIN database
database when
when
developing
developin g or analyzing LIN networks. The LIN database is described as a LIN
description file (LDF
(LDF)) using the LIN configuratio
configuration
n language as defined in the LIN
specification.

LDF Explorer If you do not already have an LDF, you can easily create one using the LDF Explorer
CANoe.LIN.. You can start the LDF Explorer from the Windows
utility provided with CANoe.LIN
Start menu (Start|Vector
(Start|Vector CANwin|Tools|LDF Explorer
Explorer – LIN).
LIN).
With the LDF Explorer you can also view and analyze your LDFs by double-clicking
an LDF either in the Windows Explorer or in CANoe.LIN via File|Open LDF Explorer
or the toolbar icon

Further Information: Example LDFs can be found in the LIN demo subdirectories
e.g. ..\Demo_LIN_CL\LINMainDemo\LINdb .

This website stores data such as


cookies to enable essential site
10.3as well
functionality, How to create a CANalyzer.LIN configuration
as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings. To create a LIN configuration using an LDF, simply follow these steps:
1. Create a new configuration using File|New Configuration.
Configuration.

Privacy Policy 2. Select the LIN template and press [OK]


[OK]..
3. Open the Database Management window using View|Database Management or
Marketing
File|Associate database….
database….
Personalization 4. Assign an LDF e.g.
Analytics ..\Demo_LIN_CL\LINMainDemo\LINdb\VectorLDFExample.ldf
to a LIN channel (e.g. Channel 1), either using the shortcut menu Add database
or via drag & drop from the Windows Explorer.
Save Accept All
5. Now press [OK] to close the dialog.
- 92 - Version 7.5 © Vector Informatik GmbH

User Manual LIN

10.4 How to analyze a LIN network

Start the If you have a real LIN system connected to your LIN hardware, using the
measurement configuration
configuratio n created in chapter 10.3 with the appropriate LDF, you can now press
start button to observe the LIN traffic in the Trace window (View|Trace
View|Trace).
). The

Trace
errors.window not only displays valid LIN frames, but all types of LIN bus events and

Further Information: For a full list of LIN events and errors, please see the online
CAPL help for LIN.

Display in the Trace By expanding a LIN frame, you can view its signals as defined in the LDF associated
window to this LIN channel. Additiona
Additionall LIN specific columns can be added to the Trace
window using its configuration dialog.

LIN Statistics To view the LIN statistics, open the LIN Statistics Monitor via double-click on the
LIN Statistics Monitor in the measurement setup or via the menu View|LIN
Statistics Monitor.

10.5 How to simulate a LIN Master node

With CANalyzer.LIN it is possible to simulate a LIN Master or Slave node according to


your LDF. To simulate a LIN Master node please follow these steps:
1. Create a LIN con
configuration,
figuration, by following the steps described in chapter
chapter 10.3.
10.3.
2. Open the LIN node selection dialog (Configuration|L
Configuration|LIN
IN Node…).
Node…).
3. Select the LIN Mas
Master
ter node
node from th
the
e list e.g. LINMaster
LINMaster and press [OK]
[OK]..
4. If you now start the measurement,
measurement, the simulated Master node
node will start sending
headers and frames as defined in the first schedule table of the assigned LDF
e.g. SendTable1.

This website stores data such as


cookies 10.6
to enableHow tosite
essential control a LIN Master’s scheduler
functionality, as well as marketing,
personalization,
10.6.1 and analytics.
Using You
the Interactive Master
may change your settings at any time
or accept the default settings.
1. Create a LIN con
configuration,
figuration, by following the steps described in chapter
chapter 10.3 and
10.5..
10.5
Privacy Policy 2. Insert an In
Interactive
teractive Maste
Masterr block into the send branch of the measurement
measurement setup
setup
(View|Measurement Setup).
Setup).
Marketing
3. Open the Interactive
Interactive M
Master
aster block
block e.g. per double-click.
double-click.
Personalization
4. Configure p
per
er context me
menu,
nu, which schedule the Interactive Master should
should start
Analytics on measurement
measurement start. Per default the first schedule defined in the LDF will be
started.
Save Accept All
5. Start the measurement
measurement and change the schedules
schedules as desired interactively.
interactively.
© Vector Informatik GmbH Version 7.5 - 93 -

LIN User Manual

10.6.2 Using CAPL

1. Create a LIN con


configuration,
figuration, by following the steps described in chapter
chapter 10.3 and
10.5..
10.5
2. Insert a CAPL node into the send branch of the measurement setup
(View|Measurement Setup).
Setup).
3. Select the CAPL node and choose Configuration… from the context menu.
4. Enter a file nam
name
e for yo
your
ur CAPL program and then
then press [Edit] to start the CAPL
Browser.
5. Now use the CAPL function LINChangeSchedTable to determine when a
schedule table change should take place. For example to change to the second
schedule table in the LDF on pressing key <2> insert the following:

on key ’2’
{
LINChangeSchedTable(1); // Index starts with zero
}

6. Now compile the CAPL program


program e.g. by pressing <F9> and start the
measurement.
7. On pressing the key <2>
<2> the Master’s
Master’s scheduler
scheduler should change to the second
second
schedule defined in your LDF (e.g. SporadicTable in LDF example
VectorLDFExample.ldf ).

Info: If the Interactive Master is active, it will automatically filter any schedule table
commands called by CAPL.

10.7 How to log and replay LIN traffic

Log You can log LIN traffic by activating the connection to the Logging block in the
measurementt setup. Double-click this block to open its configuration dialog.
measuremen
This website stores data such as
cookies to enable essential site
Analyze To analyze a logging file offline, use the offline mode (main menu Mode|Offline
Mode|Offline)) and
functionality, as well as marketing,
configure the CANwin block in measurement
measurement setup (using shortcut menu option
personalization, and analytics. You
Configuration…)) to use your logging file.
Configuration…
may change your settings at any time
or accept the default settings.
Replay Alternatively you replay
replay a log file by inserting an
and
d configuring
configuring a LIN Replay
Replay block in
the send branch of the measurement setup.
Privacy Policy
Further Information: Please see the LIN Main demo for an example of how to
Marketing configure the LIN Replay block.
Personalization

Analytics

Save Accept All


- 94 - Version 7.5 © Vector Informatik GmbH

User Manual LIN

10.8 How to view LIN signals

Data window To view frame signals numerically, either open an existing Data window (View|Data
( View|Data))
or create a new one in the measurement setup (View|Measur
( View|Measurement
ement Setup).
Setup). You can
then add signals to this window in one of the following ways:

 Via context menu shortcut Add signals…


 Per drag & drop from the Symbol Explorer (View|Symbol
(View|Symbol Explorer)
 Per drag & drop from the Trace window (View|Trace
(View|Trace).
).

Graphics window To view frame signals graphically, either open an existing Graphic window
(View|Graphics
View|Graphics)) or create a new one in the measurement
measurement setup
(View|Measurement Setup).
Setup). You can then add signals in the same way as for the
Data window.

Panels Signals can also be viewed by creating


cr eating your own panels using the Panel Designer
(File||Open Panel Designer), which can also be started from the main toolbar
utility (File
.
Here is an example.

1. Drag and Drop the Textbox from the Toolbox to an opened panel.
2. Select a LIN
LIN signal
signal to be displayed via Symbol in the Properties window.

3. Now save your panel (File|Save Panel).


Panel).

4. With the button of the toolbar you can add the created panel to your
CANalyzer configuration
configuration..
After that the panel
panel will be displayed
displayed on the currently active desktop.
desktop.
After measurement
measurement start it is now possible
possible to view the
the signal’s value
value using the
Textbox.

10.9 How to manipulate LIN signals

10.9.1
This website Using
stores the as
data such CAPL function output()
cookies to enable essential site
functionality,
Update as well as marketing,
multiple You can update signals using the CAPL function output. Using this method, you can
personalization, and
frame signals analytics. You
update multiple frame signals simultaneously.
simultaneously. To try out this method, add new event
may change your settings at anyhandlers
time for keys <+> and <-> to your CAPL program created in 10.6.2 with the
or accept the default settings. following code:

Privacy Policy on key ’+’


{
Marketing
linmessage Motor1_Control myframe;
Personalization int val;
Analytics val=myframe.Motor1_Speed;
myframe.Motor1_Speed =val+1;
Save Accept All output(myframe);
}
© Vector Informatik GmbH Version 7.5 - 95 -

LIN User Manual

on key ’-’
{
linmessage Motor1_Control myframe;
int val;
val=myframe.Motor1_Speed;
myframe.Motor1_Speed =val-1;
output(myframe);
}

Now save and recompile your CAPL program and start the measurement again. With
keys <+> and <-> you should be able to increment and decrement the signal’s value.

10.9.2 Using the Interactive Gene


Generator
rator Block

1. Create a LIN con


configuration,
figuration, by following the steps described in chapter
chapter 10.3 and
10.5..
10.5
2. In the send branch of the measurement setup (View|Measurement Setup)
Setup) insert
an Interactive Generator using the context menu shortcut.

3. Open the Interactive Generator e.g. per


per double-click
double-click
4. To up
update
date the
the sign
signals
als of a LIN frame, sim
simply
ply press
press [New] and insert a LIN frame
e.g. Motor1_Control.
Motor1_Control.
5. During the measureme
measurement
nt you can now interactive
interactive manipulate
manipulate this frame’s
frame’s signal
values e.g. Motor1_Speed using edit boxes in the bottom half of the dialog.
6. Alternatively, you can connect
connect the signal
signal to a Waveform generator
generator using
using the
button [Define] in the column Waveform generation.
generation.

Info: You can also use the Interactive Generator to interactively send LIN frames. For
example instead of simulating a node as described in 10.5.
10.5.
For more information about the Interactive Generator please see the online help.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


- 96 - Version 7.5 © Vector Informatik GmbH

User Manual MOST

11 MOST

In this chapter you find the


t he following information:

11.1 Preliminary note page 98


11.2 MOST database: Function catalog page 98
11.3 How to create a CANalyzer.MOST configuration page 98
11.4 How to analyze a MOST network page 99
11.5 How to stimulate a MOST system page 100
11.6 How to log and replay MOST data traffic page 100
11.7 Using CAPL page 101
Program-controlle
Program-controlled
d sending
Program-controlled
Program-controlled receiving

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 97 -

MOST User Manual

11.1 Preliminary note

Introduction MOST® (Media Oriented Systems Transport)


Transport) is used to transmit audio, video, and
control data via fiber optic cables. CANalyzer.MOST supports the speedgrades
MOST25, MOST50 and MOST150.
This getting-started guide will help you create your first CANalyzer.MOST
configuration.. Through a series of how-tos you will also be guided through the most
configuration
commonly needed MOST features.

Further Information: Please see the online help for further information about
CANalyzer.MOST features and topics.
Configuration examples for MOST demonstrating most of CANalyzer.MOST’s
CANalyzer.MOST’s
features can be found in the demo sub-directory: DEMO_MOST_CL

11.2 MOST database: Function catalog

Function catalogs We highly recommend, that you use a MOST function catalog for development,
analysis, and testing of MOST networks. The MOST function catalog that can be
used for CANalyzer is in the form of an XML file whose format is specified by the
MOST Cooperation.
Cooperation.
This function catalog is usually created by the OEM and provided to all parties
involved in the project.
If you do not yet have a function catalog in XML forma
format,
t, contact your OEM. For
members of the MOST Cooperation, a function catalog editor is available for
download on the MOST Cooperation intranet. It can be used to create new function
catalogs. In addition, example catalogs of standard function blocks are available on
the intranet.

Further Information: Example catalogs can be found in the


t he MOST subdirectories for
demos, e.g.
..\Program Files\CANwin\Demo_MOST_CL\MOSTMainDemo\CANdb.

This website stores data such as


cookies 11.3
to enableHow
essential
tosite
create a CANalyzer.MOST configuration
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at anyTo time
create a MOST configuration, simply follow these steps:
or accept the default settings.
1. Create a new configuration using File|New Configuration….
Configuration….
2. Select the MOST, MOST50 or MOST150 template – dependent on the
Privacy Policy speedgrade of your MOST system.

Marketing 3. Select the required number of MOST channels


(menu Configuration
Configuration|Options|Channe
|Options|Channell Usage
Usage)) .
Personalization
Info: In the case of MOST150 and MOST50, for technical reasons Vector
Analytics strongly recommends placing the node and the spy of a connected Optolyzer on
separate channels. This is already preconfigured accordingly in the MOST150
Save Accept All and MOST50 templates.

4. Select the hardware to be used (menu Configuration|Ne


Configuration|Network
twork Hardware…)
Hardware…)
- 98 - Version 7.5 © Vector Informatik GmbH

User Manual MOST

Info about MOST150 and MOST50: Enter the IP address of the Optolyzer on the
Interface page. (If it is already connected, you can determine its IP address at
the push of a button). In addition, select the network adapter to which the
Optolyzer is connected.

5. Configure th
the
e hardwa
hardwarere settings, su
such
ch as hardware
hardware mode,
mode, node addresses, or
or
additional services for each channel.
6. Add a function catalog via File|Assign Database as a database.
database.
7. Save your coconfiguration
nfiguration in a directo
directory
ry of your choice.
choice. As a result, you can
can reload
all your settings at any time.

11.4 How to analyze a MOST network

Trace window Using the configuration created in Chapter 11.3,


11.3, you can now push the start button in
the main toolbar to monitor the MOST data traffic in the Trace window (View|Trace
( View|Trace
menu).
The Trace window displays not only the valid MOST messages but all types of MOST
bus events and errors.

Further Information: A complete list of all MOST events and errors can be found in
the CAPL online help for MOST.

If the Trace window is paused, you can expand a MOST message to see how the
parameters of the message are defined in the function catalog. Using the
configuration dialog, you can add additional MOST-specific columns to the Trace
window.

MOST analysis For MOST there is a set of analysis windows that provide a quick overview of the
windows structure and status of the connected MOST system, without significant configuration
effort.

Displays the current status of the MOST Ring and the main
MOST Status
settings of the connected hardwa
hardwarere interface.

This website stores data such asMOST System Displays the monitored structure of the MOST ring and allows a
cookies to enable essential site Viewer ring scan when the bypass is open.
functionality, as well as marketing,
Displays the current assignment of the synchronous channels.
personalization, and analytics. You
MOST Audio Through selection of a connection label followed by demute
demute,,
may change your settings at any time normal audio channels can be listened to with headphones at the
Routing
or accept the default settings. MOST interface.
Displays the content of the registry based on the monitored ring
MOST Registry
Privacy Policy scans.

MOST FBlock Displays all properties of the applications transmitted via the bus.
Marketing
Monitor
Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 99 -

MOST User Manual

Info: If these windows do not show any communication or information regarding the
connected MOST system, use the status window to check the following:
 Whethe
Whetherr the
the ring
ring is opera
operatin
ting
g( lig
light
ht on).
on).
 Whetherr the rin
Whethe ring
g is in
in a s
stab
table
le con
condit
dition
ion ( lock).
lock).
If little is known about the system structure, you can also initiate a ring scan via the
context menu of the Status window. While this has an active effect on your system,
the subsequent communication
communication usually ensures that the analysis windows will be
filled.

Info: If some functions of the windows, such as Scan or Get-Property are


deactivated or do not produce any results, check whether the node mode of the
MOST
MOS T interface
interface is ac
active
tive iin
n the statu
status
s win
window,
dow, i.e., the bypas
bypass
s is open
open ( ).

Further Information: Chapter 1 describes a set of analysis windows that function


analogously
analogously for MOST if, for example, MOST signals are inserted into the Data
window.

11.5 How to stimulate a MOST system

Interactive Generator The Interactive Generator block MOST (IG MOST) offers the fastest way to send
block MOST MOST messages or packets. The configuration user interface for entry of messages
can be opened via the View|IG MOST menu.

Info: If the View menu does not offer IG MOST, this means that the configuration
does not contain such a generator block. To insert a new block, the measurement
must be stopped and the IG MOST must be inserted into transmit branch of the
measurement setup as a block.

Stress window The Stress window offers various options for stimulating the MOST system.
The configuration user interface for selecting and setting the stress mode can be
This website stores data such asopened via the View|MOST Stress menu.
cookies to enable essential site MOST messages or packets can then be sent cyclically in order to stress the MOST
functionality, as well as marketing,
system. In addition, unlock cycles or ring
r ing interruption phases can be created.
personalization, and analytics. You
may change your settings at any time
or accept the default
11.6 How settings.
to log and replay MOST data traffic

Privacy Logging
Policy You can log MOST data traffic by activating the connection to the Logging block in the
measurement setup (View|Measurement
(View|Measurement Setup menu).
Marketing
With a double-click on the Logging block you can open the configuration dialog.
Personalization
Offline analysis To analyze a log file offline, use offline mode ((Mode|To
Mode|To Offline menu) and configure
Analytics the block in the measurement setup (Configuration…
(Configuration… command in shortcut menu).
Replay Alternatively, you can
can replay a logging
logging file to a real MOST ring by inserting and
and
Save Accept All
configuring a MOST replay block in the transmit
tr ansmit branch of the measurement setup
(View|Measurement Setup).
Setup).
- 100 - Version 7.5 © Vector Informatik GmbH

User Manual MOST

11.7 Using CAPL

CAPL programs Alternatively, CAPL nodes can be used to se


send
nd messages
messages or packets.
As preparation a network node
node has to be inserted in the transmit branch and
and a CAPL
file has to be assigned to this node.

11.7.1 Program-controlled s
sending
ending

Example: Sending a message on keyboard hit:

on key ’m’
{
// channel, destination address, message specification,
// instance id
mostAmsOutput(1, 0x100,”NetBlock.DeviceInfo.Get(0x00)”,
0x00);
}

Info: It would also be possible to achieve this exact behavior through suitable
configuration
configuration with the IG MOST.
The MOST input assistance helps you when entering strings for message definition.
To start this wizard, press <CTRL>+<M> in the CAPL Browser.

Example: Sending a MOST Package (MDP) on asynchronous channel:

on key ’p’
{
BYTE pktdata[1014] = { 1, 2, 3, 4, 5, 6, 7 }
This website stores data such as // channel, destination address, length, packet data
cookies to enable essential site OutputMostPkt(1, 0x101, 7, pktdata);
functionality, as well as marketing,
}
personalization, and analytics. You
may change your settings at any time
or accept the default settings.
Example: Sending a MOST Ethernet Package (MEP) – only available with
MOST150:
Privacy Policy
on key ’e’
Marketing {
Personalization BYTE pktdata[1506] = { 1, 2, 3, 4, 5, 6, 7 }
// channel, destination MAC address, length, packet data
Analytics
outputEthPkt(1, 0x123456, 7, pktdata);
}
Save Accept All
© Vector Informatik GmbH Version 7.5 - 101 -

MOST User Manual

11.7.2 Program-controlled rreceiving


eceiving

Example: Receiving a AMS message:

on mostAMSMessage NetBlock.DeviceInfo.Get
{
// report message variable
mostAmsMessage NetBlock.DeviceInfo.Status msg;
// initialize report message
// (e.g. with source address of the sender of DeviceInfo.Get
mostPrepareReport(this, msg);
// user specific code to fill parameters of the message
// ...
// send message
output(msg);
}

Example: Receiving a MOST Package (MDP):

OnMostPkt(long pktdatalen)
{
BYTE buffer[1100];
MostPktGetData(buffer, pktdatalen);
// user specific code to analyze parameters of the packet
// ...
}

This website stores data such asExample: Receiving a MOST Ethernet Package (MEP) – only available with
cookies to enable essential site MOST150:
functionality, as well as marketing,
personalization, and analytics. You
OnMostEthPkt(long pktDataLen)
may change your settings at any time
or accept the default settings. {
BYTE buffer[1506];
MostEthPktGetData (buffer, pktdatalen);
Privacy Policy // user specific code to analyze parameters of the ethernet
// packet
Marketing
// ...
Personalization }
Analytics

Save Accept All


- 102 - Version 7.5 © Vector Informatik GmbH

User Manual FlexRay

12 FlexRay

In this chapter you find the


t he following information:

12.1 Preliminary note page 104


12.2 How to create a FlexRay database page 104
12.3 How to create a CANalyzer.FlexRay configuration page 105
12.4 How to analyze a FlexRay network page 105
12.5 How to log and replay FlexRay traffic page 106
12.6 How to view FlexRay signals page 106
12.7 How to manipulate FlexRay signals page 107
Using CAPL functions FRUpdateSta
FRUpdateStatFrame/FRSen
tFrame/FRSendDynFrame/FRU
dDynFrame/FRUpdatePDU
pdatePDU
Using the FlexRay Frame Panel or FlexRay PDU Panel

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 103 -

FlexRay User Manual

12.1 Preliminary note

Introduction FlexRay is a deterministic and optionally redundant communi


communication
cation system for inter-
connecting ECUs. CANalyzer.FlexRay supports the FlexRay standard in the version
2.1.
This getting-started guide will help you create your first CANalyzer.FlexRay
configuration.. Through a series of how-tos you will also be guided through the most
configuration
commonly needed FlexRay features.

Further Information: Please see the online help for further information about
CANalyzer.FlexRay features and topics.
Configuration
Configuration examples for FlexRay demonstrating most of CANalyzer.FlexRay’s
CANalyzer.FlexRay’s
features can be found in the demo sub-directory: DEMO_FlexRay_CL

12.2 How to create a FlexRay database

FlexRay database Although not


not required, it is h
highly
ighly recomm
recommended
ended that yo
you
u use a FlexRay
FlexRay database
when developing,
developing, analyzing or testing FlexRay networks. The FlexRay database is

described
files as a 1.1.5a,
in version FIBEX 1.2.0,
database file using
1.2.0a, 2.0.0,the ASAM
2.0.0d, AE 3.0.0
2.0.1, MCD2orstandard
3.1.0. for FIBEX

FIBEX If you do not already have a FIBEX file, you can easily create one using Vector’s
design tool DaVinci Network Designer FlexRay that is provided as a separate
software design tool for FlexRay systems from Vector Informatik GmbH. The creation
of a new file is only recommended for the creation of a new network design.
FIBEX database files are XML files that also can be edited – although this is not
recommended – using a general XML or ASCII editor.

Further Information: An example FIBEX file can be found in the FlexRay demo
subdirectory ..\Demo_FlexRay_CL\FlexRayMainDemo\FIBEX .

This website
CHI stores data such asIf no FIBEX file is available, then optionally a CHI file can be imported that de-scribes
cookies to enable essential site the TDMA parameters for the FlexRay communication controller. But remember that
CHI files are hardware dependent. That means you need an appropriate file
functionality, as well as marketing,
depending
dependi
personalization, and analytics. You ng on your bus interface. For observing the network startup of a FlexRay
cluster
may change your settings at any time or when configuration files are not available, then the bus interface can be set
or accept the default settings. into the so-called asynchronous mode. In this mode no frames can be sent.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


- 104 - Version 7.5 © Vector Informatik GmbH

User Manual FlexRay

12.3 How to create a CANalyzer.FlexRay configuration

To create a FlexRay configuration using a FIBEX file, simply follow these steps:
1. Create a new configuration using File|New Configuration.
Configuration.

2. Select the FlexRay template and press [OK]


[OK]..
3. Open the dialog File|Associate database…
database…,, press the button [Edit] and select a
XML FIBEX file, e.g.
..\Demo_FlexRay_CL\FlexRayMainDemo\FIBEX\FlexNodes_V06b.xml .
4. Now press [OK] to close the dialog.
The FlexRay network communication is now configured according
according to your FIBEX file.

12.4 How to analyze a FlexRay network

Start the Using the configuration created in chapter 12.3,


12.3, you can now press the start button
measurement in the main toolbar to observe the FlexRay traffic in the Trace window (main menu
View|Trace)) when the following prerequisites are fulfilled:
View|Trace

Step 1 Your FlexRay bus can do a startup. This is assured when already two real startup
nodes are present and are working. One or both of these startup nodes can be
simulated by CANalyzer depending on your current bus interface hardware. Therefore
CANalyzer must be configured in a way that it sends one or two startup frames.

Info: If CANalyzer does not send any startup frame, then you need two external
startup nodes. When CANalyzer sends one startup frame, then you need one
external startup node. If the bus interface is able to send two startup frames, then you
need no external startup node.
Any registered frame (of the static segment)
segment) in a CAPL
CAPL program or or Frame Panel
Panel can
be defined to be a startup and/or sync frame. In the Key Slot Configuration
(Configuration
Configuration|Network
|Network Hardware…|FlexRay|Key
Hardware…|FlexRay|Key Slot Config)
Config) you can define up
to two Startup/Sync-Fram
Startup/Sync-Frames.es.
This website stores data such as
cookies to enable essential site
Step 2 The FlexRay TDMA parameters that are defined in your FIBEX or CHI file matches
functionality, as well as marketing,
exactly those definitions that are used to implement the external nodes.
personalization, and analytics. You
may change your settings at any time
or accept the default settings. Info: Sometimes the bus interface hardware is allowed to be used in a so-called
“asynchronous
“asynchronou s mode”. This mode requires just setting the baud rate. It is restricted to
receive frames only.
Privacy Policy
Step 3 Select the connected hardware interface type in a combo box of the Network
Marketing
Hardware Configuration dialog under Configuration|Net
Configuration|Network
work Hardware…|F
Hardware…|FlexRay
lexRay..
Personalization

Analytics Info: Under the tree items Controller or Protocol of the FlexRay hardware
configuration dialog you can choose the database settings to be used for the TDMA
parameters or a manual setting that enables the import of an appropriate CHI file. If
Save Accept All
you choose the database settings, then you can also select the database node from
which the local settings will be used.
© Vector Informatik GmbH Version 7.5 - 105 -

FlexRay User Manual

Step 4 Assure that the bus


bus channe
channell A is connected to the channel
channel A of the bus hardware
hardware
interface. The same applies for channel B. If both channels are exchanged, then any
received frame will be interpreted with a wrong CRC and therefore it will be rejected
or interpreted as an erroneou
erroneouss frame.

Info: When a bus interface channel is used it must be connected to the correct bus
channel. But a network interface channel need not to be connected to a real bus
channel. A cross-connection of the bus interface channel A to the bus interface
channel B is not allowed!

If all prerequisites are fulfilled the bus interface of CANalyzer can synchronize to the
real FlexRay bus when pressing measurement start.

Trace window The Trace window not only displays valid FlexRay frames, but all types of FlexRay
bus events and errors.
By expanding a FlexRay frame, you can view its signals as defined in the FIBEX file
associated to this FlexRay channel. Additiona
Additionall FlexRay specific columns can be
added to the Trace Window using its configuration dialog.

Further Information: For a full list of FlexRay events and errors, please see the
online CAPL help for FlexRay.

Bus Statistics To view the FlexRay bus statistics, open the Bus Statistics window via double-click on
window the Bus Statistics block in the measurement setup or via the menu View|Bus
Statistics..
Statistics

12.5 How to log and replay FlexRay traffic

Log You can log FlexRay traffic by activating the connection to the Logging block in the
measurementt setup. Double-click this block to open its configuration dialog.
measuremen
In the CANalyzer offline mode logging files can be analyzed in non real-time, e.g. by
This website stores data such asusing single stepping.
cookies to enable essential site
functionality,
Replay as well as marketing,
The FlexRay Replay block in the measurement setup replays the FlexRay events and
personalization, and analytics. You
values of logged environment variables.
may change your settings at any time
or accept the default settings.
12.6 How to view FlexRay signals
Privacy Policy
Data window To view frame signals numerically, either open an existing Data window in the
Marketing
measurement setup (View|Data
(View|Data)) or create a new one. You can then add signals to
Personalization this window in one of the following ways:
 Via shortcut menu item Add signals…
Analytics
 (View|Symbol Explorer)
Per drag & drop from the Symbol Explorer (View|Symbol
Save Accept All
 Per drag & drop from the Trace Window.
- 106 - Version 7.5 © Vector Informatik GmbH

User Manual FlexRay

Graphics window To view frame signals graphically, either open an existing Graphic Window in the
measurement setup (View|Graphics
(View|Graphics)) or create a new one. You can then add signals
in the same way as for the Data window.

Panels You can also create your own panels using the Panel Designer utility, which can be
started from the main toolbar .

1. Drag and Drop the Textbox from the Toolbox to an opened panel.
2. Select a FlexRay
FlexRay signal to be displayed via Symbol in the Properties window.

3. Now save your panel (File|Save Panel).


Panel).

4. With the button of the toolbar you can add the created panel to your CANoe
configuration.
After that the panel
panel will be displayed
displayed on the currently active desktop.
desktop.
After measurement
measurement start it is now po
possible
ssible to view th
the
e signal’s value
value using the
Textbox.

12.7 How to manipulate FlexRay signals

Send a FlexRay Manipulating a FlexRay signal means to send a FlexRay frame or a PDU (with valid
Manipulating
frame update bit) that contains this signal. Before you can send a FlexRay frame/PDU you
sometimes have to reserve a buffer inside the communication
communication controller.

Info: You must assure, according to the FlexRay standard that a frame in a specific
slot of the static segment is either sent only by CANalyzer or one other external node.
A static frame of a specific slot must not be sent from CANalyzer and another external
not
node!

Further Information: Whether your bus interface hardware requires reserving send
buffers and how this can be achieved please refer to the online help for the
FRSetSendFrame/FRSetSendPDU function in CAPL. Defining a frame/PDU in the
This website stores data such as Frame Panel or PDU Panel automatically modifies the TX buffer of the FlexRay
cookies to enable essential site hardware.
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 107 -

FlexRay User Manual

12.7.1 Using CAPL function


functions
s
FRUpdateStatFrame/FRSendDy
FRUpdateStatF rame/FRSendDynFrame/FRUpda
nFrame/FRUpdatePDU
tePDU

Update multiple You can update signals using the CAPL functions FRUpdateStatFrame/
frame signals FRSendDynFrame/FRUpdatePDU . Using these methods, you can update multiple
frame signals simultaneously.
simultaneously. To try out this method, add a new event handler for the
key <3> to a CAPL program in the sending path of the measurement setup with the
following code:

variables
{
FRFrame Test14 myframe;
}
on preStart
{
myframe.MsgChannel = %CHANNEL%;
myframe.FR_ChannelMask = 1; // send only on A
myframe.FR_Flags = 0x10; // send event-triggered
FRSetPayloadLengthInByte(myframe, 4);
// register FlexRay frame for sending:
FRSetSendFrame(myframe);
}
on key ’3’
{
byte val;
val = myframe.Count;
myframe.Count
myframe.Count = val+1;
FRUpdateStatFrame(myframe);
}

Now save and recompile your CAPL program and start the measurement again. With
key <3> you can now increment the signal’s value.
This website stores data such as
cookies to enable essential site Info: If the frame that you want to send is a dynamic frame, then you have to use the
functionality, as well as marketing,
function FRSendDynFrame instead of FRUpdateStatFrame ! If you have to send
personalization, and analytics. You
PDUs, then use the function FRUpdatePDU .
may change your settings at any time
or accept the default settings.
12.7.2 Using the FlexRay Frame Panel or FlexRay PDU Panel
Privacy Policy
1. Insert the Fle
FlexRay
xRay Frame Panel or the
the FlexRay PDU Panel into the transmit
Marketing branch of the measurement setup and open it by double-click.
Personalization 2. To upd
update
ate the signals of
of a F
FlexRay frame, simple press [Add Row] and insert a
lexRay frame,
FlexRay frame.
Analytics
3. During the measureme
measurement nt you can now interactive
interactive manipulate
manipulate this frame’s
frame’s payload
payload
area using edit boxes in the bottom half of the dialog.
Save Accept All
- 108 - Version 7.5 © Vector Informatik GmbH

User Manual J1939 and NMEA 2000®

13 J1939 and NMEA 2000®

In this chapter you find the


t he following information:

13.1 Introduction page 110


13.2 Quick start page 110
Create a J1939 database
Create a J1939 configuration
Create communication
communication relationship
relationships
s
Sample configurations
13.3 Use cases page 112
Analyze J1939 networks
Diagnose J1939 networks
Log and replay J1939 data
Trigger and filter J1939 data
Modify J1939 signals

Analyze GNSS data


Simulate a GNSS receiver
Play back GNSS protocol files

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 109 -

J1939 and NMEA 2000® User Manual

13.1 Introduction

®
Introduction The option J1939 contains spezific extension for J1939 and NMEA 2000 .

J1939 SAE J1939 is a CAN-based communication protocol for data exchange between
electronic control units (ECUs) in the commercial vehicle sector. It comes from the
Society of Automotive Engineers (SAE) and works on the physical layer with CAN-
high speed according to ISO11898-2.
Typical properties of J1939 are:
 based on 29-bit CAN identifier
 point-to-point and broadcast communication
 no limitation of the data length to 8 bytes: a transmission of up to 1785 bytes is
possible with transport protocols.
 network management for the management of node addresses and device names
 definition of the parameter group (PG) as data bundle
 definition of the parameter group number (PGN) as identification characteristic
 autonomous priority assignment regardless of the PGN although based on the
autonomous
CAN identifier.

® ®
NMEA 2000 NMEA 2000 is a network specification based on the principles of the SAE J1939
®
definition. NMEA 2000 is used in the navigation area and defines navigation specific
parameter groups. The transport protocol FastPacket is supported too.

®
Note: In this chapter only J1939 and NMEA 2000 specific extensions are described.
The standard functionality is explained in the previous chapters of this manual.

®
Reference: You find more detailed information about J1939 and NMEA 2000 in the
online help in chapter Option CANalyzer.J19
CANalyzer.J1939
39..

13.2stores
This website Quick start
data such as
cookies to enable essential site
functionality, as well as marketing,
13.2.1 and
personalization, Create a J1939
analytics. You datab
databasease
may change your settings at any time
or accept the default
J1939 settings. During development, analysis and test of J1939 networks you should use a J1939
database
database. Different extensions, e.g. the support of J1939 transport protocols, are only
available if a J1939 database is assigned to the network in the simulation setup.
Privacy Policy
If no J1939 database is available, you can create one with the CANdb++ Editor. You
Marketing simply have to define a network attribute ProtocolType of type String
String.. Set the value
to J1939
J1939..
Personalization
Alternatively you can
can use the J1
J1939
939 templa
template
te in the CANdb++ Editor. In this template,
Analytics the attribute ProtocolType and other J1939 specific attributes are already defines.
To use the extended signal view in the trace window as well in the graphic and data
Save Accept All
window, you have to create the signal attribute SigType of type Enumeration in the
database. Have a look at the online help to find out, which values are allowed and
what meaning they have.
- 110 - Version 7.5 © Vector Informatik GmbH

User Manual J1939 and NMEA 2000®

If you use the J1939 template in the CANdb++ Editor, this attribute is already defined
too.

®
Note: The steps to create a NMEA 2000 database are identical to the steps
described above. To use the protocol FastPacket the message attribute SingleFrame
is necessary too.

13.2.2 Create a J1939 configu


configuration
ration

To create a new J1939 configuration, proceed the following steps:


1. Create a configuration via the CANalyzer menu File|New Configuration….
Configuration….
2. Select the J1939 template and activate th
the
e checkbox
checkbox Use Wizard.
Wizard. Close the
dialog with [OK]
[OK]..
3. Press [Database] and load the standard database for J1939 in the directory
Demo_J1939_CN\Databa
Demo_J193 9_CN\Databasese or select an se
self-created
lf-created J1939 database. Next press
[Weiter]..
[Weiter]
4. Add nodes of the list Available nodes to the list Assigned nodes.
nodes. Press
[Weiter]..
[Weiter]
5. Select the CAN channel from list Available channels and add it to the list
Assigned channel.
channel. Press [Weiter]
[Weiter]..
6. With [Fertigstellen] you can finish the creation of the configuration.

The configuration wizard has now added nodes to the network, assigned the
database to the appropriate CAN channel and configured the communication as
defined in the database.
Additionally the trace window is configured for J1
J1939
939 and the
the measurement
measurement setup
contains a J1939 Network Scanner and a J1939 Diagnostic Monitor.

13.2.3 Create communication rrelationships


elationships

This website stores data such as


General To create communication relationships, you have to assign transmit and receive
cookies to enable essential site
messages to a node. In the overview window of the CANdb++ Editor you can flexible
functionality, as well as marketing,
define communication relationships
relationships between the nodes. Easier and pre-configured for
personalization, and analytics. You
J1939 specific demands you can do this also with the J1939 communication matrix
may change your settings at any time
window.
or accept the default settings.

Communication In the J1939 communication matrix the relationships between J1939 parameter
Privacy matrix
Policy groups and network nodes are displayed in the table. A cross marks the connection
between a transmit and a receive node.
Marketing
CANdb++ Editor Here you can create communication relation
relationships
ships between nodes easily by drag and
Personalization
view drop of the messages to the relevant nodes or by copying the messages and pasting
Analytics them into the node.

Save Accept All


© Vector Informatik GmbH Version 7.5 - 111 -

J1939 and NMEA 2000® User Manual

13.2.4 Sample configurations

Note: In order to simplify the initial steps of CANalyzer and to demonstrate the usage
®
of the various functions of J1939 and NMEA 2000 , a few sample configurations are
Windows..
included. You can load these samples directly via the start menu of Windows

13.3 Use cases

13.3.1 Analyze J1939 networ


networks
ks

Analysis When analyzing communication in a J1939 network, CANalyzer supports you with the
following functions:
 Representation
Representation of the transmitted parameter groups in the trace window
 Representation of signal values in the data and graphic window
 Recording of the bus traffic in log files
 Representation of nodes in the network

Trace window The trace window displays the message traffic with the partial use of symbolic names.
You can configure it so that additional J1939-specific columns are displayed, e.g.
PGN, Src, Dest and Prio.
Furthermore you can highlight special events (parameter groups), use the extended
signal display or filter for special J1939 categories and transport protoco
protocols.
ls. With the
quick find you can easily search for certain information in the trace window.

Data and graphic The data window of the option J1939 has an additional column where the status is
window displayed with a colored indicator. For this the attribute SigType in the database is
used and evaluated.
The graphic window uses this attribute for the extended display too.

Statistic window With the option J1939 you can change the unit of the X-axis of the statistic window.
You can choose the ID range, the PN range or the range of the sender addresses.
This website stores data such as
cookies to enable essential site
J1939
functionality, asNetwork The J1939 Network Scanner displays all active nodes of the network. Network
well as marketing,
Scannerand analytics. You
personalization, management parameter groups and others are evaluated. So the active nodes and
may change your settings at anytheir
timestates are clearly displayed.
or accept the default settings. For selected nodes you can get more detailed information, e.g. the J1939 device
name. You can also send requests for special parameter groups
groups..

Privacy Policy
13.3.2 Diagnose J1939 ne
networks
tworks
Marketing
Personalization
Diagnostic The option J1939 supports you with diagnostic in you network with the J1939
Diagnostic Monitor and the J1939 Memory Access window.
Analytics

J1939 Diagnostic With the J1939 Diagnostic Monitor in the measurement setup you can evaluate the
Save Accept All
Monitor diagnostic messages,
messages, specified in SAE J1939-73, of the network. Diagnostic lamps
indicate the state of the entire network and the individual nodes as well. The active
error codes and their course are displayed for each node.
- 112 - Version 7.5 © Vector Informatik GmbH

User Manual J1939 and NMEA 2000®

Furthermore you can request additional diagnostic messages which help with the
diagnostic
diagnostic of your network.
Additionally you
you can copy the
the displayed data to the the clipboard for further
further
processing or archiving.

J1939 Memory
Access window Withwrite
and the J1939 Memory
memory areas Access
by usingwindow in the
specified measurement
measuremen
diagnostic t setupBesides
messages. you canthe
read out
direct
access to the memory area, you can also use an object-oriented access (manual or
cyclic). You can read data blocks from files or write these block to files. Furthermore
you can execute a Boot-Load process.

J1939 OBD-I/M With the J1939 On-Board Diagnostic Inspection and Maintenance Monitor in the
Monitor measurement setup you can configure diagnostic messages of type DM7 and send
them to ECUs in the network. Interpreted as test commands one ore more tests aare
executed and the test results are sent back with diagnostic messages of type DM8 or
DM30.

13.3.3 Log and replay J193


J1939
9 data

Logging J1939 parameter groups are recorded as normal CAN messages.


There is only a special feature when transport
tr ansport protocol paramete
parameterr groups are
recorded in an ASC logging file. The assembled parameter groups with a DLC > 8 are
written as J1939 parameter groups in the logging file. You can distinguish these lines
from other CAN messages by the identifier J1939
J1939..

Replay CAN messages with an extended CAN identifier from the logging file are replayed as
parameter groups.
J1939 parameter groups with a DLC > 8 contained in the logging file are ignored
when replaying. Only the transport protocol parameter groups are evaluated and from
that a combined parameter group is generated.

13.3.4 Trigger and filter J1939 d


data
ata
This website stores data such as
cookies to enable essential site
Trigger With the trigger block you can define trigger conditions for parameter groups. These
functionality, as well as marketing,
conditions you can insert as symbolic messages.
personalization, and analytics. You
may change your settings at anyIftimeyou select a parameter group from a J1939 database, you can set the sender and
or accept the default settings. receiver address as well as the priority. As an alternative you can insert a raw
message and activate the checkbox J1939
J1939..

Privacy J1939
Policy Message With the extended message filter you can filter messages by their PG or nodes by
Filter their J1939 address.
Marketing
Personalization
J1939 Node Filter With the J1939 Node Filter in the measurement setup you can filter PGs that are sent
and/or received by specific nodes. Thereby you can choose between a pass-through
Analytics
filter and block filter.

Save Accept All


© Vector Informatik GmbH Version 7.5 - 113 -

J1939 and NMEA 2000® User Manual

13.3.5 Modify J1939 s


signals
ignals

Interactive Generator With the interactive generator block (IG) you have J1939 specific columns in addition
Block to the standard columns.
You can insert a parameter groups in the interactive generator block by selecting the
parameter groups in the database.
As an alternative
alternative you can enter
enter a 29-bit CAN ID in
in the column Identifier and add a x,
e.g. F00100x
F00100x. To identify the number as a parameter group number, add a p, e.g.
F001p
F001 p.

CAPL, Panels, You can change signal values with CAPL, Panels or with the signal generator of
Signal generator CANalyzer too.
To send the changed values you have to use the J1939 Interaction Layer.

13.3.6 Analyze GNSS d


data
ata

General With the option J1939 you can display and log GNSS data (GNSS - (Global
Navigation Satellite System)) very easily and clearly. To do this the GNSS Monitor is
available.

GNSS Monitor With the GNSS Monitor you can display GNSS positions graphically and numerically.
The amount of the display data you can control with a message filter.
You can also log the received
r eceived position
positions
s (logging) and synchronize the data with the
trace and graphic window of CANalyzer. This allows a direct assignment of the
displayed data in all windows.

Note: The sample configuration GNSS Monitor demonstrates the usage of the
GNSS Monitor.

13.3.7 Simulate a GNSS receiver


This website stores data such as
cookies to enable essential site
General
functionality, Besides the possibility to analyze GNSS data, you can simulate a GNSS receiver with
as well as marketing,
the option J1939. In doing so you are supported with the GNSS Simulator.
personalization, and analytics. You
may change your settings at any time
GNSS Simulator With the GNSS Simulator you can define a path with the help of a geometric figure
or accept the default settings.
(model) or a position file. This path will be traced by the simulated GNSS receiver
when the simulation is started.
Privacy Policy The generated GNSS positions are transferred cyclically with configurable messages
®
of the NMEA 2000 protocol or the J1939 protocol.
Marketing
Personalization With the following steps you can perform a simple simulation:

Analytics 1. Insert the G


GNSS
NSS Simulator
Simulator via the context menu
menu in the measurement
measurement setup.
2. Before starting the measurement, open the dialog Settings with .
Save Accept All
3. Select the m
model
odel which will be traversed
traversed during the simulation
simulation and set the

parameters appropriately.
appropriately.
- 114 - Version 7.5 © Vector Informatik GmbH

User Manual J1939 and NMEA 2000®

4. If the simula
simulation
tion should start together with the measuremen
measurement,
t, set this with the
checkbox Start on measurement.
measurement.
5. Now start measurement
measurement (and simulation). The GNSS
GNSS Simulators
Simulators starts to
calculate the positions and to transmit the selected parameter
parameter groups cyclically.
6. Watch the simulation
simulation in the
the g
graphic
raphic window.

Note: The sample configuration GNSS Simulator demonstrates the usage of the
GNSS Simulator.

13.3.8 Play back GNSS protoc


protocol
ol files

General In addition to perform a simulation with models, you can do this with protocol files.
Such protocol files you can create with the GNSS Monitor by logging the data during
a simulation. Due to the simple file format (ASCII) you can easily modify position data
and add new positions.
If you play back protocol files with the GNSS Simulator, you can choose between play
back with a specified speed or with a user-defined speed.

Reference: More detailed information to these both methods you can find in the
online help.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 115 -

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


User Manual CANopen

14 CANopen

In this chapter you find the


t he following information:

14.1 Extended features of option CANopen page 118


Trace window
CANopen generator block
CANopen Scanner
Bus configuration
Add-ons
14.2 Databases page 121
14.3 Device configuration with CANsetter page 121
14.4 Sample configurations page 122

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing
Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 117 -

CANopen User Manual

14.1 Extended features of option CANopen

General The option CANalyzer.CANopen lets you analyze, simulate and automatically test
CANopen devices and systems. The standard variant of CANalyzer has been
extended to include the necessary CANopen specific functionalities.

Product componen
components
ts Supplied with the product are:
 CANalyzer extensions (these will be explained in more detail over the course of
this chapter)
 CANeds EDS Editor
CANeds is a tool for creating EDS files in different formats. From a list of
available objects, you can assemble the desired object dictionary. But it is also
possible to read-in the object dictionary of existing devices via the Scan
functionality and automatically generate an EDS.
 CANopen configuration tool CANsetter
CANsetter gives you interactive access to CANopen devices and the ability to
configure these devices.

Activation You can activate the extensions for CANalyzer by loading the CANopen configuration
template.

1. In CANalyzer, choose the menu command File | New configuration ….


….
2. Select the template CANopenTemplate.tcw and close the dialog with [OK]
[OK]..

After creating a CANopen configuration


configuration with th
the
e CANopen configuration
configuration template,
template, the
connected CANopen system can be analyzed.
Special interpretation of the messages for CANopen does not occur until a CANopen
database has been assigned to the configuration (see Databases section).

Note: You will find a more detailed description of the CANalyzer extensions and the
procedure for activating them (without loading the CANopen configuration template)
template)
This website stores data such asin the following.
cookies to enable essential site
functionality, as well as marketing,
„Silent“ installation For the option CANopen a silent installation is possible. For this you have to create an
personalization, and analytics. You
*.ISS response file. To create this file start the installation with the following
may change your settings at anycommand:
time
or accept the default settings.
setup.exe -a -r -f1<Path of ISS directory\setup.iss>
The installation program is set to a recording mode, all settings that are done during
Privacy Policy the installation are saved in the ISS file.
Marketing Finally you can pass this file to the installation program and start the silent installation
with the following command:
Personalization
setup.exe -a -s -f1<Path of ISS directory\setup.iss> -f2<Path
Analytics of logging directory\setup.log>

Save Accept All


- 118 - Version 7.5 © Vector Informatik GmbH

User Manual CANopen

The meaning of the parameters is described here:


 a – administrative installation
installation
 r – recording mode: saves all settings during the installation process
 s – silent installation
 f1 – path and name of the ISS response file (freely selectable)
 f2 – path and name of the log file for installation results (freely selectable)

14.1.1 Trace window

General CANopen specific protocol information is shown to you in the trace window in text
format.

Example:
If an SDO read access to the object 0x1017 is executed, this is indicated in the
Interpretation column by the entry:
[1017,00] Initiate Upload Rq.

Columns The trace window can be extended with these columns:


 Interpretation (shows protocol information in text form)

 Transfer data (shows the net data), and


 Error (displays protocol errors).

To activate these columns in the trace window, perform these steps:


1. In the trace window, open
open the context men
menu
u by right clicking in the
the window,
window, and
choose the Configuration… menu command.
2. Select the Columns page in the Trace Window Configuration dialog.
3. Select the CANopen entry in the combination box: Available fields.
fields.
4. Press the [Take over std. columns] button and close the dialog with [OK]
[OK]..
This website stores data such as
cookies to enable essential site
Highlight
functionality, CANopen
as well You can highlight CANopen messages depending on different categories, e.g. PDO
as marketing,
messages and SDO. This allows a fast overview of the current messages on the bus.
personalization, and analytics. You
may change your settings at any time
or accept the default
14.1.2 settings. generato
CANopen generatorr block

Privacy General
Policy The CANopen generator block lets you create message sequences conveniently.
From a list of CANopen specific message template
templates,
s, you can select and configure
Marketing
messages and combine them into a sequence. If the CANalyzer configuration already
Personalization has a database assignment,
assignment, you can select messages described there.

Analytics Now you can send the created message sequence either once or periodically.

Save Use the following steps to add a CANopen generator block:


Accept All
1. Right-click the bus line in the simu
simulation
lation setu
setup
p to open
open its context
context menu.
2. Choose item Insert interactive generator block CANopen.
CANopen.
© Vector Informatik GmbH Version 7.5 - 119 -

CANopen User Manual

3. Open the CANopen generator block by double-clicking


double-cli cking the new CANopen IG
symbol in the simulation setup.

14.1.3 CANopen Scann


Scanner
er

General The CANopen Scanner evaluates the CAN messages and displays the active
CANopen nodes
nodes in a list. Additional information is also shown such as state, device
name or master properties.
Network nodes can be detected easily and quickly using the CANopen Scanner when
they communicate with one another (SDO or Error Control). This does not have any
effects on the bus traffic.

Follow these steps to add a CANopen Scanner


Scanner to your configuration:
1. Open the context men
menu
u of a function blo
block
ck in the measurement
measurement setup by right-
clicking it.
2. Choose the menu item Insert CANopen Scanner.
3. Open the CANopen Scanner by double-clicking
double-cli cking the new CO Scanner symbol in
the measurement setup.

14.1.4 Bus configuration

General In the Network Hardware Configuration dialog you can select one of the baud rates
defined under CANopen. The baud rate and associated values for the bus timing
registers are then set automatically.

1. In CANalyzer choose the menu command Configuration | Network


Hardware…..
Hardware…
2. Select the item CAN 1 | CANopen settings in the tree view.
3. Set the desired baud
baud rate and close the dialog
dialog with [OK]
[OK]..

This website stores data such as


cookies 14.1.5
to enableAdd-ons
essential site
functionality, as well as marketing,
personalization, and analytics. You
Additional For option CANopen additional installation setups are available in the download
may change your settings at any time
installations center of the Vector homepage. The setups contain a database and if available a
or accept the default settings.
sample configuration
configuration as well as further modules.
For the following application profiles add-ons are available for download:
Privacy Policy  Application profile
profile for building
building door contro
controll (CiA416)
 Application profile
profile for Lift Control Systems
Systems (CiA417)
Marketing
 Device profile for Battery Modules (CiA418)
Personalization
 Device profile for Battery Chargers (CiA419)
Analytics
 Application profile
profile for Special-purpose
Special-purpose Car Add-on
Add-on Devices (CiA447)
(CiA447)
 FireCAN
Save Accept All
- 120 - Version 7.5 © Vector Informatik GmbH

User Manual CANopen

14.2 Databases

General In CANopen, standardized messages such as SDO, Heartbeat or Emergency


messages are contained the standard CANopen database. This database is included
with the product and is stored in the Exec32 subdirectory of the installation directory.
The database does not contain any PDO descriptions, since they are created as part
of the network creation process using CANsetter.

To create a project-specific database describing all messages existing in the system,


follow these steps:
1. Create the network structure using CANsetter:
 Add network nodes
nodes
 Assign EDS files to the
the network nodes
nodes
2. Configure the PDOs (e.g. via PDO list).
3. Save the project.

Note: When saving, CANsetter automatically creates a database (PRJDB.dbc


(PRJDB.dbc)) in the
project directory. A configuration file is also created for each device (may choose
either DCF or XCD format).

14.3 Device configuration with CANsetter

CANsetter CANsetter represents the interface to the CANopen devices connected


connected to the bus. It
supports you throughout development
development and analysis of CANopen devices by:
 Generating a project-specific database (see Databases section)
 Generating device-specific
device-specific configuration files (DCF/XDC files)
 Configuring network nodes (e.g. PDOs, Heartbeat)
 Downloading configuration data
This website stores data such as Providing interactive access to the object directories of connected devices
cookies to enable essential site
functionality,
CANeds as well as marketing,
The EDS editor CANeds that is integrated in CANsetter lets you create EDS files
personalization, and analytics. You
easily and quickly. From a list of available objects you can put together an object
may change your settings at anydictionary
time by drag-and-dro
drag-and-drop p operation.
or accept the default settings.

Reference: For further information on using CANsetter and CANeds please refer to
Privacy Policy the relevant manual or online help.

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 121 -

CANopen User Manual

14.4 Sample configurations

Samples With the option CANopen for CANalyzer, you get several sample configurations
configurations to get
used with the option CANopen and its various functions.
You can start these sample configurations directly via the Windows start menu.

Reference: You can find more detailed information how to use the sample
configurations in the online help and in the configuration comments in CANalyzer.

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


- 122 - Version 7.5 © Vector Informatik GmbH

User Manual IP

15 IP

In this chapter you find the


t he following information:

15.1 Introduction page 124


Check Installation
15.2 Security advice for using CANalyzer.IP page 125
Exclusive use of an Ethernet interface
15.3 Use cases page 126
Analyze Ethernet
Ethernet networks
Filter Ethernet data
Stimulate Ethernet packets
Run Remote CAN analysis
15.4 Quick start page 127
Analyze network
network traffic
Evaluate signals
Run Remote CAN analysis
Sample configurations

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 123 -

IP User Manual

15.1 Introduction

General The option IP for CANalyzer can be used in the field of embedded Ethernet
applications.
applications. For this several extensions of the standard CANalyzer are available.

Embedded Ethernet For embedded Ethernet networks, you can:


 use Ethernet communication
communication
 stimulate Ethernet packets with the Ethernet Packet Builder
 configure several Ethernet channels
channels and use them together with CAN or other
bus systems
 evaluate Ethernet packets and its protocols in the trace window
 define signals in the CANdb++ Editor and analyze them with self-configurable
signal protocols or with panels
 use the graphic and data window as well as the message filter with signal
protocols
 log Ethernet bus traffic in ASC and BLF logging format, and replay log-files in
CANalyzer offline mode or with the replay block

Note: In which cases you can use the different extensions is described in detail in the
further course of this user manual or in the online help system.

Note: This product includes software developed by the University of California,


Berkeley and its contributors.

15.1.1 Check Installation

Check installation Check to make sure the program is functionally capable by means of one of the
sample configurations in the EthernetLoopTest folder of your application
application data.
These configurations utilize a loopback connection.
This website stores data such as
cookies to enable essential site In case you use two Ethernet interfaces connect them together with a crossover cable
functionality, as well as marketing,
directly and use the configuratio
configuration
n EthernetLoopTe
EthernetLoopTest_2Ch_CL.cfg.
st_2Ch_CL.cfg. If you use only one
Ethernet interface, connect a loopback cable or a loopback adapter (at 10 or
personalization, and analytics. You
100 Mbps) to it and use configuration EthernetLoopTest_1Ch_CL.cfg
EthernetLoopTest_1Ch_CL.cfg..
may change your settings at any time
or accept the default settings. Configure the Ethernet interfaces in the Network Hardware Configuration dialog of
CANalyzer.IP. Afterwards start the measurement of the sample configuration.
CANalyzer.IP. configuration. Press
[Send] in the Ethernet Packet Builder and check if the trace window shows two
Privacy Policy packets with direction Rx and Tx.
Tx.
If you use your CANalyzer.IP for Remote CAN Analysis, install the CAN-(W)LAN
Marketing
gateway first according to the installation instructions of the manufacturer.
Personalization
Then configure the CAN-(W)LAN gateway in the Vector Hardware Config dialog
Analytics (Windows Control Panel | Vector Hardware).
Hardware). The installation and the connection to
the CAN-(W)LAN gateway is correct, if a short description is displayed for the module
instead of Remote Bus 1 or Remote Bus 2. 2.
Save Accept All
- 124 - Version 7.5 © Vector Informatik GmbH

User Manual IP

15.2 Security advice for using CANalyzer.IP

Caution: Please take care if your computer is connected to a network. It is possible


that you send packets to the network that may cause problems.

15.2.1 Exclusive use of an Ether


Ethernet
net interface

CANalyzer.IP.. That
You can configure your Ethernet interface for an exclusive use by CANalyzer.IP
prevents Windows and other applications using this interface and influencing a
connected embedded network. Vice versa an embedded network cannot influence
your Windows system.
With the NetIsolator you can configure this setting easily and simplify the use of an
Ethernet interface, which is connected e.g. to an office network sometime and to an
embedded network another time.

Vector
NetIsolator Vector CANalyzer.IP
This website stores data such as
cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics Windows system

Figure 46 - Using the NetIsolator for exclusive interface use


Save Accept All
© Vector Informatik GmbH Version 7.5 - 125 -

IP User Manual

15.3 Use cases

General In this chapter some use cases are described to illustrate how you can use the
different extensions of the option IP.

15.3.1 Analyze Etherne


Ethernett networks

General You can analyze Ethernet packets and messages on the bus with the trace window
as well as the data and graphic window of CANalyzer.IP
CANalyzer.IP..

Trace window The trace window shows the Ethernet packets which are received at the Ethernet port
of your computer, independent
independent if your computer is the receiver of the packet or not.

Note: If your network system has included a switch, the configuration of it influences
how packets are directed to your computer. So it is possible that you don't see all
packets in the trace window but only these which are send directly to your computer.

Data and graphic You can analyze signals by using a configured signal protocol and a database (*.dbc).
window The signals are shown in the data and the graphic window of CANalyzer.IP
CANalyzer.IP..

Panels Via panels and environment variables you can also analyze your network, if you don't
have a signal protocol DLL or don't want to use one.

15.3.2 Filter Ethernet data

IP Filter With the IP Filter in the measurement setup you can filter Ethernet packets by using
addresses and protocols as filter conditions. If you have more complex use cases you
can use conditions with protocol fields. You can use the
t he IP filter as a pass-through
filter and block filter.

This website stores data such as


15.3.3 Stimulate Ethernet pa
cookies to enable essential site
packets
ckets
functionality, as well as marketing,
personalization,
General and analytics. YouYou can build Ethernet packets with the included Ethernet Packet Builder of
may change your settings at anyCANalyzer.IP
time and send them to your network. You can build a list with different
or accept the default settings. Ethernet packets, which should be send, and configure each of them with its own
data.

Privacy Policy
15.3.4 Run Remote CAN analysis
Marketing

Personalization
General With CANalyzer.IP you can access a CAN network with remote access via a CAN-
(W)LAN gateway, using the complete functionality as if the CAN network is locally
Analytics connected.
You have to create and configure a CAN network in CANalyzer, and a CAN-(W)LAN
Save Accept All
gateway which is used to access the remote CAN network in the Vector Hardware
Config dialog (Windows
(Windows Control Panel | Vector Hardware).
Hardware).
You can use several CAN-(W)LAN gateways, the configuration dep
depends
ends on the
module itself. For details see the manual of the module.

- 126 - Version 7.5 © Vector Informatik GmbH

User Manual IP

Note: Due the WLAN connection


connection,, time delays during the packet transmission
t ransmission are
possible. The time stamps are generated on the CAN-(W)LAN gateway directly.

15.4 Quick start

15.4.1 Analyze network tr


traffic
affic

network
Analyze network To analyze an Ethernet network, do the following steps to create a configuration and
traffic use it:
1. Start CANalyzer.IP.
CANalyzer.IP.
2. Create a new configuration with File | New ….
….
3. Use the template Ethernet
Ethernet.. An Ethernet channel and the trace window are pre-
configured.
4. Select your Ethernet
Ethernet interface in the dialog Network Hardware Configuration
that you can open via the menu Configuration | Network Hardware …. ….
5. Start measu
measurement
rement and
and have
have a look at the trace window.

15.4.2 Evaluate signals

Evaluate signals If you want to evaluate signals with a signal protocol, you have to set up the following
steps:
1. Select the signal p
protocol
rotocol of the Ethe
Ethernet
rnet channel
channel in the dialog
dialog Network
Hardware Configuration.
Configuration. There you have to set the DLL (Dynamic Link Library)
that should evaluate the signals.

Note: The DLL must be created and configured by yourself. The Visual Studio
2005 project is delivered with the option and an example DLL is contained in the
sample configuration EthernetSystemDemo .

This website stores data such as2. Add a database and set the bus type to Ethernet
Ethernet.. Alternatively use the Ethernet
cookies to enable essential site template in the CANdb++ Editor.
functionality, as well as marketing,
3. Add messages and signals to this database.
personalization, and analytics. You
may change your settings at any4.timeAdd signals from the database to data and graphic window. Use the message
or accept the default settings. filter for evaluating your network signals too.

Privacy 15.4.3
Policy Run Remote CAN analysis

Marketing
Remote CAN To access a remote CAN network via a CAN-(W)LAN gateway, follow the next steps:
Personalization
analysis

Analytics 1. Configure a
and
nd conn
connect
ect your CAN-(W)L
CAN-(W)LANAN gateway to the CAN network that it is
accessible from the computer on which CANalyzer.IP is running. Have a look at
the manual of the adapter to find more details about its configuration.
Save Accept All
2. Create a (W)LAN conn
connection
ection between
between tthe
he CAN-(W)LAN
CAN-(W)LAN gateway and the the
windows system.
© Vector Informatik GmbH Version 7.5 - 127 -

IP User Manual

3. Open the Vector Hardware Config dialog via the control panel of Windows
(menu entry Vector Hardware)
Hardware)
4. Select the entry Remote Bus 1 or Remote Bus 2 at the menu item Hardware
and insert the necessary parameters for the connection:
 Protocol:: select the appropriate device protocol
Protocol
 Transport : select the appropriate transport protocol
Transport:
 IP Address:set
Address:set the IP address of the CAN-(W)LAN gateway
 Port Number: set the used port number

Note: More information how to connect CAN channels you can find in the online
help of the Vector Hardware Config dialog.

5. In CANalyzer create a new configuration via the menu File | New


Configuration…..
Configuration…
6. Open the menu Configuration | Options and switch to page Channel Usage.Usage.
Set the number of CAN channels that you want to use (e.g. 1 for a single CAN
channel).
7. Start measurement.
measurement.

Note: Certain capabilities regarding the operation modes during the measurement
may vary depending on the used device, hardware and/or firmware versions. For
details have a look at the manual of the device.

15.4.4 Sample configurations

With the option IP you get several sample configurations. Use these configuration
configurations
s to
do the first steps with the option IP and get used with the different extensions.
You can start the samples directly via the Windows start menu.

Reference: More detailed information you can find in the online help system.
This website stores data such as
cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


- 128 - Version 7.5 © Vector Informatik GmbH

User Manual J1587

16 J1587

In this chapter you find the


t he following information:

16.1 Introduction page 130


16.2 Prerequisites page 130
Configure J1708 channels
Define J1587 parameters in CANdb++ Editor
16.3 Functionality page 131
Parameter Monitor
J1587 Diagnostic Monitor
Trace window
Data and graphic window
Interactive Generator Block
Filter
CAPL

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 129 -

J1587 User Manual

16.1 Introduction

Introduction The option J1587 offers extensive capabilities for analyzing distributed real-time
control systems with J1587.
With the option J1587, you are able to
 receive,
 display,
 analyze, and
 send J1587 messages.

Hardware Interfaces To connect to J1587 interface the following network interfaces and data loggers are
available.

Network interface/Data
interface/ Data logger Bus transceiver
 CANcardXL  1708cab 65176opto
 CANcardXLe
 CANcaseXL  1708piggy 65176opto

 CANcaseXL log
 CANboardXL
 CANboardXL PCIe
 CANboardXL pxi
 VN8900

Sample In order to simplify the initial steps of the option J1587, a few sample configurations
configurations are included. These samples should demonstrate the use of various functions of the
option. You can start them directly via the Windows start menu.

16.2 Prerequisites
This website stores data such as
cookies 16.2.1
to enableConfigure
essential siteJ1708 ch channels
annels
functionality, as well as marketing,
personalization, and analytics. You
Overview
may change your settings at anyTo use a J1708 channel with CANalyzer the channel must be configured using the
time
or accept the default settings. Vector Hardware dialog. This application can be started from the Windows Control
Panel.

Privacy Policy 1. With Edit | Application add an application with the name CANalyzer if it does not
already exist.
Marketing
2. Open th
the
e conte
context
xt menu with a right click and choose
choose the
the entry Application J1708
Personalization channels..
channels
Analytics 3. Enter the number of chan
channels
nels you
you want
want to use.
4. Open the tree node CANcardXL (node Hardware
Hardware)) and select the entry
Save Accept All J1708cab 65176opto.
65176opto.
5. Open the context menu and assign the application,
application , you defined in step 1, to the
CANcardXL..
CANcardXL
- 130 - Version 7.5 © Vector Informatik GmbH

User Manual J1587

If you use another network interface or a data logger for configuration of the network,
the steps are analog to the steps described above.

CANalyzer To use J1587 with CANalyzer the number of J1708 channels must be configured. The
setting is available under Configuration | Options… on page Channel Usage.
Usage.

Configuration | Network Hardware… shows the available J1708 channels.

16.2.2 Define J1587 parameter


parameters
s in CANdb++ Editor

Overview The parameter identifier (PID) in a CANdb++ database is made up of the PID and the
page of the PID. CANalyzer shows the page and the PID as one value.

Example:
PID 84 (5416) – PID 84 of page 1
PID 340(15416) – PID 84 of page 2

J1587 parameter A J1587 parameter


parameter can b
be
e defined in the CANdb++ Editor. A J1587 parameter is
equivalent to a CAN message in the CANdb++ Editor, the CAN identifier is equivalent
to the PID.
In the context menu of a J1587 parameter (or a CAN message) the menu item J1587
Properties can be selected. In this dialog the PID and the page can be edited
separately.

Message list The message list contains some additional column


columns
s for J1587:
 J1587 Type
This column shows the type of the parameter.
 J1587 PID
This column shows the PID without page.
 J1587 Page
This column shows the page of the PID.
This website stores data such as
cookies to enable essential site
functionality, as well as marketing,
16.3 Functionality
personalization, and analytics. You
may change your settings at any time
or accept the default
16.3.1 settings. Monitor
Parameter

Overview The Parameter Monitor shows signal values of J1587 Parameters transmitted within
Privacy Policy
J1708 messages.
messages. It provides a structured view with all values mapped to the
Marketing corresponding send node.
Functions The following information is displayed:
Personalization

Analytics Field Description


Name Level 1:
1: name of the send node (MID)
Save Accept All
Level 2:
2: parameter name (PID) / signal name (for parameters
containing only one signal)
Level 3:
3: name of the signal within a parameter

© Vector Informatik GmbH Version 7.5 - 131 -

J1587 User Manual

Field Description
Chn J1587 channel: number of the channel on which the message was
sent/received
Time absolute time since measureme
measurement
nt start in seconds
PID parameter ID (PID) of the message
Value physical (if applicable
applicable)) / raw signal value
Unit unit of the signal value (if applicable)
applicable)
Value Table description of the signal value transmitted (“Value Table” entry mapped
Description to the signal value in CANdb++ database)

16.3.2 J1587 Diagnostic Monitor

Overview The J1587 Diagnostics (DC) Monitor examines the transmitted diagnostic messages
PIDs 194-196), displays their contents, and enables requests in order to retrieve
diagnostic data.
Functionality It exposes the following functionality:
 Overview of ECUs sending diagnostic
diagnostic messages
 Request of all diagnostic codes
 Display of active diagnostic codes of a specific ECU
 Display of inactive diagnostic codes of a specific ECU
 History View: Illustrates status transitions
tr ansitions of diagnostic codes
 Data Request View: Enables requests of additional information
information (“Descriptive
SCII/proprietary message”) of a specific code; Deletion of an/all Occurrence
Count(s); Display of response
r esponse messages
messages

16.3.3 Trace window

Overview When configuring the trace window you can choose J1587 specific fields to be
This website stores data such asdisplayed.
cookies to enable essential site
Functionality For option J1587 the following additional columns are available:
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at anyField
time Title Description
or accept the default settings. Source MID MID of the message
Destination Receiver receiver MID for proprietary and transport protocol
messages
Privacy Policy
Name Name Name of the parameter, if the message contains only
Marketing one parameter or „...“, if the message contains more than
one parameter.
Personalization
DLC DLC Length of the data field, inclusive MID and checksum
Analytics Data Data The message data in decimal or hexadecimal
representation.
representation. In the symbolic view brackets separates
Save Accept All the PID and the value of the parameter. In the numeric
view raw data is show, inclusive MID and checksum.

In the symbolic representation transport protocol and


proprietary messages a show interpreted.

- 132 - Version 7.5 © Vector Informatik GmbH

User Manual J1587

Field Title Description


Send node Send node Displays the send node, which is defined in the database
for the MID of the message.

Note: With the Sym/Num button in the symbol bar the display format of the Data
column can be changed. The numeric view shows the raw data of a message,
including MID and checksum. In the symbolic view the PIDs are highlighted and
transport protocol/request messages are interpreted.

16.3.4 Data and graphic window

Overview The data and graphic window shows the signals of J708 messages. The signals can
be selected for a database in the configuration dialog.
Open the context menu of the window, select the Add signals… and select the
signals, you want to add, in the dialog Signal selection.
selection.

16.3.5 Interactive Generator Block

Overview The Interactive Generator Block can send J1587 messages. A message can be
inserted from the database with the button [New]
[New].. A click on the arrow of the button
[New] opens a menu. With the menu item J1587 Message a new message can be
defined. The user must enter a PID in the column ID
ID..

Note: The interactive generator block can send only one parameter per message.

The interactive generator block contains a tab page J1587 with three J1587 specific
columns:

This website stores data such asColumn Description


cookies to enable essential site MID The message is sent with this MID.
functionality, as well as marketing,
Receiver MID of the receiver
personalization, and analytics. You
may change your settings at any time This column is enabled for proprietary messages only.
or accept the default settings. Priority The message is sent with this priority.

Privacy 16.3.6
Policy Filter

Marketing
Overview With the filter it is possible to pass or block a specific PID.
Personalization
The default setting is to filter every message with the specified PID, not considering
Analytics the MID. If the PID should be filtered only for a specific MID, the MID can be entered
in the column Source on the tab page J1587
J1587..
Save Accept All
© Vector Informatik GmbH Version 7.5 - 133 -

J1587 User Manual

16.3.7 CAPL

Overview With CAPL J1708 messages and J1587 parameters can be received and transmitted.
You can do this by using the variable type J1587Param and J1587Message in
CAPL. Variables of this type can be transmitted with output(). To receive a J1587
parameter a handler named onJ1587Param and onJ1587Message must be present
in the CAPL program.

Reference: For more information about the CAPL programmin


programming
g with J1587 is
available in the online help at Option J1587 | CAPL.
CAPL .

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


- 134 - Version 7.5 © Vector Informatik GmbH

User Manual CANaero

17 CANaero

In this chapter you find the


t he following information:

17.1 Scope of delivery page 136


17.2 Basics page 136
17.3 Database Concept page 136
17.4 Extensions page 137
Trace window
Data window
Interactive Generator Block

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 135 -

CANaero User Manual

17.1 Scope of delivery

Extensions The option CANaero contains the following CANalyzer extensions:


 Extensions of the standard components:
components: trace window, data window, CAPL,
interactive generator block
 Standard database
 Example configurations, demonstrating
demonstrating some of the provided features

Note: The possibilities that are specifically presented by these extensions and how
they can be used are described in detail in the further course of this user manual or in
the online help system.

17.2 Basics

Overview Since years aerospace technology


technology successfully is using several bus systems for
connecting avionics and supplemental
supplemental electronics. One of those bus systems is CAN.
Higher-layer protocols shall help getting more and more interoperability between sub-
systems and for reducing the efforts of integration of electronic components.
Examples for such protocols are CANaerospace,
CANaerospace, ARINC 810, ARINC 812, and
ARINC 825.
The option CANaero extends the Vector standard tool CANalyzer with support for
protocols, currently this is CANaerospace.
CAN-based aerospace protocols, CANaerospace .

CANaerospace The company Michael Stock Flight Systems developed the interface standard
CANaerospace after having gained profound experiences
experiences from multiple projects in the
field of aerospace technolog
technology.
y.
The protocol considers the special demands of aerospace technology regarding
security, capability of certifications, simple application and easy accessibility. It can be
used with CAN 2.0A and 2.0B (11 bit and 29 bit identifier) and any bus rate data.
This website stores data such as
cookies Sample
to enable essential site In order to simplify the initial steps with the option CANaero sample configurations are
functionality, as well as marketing,
configurations included to demonstrate the use of various functions of your application.
personalization, and analytics. You
may change your settings at anyYou timecan start the sample configuration
configurationss directly via the Windows start menu
or accept the default settings.

17.3 Database Concept


Privacy Policy

Marketing
General CANalyzer intensively uses a database driven concept. That means all blocks and
windows are connected to a database.
Personalization
The option CANaero includes a database for CANaerospace already. If you use this
Analytics database and assign it to the bus in your configuration, different extension
extensions
s are
active.
Save Accept All
- 136 - Version 7.5 © Vector Informatik GmbH

User Manual CANaero

CANaerospace The database entries for CANaerospace contains message descriptions, signal
database descriptions and data type definitions. All pre-defined message
messages,
s, e.g. EED
(Emergency Event Data), Service Requests or NOD (Normal Operation Data), from
the CANaerospace specification V1.7 are represented in the delivered database.

Note: Whenever
one has a new configuration
to be assigned is build, one of these databases or a derived
to that configuration.

Reference: Please refer to the appropriate chapter of this manual for a description of
database usage and how to assign a database.

17.4 Extensions

17.4.1 Trace window

Overview The trace window displays the CAN message traffic together with the
t he symbolic names
of the messages. After each message the corresponding CANaerospace specific
fields are displayed.

Columns In the shortcut menu of the trace window select Configuration | Columns.
Columns. The field
Available fields allows to select the required protocol, here CANaerospace
CANaerospace..

17.4.2 Data window

Overview The data window shows the current values of the transferred data. The selection of
the objects is done with the help of the CANdb database. The selection dialog shows
all available messages. On selection of a message, the right list shows all signals
(data fields) of that message.

This website stores data such asThe data window will display a signal only, if all attributes of the message (device id
etc.) are entered correctly in the database. A signal with the same value of a different
cookies to enable essential site
device is treated as a different signal and therefore not shown!
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
17.4.3 Interactive Generator Block
or accept the default settings.

Overview As in standard
standard CANalyzer the Interactive Generator Block offers the possibility of
Privacy Policy transmitting messages triggered
triggered by click on a button or cyclic with interactive
changing of the data contents.
Marketing
In the upper pane the message and the triggering is selected. The lower pane
Personalization displays the message fields of the actually selected line. The required values have to
be entered here. When selecting the data type, the corresponding signal from the
Analytics database will appear, if this data type dependent signal is part of the CANaerospace
specification.
Save Accept All
With a click on [Send now] the message is transmitted. In trigger mode cyclic the
message will be transmitted with the corresponding cycle time. Every change of the
data values will take effect on the next transmission.

© Vector Informatik GmbH Version 7.5 - 137 -

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


User Manual Appendix A: Support

18 Appendix A: Support

Need support? Our hotline can be reached

 by calling +49 (711) 80670-200


 by e-mail ([email protected])
([email protected])
 or by filling out our Problem Report form online

What our support To answer your support questions quickly, whether by phone, e-mail, fax or mail, we
team needs to know require the following information:
Software  Detailed description of the software, hardware model and version number, e.g.,
CANoe 5.2.70 (SP3), CANcardXL
 Serial number
Note: You will find this information in CANoe under Help|Info
Help|Info..
Hardware  Exact description of the hardware (e.g. CANcardXL)
CANcardXL)
 Hardware serial number
 Driver and firmware versions
You will find this information in the Windows menu under Start|Settings|Control
Panel|Vector Hardware.
Hardware.
Select the CANcardXL or CANcaseXL entry in this menu and click on
[Hardware-Info]..
[Hardware-Info]
If you have hardware problems:
 The vcaninfo.exe log file
Computer  Detailed description (e.g. Toshiba Tecra 8000)
8000)
 Laptop or desktop PC
 Operating system (e.g. Windows 2000,
2000, SP 4)
 Processor type and speed (e.g. Pentium III,
III, 1 GHz)
This website stores data such as Memory (e.g. 256 MB RAM)
cookies PCMCIA
to enable card
essential site If you have problems with PCMCIA cards in a desktop PC:
functionality, as well as marketing,
 Detailed description of the PCMCIA drive used
personalization, and analytics. You
may change
Erroryour settings at any
description timeWhat problems occurred?
or accept the default settings.  Which configuration did these problems occur with?
 Are you getting error
error messages in the software, e.g.
e.g. in the Write window?
window?
Privacy Customer
Policy data  Company, company address
 First name, last name
Marketing
 Department
Personalization  Telephone number, fax number, e-mail address
Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 139 -

Appendix B: Address
Address table User Manual

19 Appendix B: Address table

Vector Informatik Vector Informatik GmbH

GmbH Ingersheimer Str. 24


Ingersheimer
70499 Stuttgart
Germany
Phone: +49 711 80670-0
Fax: +49 711 80670-111
mailto:[email protected]
http://www.vector-informatik.com/

Vector CANtech, Inc. Vector CANtech, Inc.


Suite 550
39500 Orchard Hill Place
Novi, Mi 48375

USA
Phone: +1 248 449 9290
Fax: +1 248 449 9704
mailto:[email protected]
http://www.vector-cantech.com/

Vector France SAS Vector France SAS


168, Boulevard Camélinat
92240 Malakoff
France
Phone: +33 1 4231 4000
This website stores data such asFax: +33 1 4231 4009
cookies to enable essential site
mailto:[email protected]
functionality, as well as marketing,
personalization, and analytics. You
http://www.vector-france.com/
may change your settings at any time
or accept the default
Vector settings. Vector GB Ltd.
GB Ltd.
Rhodium
Privacy Policy Central Boulevard

Marketing Blythe Valley Park

Personalization Solihull, Birmingham


West Midlands, B90 8AS
Analytics
United Kingdom
Save Accept All
Phone: +44 121 50 681-50
Fax: +44 121 50 681-66
mailto:[email protected]
http://www.vector-gb.co.uk

- 140 - Version 7.5 © Vector Informatik GmbH

User Manual Appendix B: Address table

Vector Informatik Vector Informatik India Private Limited


India Private Limited
4/1/1/1 Sutar Icon
Sus Road
Pashan

Pune 411021
India
Phone: +91 9673 336575
Fax: -
mailto:[email protected]
http://www.vector-india.com

Vector Japan Co., Vector Japan Co., Ltd.


Ltd. Seafort Square Center Bld. 18F
2-3-12, Higashi-shinagawa, Shinagawa-ku
140-0002 Tokyo
Japan
Phone: +81 3 5769 7800
Fax: +81 3 5769 6975
mailto:[email protected]
http://www.vector-japan.co.jp/

Vector Korea IT Inc. Vector Korea IT Inc.


# 1406 Mario Tower
Guro-dong, Guro-gu, 222-12
Seoul, 152-848
Republic of Korea
This website stores data such as
Phone: +82 2 8070 600
cookies to enable essential site
functionality, as well as marketing,
Fax: +82 2 8070 601
personalization, and analytics. You
mailto:[email protected]
may change your settings at any time
or accept the default settings. http://www.vector-korea.com/

VecScan AB VecScan AB
Privacy Policy Theres Svenssons Gata 9
Marketing 417 55 Göteborg
Sweden
Personalization
Phone: +46 31 7647600
Analytics
Fax: +46 31 7647619
mailto:[email protected]
Save Accept All
http://www.vecscan.com/
© Vector Informatik GmbH Version 7.5 - 141 -

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


User Manual Index

20 Index

A Conventions
Conventions ......................................................... 8
Address table....................................................140 D
Ambiguities
Ambiguities .........................................................54 Data analysis
analysis in offline mode.............................
mode............................. 58
Analysis ....................................................112,
....................................................112, 114 Data window .............................. 71, 126,
126, 133, 137
Attribute ........................................................45, 51 DBC databases................................
databases................................ 110, 121,
121, 136
Demo driver ....................................................... 26
B
Demo version..................................................... 26
Box types in dialogs............................................24
Desktop concept ................................................ 64
Bus configuration..............................................120
Diagnostic ................................................ 112, 132
Button .................................................................24
Display panels.................................................
panels....................................................
... 75
C Drop down list .................................................... 24
CAN ....................................................................89
E
CAN interface .....................................................61
Embedded Ethernet......................................... 124
CANaerospace .................................................136
Environment variable ....................................... 126
CANalyzer architecture.......................................25
Error messages............................................
messages............................................ 45, 61
CANalyzer tour ...................................................28
Ethernet interface..........................................
interface.............................................
... 125
CANdb++ Editor................................................131
Evaluation branches .......................................... 50
CANeds ....................................................11
....................................................118,
8, 121
Evaluation of measurement
measurement files........................
files........................ 56
CANopen device configuration
configuration .........................118
Export signals .................................................... 70
CANopen Generator
Generator Block ...............................119
This website stores data such as
cookies CANopen Scanner............................................120
to enable essential site F
functionality, as well as marketing,
CANopen
personalization, Teanalytics.
Template
and mplate ..........................................118
You FastPacket transport
transport protocol..................
protocol.................. 110, 111 111
CANsetter .................................................118,
may change your settings at any time 121 FIBEX............................................................... 104
or accept the default settings.
CAPL.................................................................134 Filter ............................................. 77, 80, 113, 133
CAPL basics .......................................................84 Filter block.......................................................... 80
Privacy CAPL
Policy Browser ....................................................86 FlexRay............................................................ 103
CAPL node ...................................................77, 81
Marketing FlexRay database............................................ 104
Channel filter.......................................................80
Personalization FlexRay Frame Panel ...................................... 108
Check box...........................................................24 FlexRay network .............................................. 105
Analytics
CHI....................................................................104 FlexRay PDU Panel......................................... 108
Save Accept All
COM server ........................................................59 FlexRay signals................................................
signals................................................ 106
Comment box .....................................................24 FlexRay traffic .................................................. 106
Communication
Communication relationships ...........................111
G
Consistency ..................................................45, 54
GNSS Monitor.................................................. 114

© Vector Informatik GmbH Version 7.5 - 143 -

Index User Manual

GNSS Simulator ...............................................114 Measurementt Setup window ............................. 65


Measuremen
Graphic window
window ........................................126, 13
133
3 Message attributes.....................................
attributes.............................................
........ 51
Graphics window ................................................69 MOST................................................................. 97
MOST configuration........................................... 98
H
Hardware ..................................................125, 130 MOST function catalog ...................................... 98
MOST network...................................................
network ................................................... 99
Hot spots.............................................................78
Multiple channels ............................................... 55
I
N
Interactive Generator
Generator Block ......... 78, 96
96,, 133, 137
NetIsolator........................................................ 125
Interactive Master ...............................................93 ®
NMEA 2000 .................................................... 110
Introduction to CANalyzer...................................22
IP Filter .............................................................126 O
IP Security device.............................................125 Offline mode................................................. 56, 58
58
Online mode....................................................... 55
J
Option CANaerospace..................................... 135
J1587 Diagnostics
Diagnostics Monitor
Monitor ...............................132 Introduction ................................................... 136
J1587 Parameter
Parameter Monitor .................................131 Sample configurations
configurations .................................. 136
J1939 ................................................................110 Option CANopen.............................................. 117
Add-ons.........................................................
Add-ons......................................................... 120
J1939 Communication
Communication matrix ...........................111
Introduction ................................................... 118
J1939 Node Filter .............................................113
Quick start..................................................... 118
Sample configurations
configurations .................................. 122
L
Use cases ..................................................... 121
LDF .....................................................................92
Option IP .......................................................... 123
LDF Explorer.......................................................92 Installation..................................................... 124
Licensing.............................................................13 Introduction ................................................... 124
This website stores data such as
Limitations...........................................................26 Quick start..................................................... 127
cookies to enable essential site Sample configurations
configurations .................................. 128
LIN ......................................................................91
functionality, as well as marketing,
personalization, and analytics.
LIN description
descripti You
on file ..............................................92 Use cases ..................................................... 126
Option J1587.................................................... 129
may change your settings
LIN Master at any time
node .................................................93 Introduction ................................................... 130
or accept the default settings.
LIN Master’s scheduler
scheduler .......................................93 Prerequisites................................................. 130
LIN network.........................................................93 Sample configurations
configurations .................................. 130
Privacy Policy
LIN signals
signals ..........................................................95 Option J1939.................................................... 109
Marketing Introduction ................................................... 110
LIN traffic ............................................................94
Quick start..................................................... 110
Personalization
Logging .............................................................113 Sample configurations
configurations .................................. 112
Analytics
Logging of measurement
measurement files ............................56 Use cases ..................................................... 112
Overview of the programs.................................. 25
Save
M Accept All
Main menu
menu ..........................................................23 P
Measurementt ................................................45, 48
Measuremen Panels .............................................................. 126
Measurementt setup ............................................48
Measuremen Program start ..................................................... 46

- 144 - Version 7.5 © Vector Informatik GmbH

User Manual Index

Q T
Quick start Text input box .................................................... 24
Option IP........................................................127
Tips for using CANalyzer ................................... 23
Option J1939 .................................................110
Toggle Trigger.................................................... 56

R Trace window..................... 68, 119, 126, 126, 132, 137 137


Radio button .......................................................24 Transmit branch.................................................
branch ................................................. 49
Receiving ......................................................45, 49
49 Transmitting ................................................. 45, 49
Registered trademarks .........................................9 Trigger block .............................................. 80, 113
Remote access.................................................126 Trigger mode......................................................
mode...................................................... 56
Replay.......................................................113,
Replay.......................................................113, 115 Troubleshooting
Troubleshooting ................................................. 60
Replay block .......................................................79
U
S Unit 1.................................................................. 31
Sample configurations
configurations Unit 2.................................................................. 34
Option CANaerospace.................................
CANaerospace...................................136
..136
Unit 3.................................................................. 39
Option CANopen ...........................................122
Unit 4.................................................................. 40
Option IP........................................................128
Option J1587 .................................................130 Unit 5.................................................................. 42
Option J1939 .................................................112 Unit 6.................................................................. 43
Shortcut menu ....................................................23 Unit 7.................................................................. 44
Signals ..............................................................114
V
Simulation.........................................................114
Simulation .........................................................114
Value Generator.................................................
Generator................................................. 78
Single Trigger .....................................................56
Slider...................................................................24 W
Spin control.........................................................24 Warranty .............................................................. 9
Standalone Manager
Manager ..........................................59 Window management
management ........................................ 64
This website stores data such as
cookies Standalone
to enable essential site
Mode................................................59 WLAN to CAN .................................................. 126
functionality, as well as marketing,
Statisticsand
personalization, Moanalytics.
Monitor
nitor window
window You ...................................74 Working with databases.....................................
databases..................................... 52
Statistics
may change window at
your settings ................................................72
any time Working with multiple channels ......................... 55
or accept the Sequencer
Step default settings.
Sequen cer ..................................................59 Write window...................................................... 71
Support .................................................................9
Privacy Policy

Marketing

Personalization

Analytics

Save Accept All


© Vector Informatik GmbH Version 7.5 - 145 -

Get more Information


Information!!

Visit our Website for:


> News
> Products
> Demo Software
> Support
> Training Classes

> Addresses

This website stores data such as


cookies to enable essential site
functionality, as well as marketing,
www.vector.com
personalization, and analytics. You
may change your settings at any time
or accept the default settings.

Privacy Policy

Marketing

Personalization

Analytics

Save Accept All

You might also like