CANalyzer ProductInformation en
CANalyzer ProductInformation en
CANalyzer ProductInformation en
Product Information
CANalyzer
Table of Contents
2 Functions ........................................................................................................................................................................................ 6
2.1 Special Functions........................................................................................................................................................................... 7
2.2 Database Support ......................................................................................................................................................................... 7
4 Diagnostics ................................................................................................................................................................................... 20
4.1 Further Information .................................................................................................................................................................... 24
5 Programming................................................................................................................................................................................ 25
5.1 CAPL Interface............................................................................................................................................................................. 25
5.1.1 C-Like Syntax ............................................................................................................................................................................... 25
5.1.2 Event-Oriented Control .............................................................................................................................................................. 25
5.1.3 Symbolic Access .......................................................................................................................................................................... 26
5.1.4 Application-Specific Language Extensions.............................................................................................................................. 26
5.1.5 CAPL Browser .............................................................................................................................................................................. 27
5.2 Visual Sequencer ......................................................................................................................................................................... 28
6 Panels ............................................................................................................................................................................................ 28
2
CANalyzer
10 Training ......................................................................................................................................................................................... 32
V6.5 10/2022
This document presents the CANalyzer use areas of analysis, stimulation, diagnostics and their individual functions. The
document also contains a brief overview of programming in CANalyzer, supplemental programs and hardware interfaces.
Product information and technical data on CANalyzer options are provided in separate documents.
3
CANalyzer
1 Introduction to CANalyzer
CANalyzer is a universal analysis tool for ECU networks and distributed systems. In addition to observing and analyzing, it is
also quite easy to supplement the data traffic in the supported bus systems.
The tools powerful basic functions and user programmability cover all needs from simple network analysis to focused
debugging of complex problems.
User operation of CANalyzer is very intuitive and is based on a graphic block diagram that depicts the data flow from the bus,
over the computer interface and to the various analysis windows of the computer screen and to the logging file. The system is
parameterized in this block diagram. Function blocks such as Filter, Generators or Replay Blocks can also be placed and
configured there.
4
CANalyzer
CANalyzer is a tool that optimally covers all application areas from a simple network analysis to a high-performance analysis
and emulation system. For example, a Replay Block may be placed in the send branch to replay the previously logged data
traffic of a functional bus system. Portions of the data traffic may be hidden by adding a downstream filter. This creates a
perfect test environment for an ECU in the laboratory.
In CANalyzer, different CANalyzer options are available for the various bus systems and CAN-based protocols; these options
may be used in any combination.
CANalyzer supports the following bus systems: CAN, CAN FD, LIN, MOST, FlexRay, J1708, Ethernet, K-Line, A429, WLAN and
AFDX® 1
Option CAN is the basis for these supported CAN-based protocols: J1939, CANopen, CANaero.
Others upon request.
You will find detailed information on the options in separate product information documents.
> CANalyzer exp: The expert variant is ideal for all standard applications, and it provides all functions and extensions
without limitation. However, this variant does not support creating and executing CAPL programs.
> CANalyzer pro: The professional variant provides all functions and extensions without limitations. It supports all use
cases from simple observation of the bus traffic to complex analysis, stimulation and testing of heterogeneous systems.
> CANalyzer exp Test Bench Edition: The Test Bench Edition is suitable for executing in test and production. Feature set is
the same as CANalyzer exp. The test bench license required for operation allows remote access and execution in virtual
environment.
> CANalyzer pro Test Bench Edition: The Test Bench Edition is suitable for executing in test and production. Feature set is
the same as CANalyzer pro. The test bench license required for operation allows remote access and execution in virtual
environment.
1
AFDX® is a registered trademark of Airbus
5
CANalyzer
CANalyzer benefits from higher clock rates rather than higher number of cores.
Memory (RAM) ≥ 32 GB 8 GB
≥ 20 GB SSD/NVMe 8 GB HD/SSD
Hard Disk Space
Depending on options used and required operating system components.
Screen resolution Full HD 1280×1024 Pixels
2 Functions
The product’s basic functions give you a broad range of use options; they include:
> Diagnostic communications per KWP2000 and UDS and use as a full-fledged diagnostic tester
> Intuitive user interface with flexible docking concept and user-friendly menu structures
6
CANalyzer
> Fast, interactive process for creating stimulation and test sequences with the Visual Sequencer
> Parameterization of diagnostics by diagnostic descriptions as ODX 2.0.1/2.2.0, MDX 2.0/3.0 or CDD
> Definition of simple diagnostic services with the Basic Diagnostic Editor
> Quick and simple On-Board Diagnostics with built-in OBD-II tester
> Diagnostic observer for UDS and KWP2000 based on parameterizable diagnostic descriptions
> Support of DoIP (Diagnostics over IP) and HSFZ (High-Speed Fahrzeugzugang)
CANalyzer supports system descriptions based on the following formats: DBC (CAN), LDF (LIN), XML (MOST), FIBEX (FlexRay)
and AUTOSAR descriptions (CAN/FlexRay/Ethernet).
CANalyzer can process the following diagnostic descriptions: CDD (CANdelaStudio), ODX 2.0.1/2.2.0 as PDX files and MDX
2.0/3.0.
Highlights
> Easy to configure the analysis window by drag and drop. For example, this method can be used to copy or move
messages or signals from one analysis window to another.
> For a multifunctional analysis, one type of window (e.g. Graphics Window) can be integrated multiple times in the data
flow, which enables parallel analysis.
> Easy start and stop logging directly from the status bar.
CANalyzer supplies the user with windows and blocks such as those described below.
7
CANalyzer
The data flow is graphically represented and configured in the Measurement Setup.
8
CANalyzer
Bus activities − such as the sending of messages or Error Frames − are listed in the Trace Window. Individual signal values may
be displayed for each message. Functions such as those listed below are available for analyzing the data:
Figure 3: Trace Window with active Stop filter and set marker
9
CANalyzer
The Graphics Window is used to graphically display the values of signals, environment data and diagnostic parameters as
curves. Listed below are some of the functions available for measurement and evaluation of these curves:
10
CANalyzer
The Scope Window graphically depicts bus level measurements and is used for the analysis of protocol errors (see also option
Scope, Chapter 9).
11
CANalyzer
The Data Window is used to display the values of signals, system variables and diagnostic parameters in different types of
representation.
Figure 6: Data Window with different representation types for incoming values
12
CANalyzer
The Statistics Window shows statistical information about bus activities (CAN, LIN, FlexRay) during a measurement. This
includes such information as bus load on node and frame level, burst counter/duration, counters/rates for frames and errors,
and controller states.
Figure 7: CAN Statistics Window with statistical data for one channel (CAN 1)
Certain CAN/LIN/FlexRay statistics can be evaluated in analysis windows such as the Graphics Window, or in program nodes
via automatically defined statistical system variables. These system variables are available for each configured network
channel and are updated independently of the Statistics Window.
13
CANalyzer
The Write Window displays system messages and user-specific outputs from CAPL programs.
14
CANalyzer
The Map Window can be used to integrate GNSS information and maps in CANalyzer. The Map Window is part of the basic
feature set of CANalyzer. With the option Car2x additional Car2x information can be displayed.
15
CANalyzer
The Interactive Generator (IG) can be used to send messages as well as to set the corresponding signal values. This is an easy
way to stimulate the bus.
Figure 10: Interactive Generator with configured messages and their signals
16
CANalyzer
Triggers and filters can react to specific bus events, and they serve to reduce the amount of displayed or logged data. Examples
of trigger conditions are error states, messages, signals and signal changes (edges). Complex system states can be triggered
by forming groups and linking them with logical operators.
3.1.11 Logging/Replay
> Replay
The Replay Block can be used to replay measurement sequences that have been logged in a logging file. The messages
contained in the logging file are introduced into the data flow.
> Logging
The Logging block can log the bus traffic in the BLF and ASCII formats. The logged data can then be replayed in offline
mode or with a Replay Block.
17
CANalyzer
An observer for the transport protocol per ISO/DIS 15765-2 is included. This observer interprets transport protocol messages
that are sent over the CAN bus and displays the results in the Trace Window in clear text. Diagnostic interpretation is also
possible per KWP2000, UDS and via OEM-specific CANdelaStudio description files (CDD), ODX/PDX and MDX files. The Basic
Diagnostic descriptions defined in CANalyzer can be used for diagnostic interpretation as well. Along with the interpretation
in the Trace Window, individual diagnostic parameters can also be displayed in the Graphics and Data Windows.
Figure 11: Trace Window with analysis filters and diagnostic interpretation
The logged message traffic can be evaluated at a later point in time, in offline mode, using all CANalyzer functions. This makes
it possible, for example, to conveniently analyze extensive recordings of a measurement drive afterwards in the workplace.
Collections of logging files can also be specified, which are then chronologically replayed into the analysis based on their time
stamps. In addition, logging files can be directly imported into the Trace Window for quick analyses.
Offline mode directly supports the logging format of the GL1000/GL2000/GL3000/GL4000/GL5000 logger families from
Vector. This eliminates conversion steps before analysis.
Export functions for logging and the Trace and Graphics Windows enables conversion of logged files or window contents to
other file formats, e.g. to *.csv. In export of the logging files, individual signal information is extracted from the logged,
message-based data.
CANalyzer users often have many analysis windows opened. That is why CANalyzer offers an integrated desktop concept, in
which users can switch between any number of virtual desktops on tabbed pages. Opened windows can be distributed to
desktops, and information can be sorted by work processes or subject matter.
18
CANalyzer
In the Start Values Window, values that are set on measurement start can be preassigned for system variables.
The list of start values can be exported to a file and loaded from a file. Thus, for example, simulation parameters can be
conveniently assigned using various sets of start values.
Using the mapping dialog, symbols (system variables and signals) can be mapped.
When the value of a source symbol changes during measurement, the value of the destination symbol is automatically set.
Optionally, you can apply a linear conversion formula.
19
CANalyzer
4 Diagnostics
CANalyzer is used essentially to define and send diagnostic services for KWP2000 or UDS. In addition, diagnostic parameters
can be defined and local identifiers (LID) allocated. This makes it possible to read information from the ECU via diagnostics
quickly and easily.
> Support of all important diagnostic description formats for KWP2000 and UDS (ISO 14229):
> Option of modifying key diagnostic communication parameters of the diagnostic description (transport and diagnostic
layer) in the Diagnostic/ISO-TP Configuration dialog
> Basic Diagnostic Editor for quickly defining simple diagnostic services, if no diagnostic description is available (for CAN,
LIN, FlexRay, Ethernet and K-Line)
> Interactive diagnostic tester with Diagnostic Console, Fault Memory Window and Diagnostic Session Control with
configurable Security-DLL
> Interactive Variant Coding Window to read, write and compare variant coding data considering security mechanisms
configured by a security source
> Interactive Diagnostic Parameters Window for cyclic or manual query and display of diagnostic parameters from
diagnostic responses
> Preconfigured OBD-II tester with related Diagnostic Console and Fault Memory Window
> Support of several addressing schemes (e.g. normal, extended, normal fixed and mixed) and addressing types
(functional/physical)
> Analysis of diagnostic communications on the service and parameter levels (i.e. symbolic representation based on the
diagnostic description) in the Trace, Data and Graphics Windows
> Optional use of panels to display diagnostic parameters and stimulation of ECUs via diagnostic requests
> Support of all important network types in the automotive industry (CAN, LIN, FlexRay, Ethernet and K-Line)
> Support of DoIP (Diagnostics over IP, also encrypted via TLS), HSFZ (High-Speed Fahrzeugzugang) and DoSoAd
(Diagnostics over AUTOSAR Socket Adaptor)
20
CANalyzer
21
CANalyzer
22
CANalyzer
23
CANalyzer
24
CANalyzer
5 Programming
The CAPL (Communication Access Programming Language) programming language extends the functional scope of
CANalyzer tremendously. Special characteristics of CAPL include:
> Fully event-controlled in its operation. CANalyzer takes over control from the user.
> Supports symbolic access to all database information such as messages and signals. Signal values can be used directly in
their physical form.
> The language has been extended with special functions for quick implementation of problem solutions in various use
scenarios
The usual scalar data types and arrays are provided (1, 2, 4 and 8 byte long whole number types as well as an 8 byte long
floating point type). Assignments, arithmetic operators and loop flow control conform to C-syntax.
myFunction {
int counter;
doSomethingWithCounter ( counter );
CAPL is an event-controlled programming language. In contrast to C, special predefined event handlers (event procedures) are
available in CAPL, which are always executed whenever a specific event occurs (if time controlled then triggered by the
hardware or internal to CANalyzer).
25
CANalyzer
Signal values are generally accessed as physical values, regardless of the scaling of message transmission. This is set in the
database and is taken from there.
// Most significant bytes Motorola, with 12bit only the lower 4 bits are used
msg.byte(0) = (msg.byte(0) & 0xF0) | (byte)((14.1 - 8) / (18 - 8) * 4096 / 256) & 0xF;
output(msg);
For all use cases of CANalyzer there are numerous functions that are specially tailored to everyday problems related to these
topics.
> Analysis
CAPL can be used in the analysis of measurement results – either online and offline. One simple task might be to count
the occurrences of a specific event or perform computations with the contents of certain signals.
On message Brake {
long TempCounter = 0;
$BRECounter++;
TempCounter = $BRECounter;
TempCounter = 1000;
output ( this );
> Stimulation
You can also use CAPL to generate messages to stimulate ECUs. This relieves the developer of routine work tasks.
Signals and messages of the bus are defined in the database (e.g. in DBC, LDF or FIBEX files). These files are often
managed, maintained and updated centrally.
26
CANalyzer
The functionality of the CAPL Browser goes beyond that of an editor for CAPL programs. It offers functions of an advanced
development environment, such as:
> Folding function blocks and functional references in a tree view for quicker navigation
> Calling of the compiler with preselected source text lines in case of error
> Hierarchical function list with search function for direct copying into the source text
Objects of the CANalyzer database are available in the CAPL Browser as well, and they are also displayed in a tree view. The
following database contents can be accessed from what is known as the Symbol Explorer:
> All diagnostic symbols such as requests, responses and fault memory
Figure 21: CAPL Browser with opened CAPL program, contained event procedures and network symbols from the database
27
CANalyzer
This is a quick way to graphically configure flow sequences without requiring programming. Variables and signals may be set
within such sequences. Frames and diagnostic commands can also be sent. In addition, it is possible to wait for certain events,
check values or define repetitions with control structures (repeat…until). These sequences are therefore ideal for simple tests
of heterogeneous systems or for stimulating ECUs.
Figure 22: CANalyzer Visual Sequencer for creating test and stimulation sequences. Makes it easy to select commands and database objects with auto-
complete support and to display detailed database information.
6 Panels
Panels are graphical elements that can be used to modify symbol values and display them with controls such as sliders or
pointer instruments. Panels are used to display the analysis data from CAPL programs, for example, or to control CAPL
programs and transfer values into the programs.
The Panel Designer can be used to conveniently create such panels. For example, it is easy to link a symbol to a control by drag
and drop. The individual panels and controls are configured via the ribbon or the Properties Window. A whole series of useful
alignment functions ensure an optimal layout on the panel.
Figure 23: User-defined panels for displaying signal and variable values
28
CANalyzer
7 Software Interfaces
The integrated COM Server (Component Object Model) enables control of the measurement sequence by external applications
and convenient data exchange with standard software, e.g. for measurement data analysis or in-depth evaluation of the
observed bus traffic. Frequently used programming/script languages here are Visual Basic or Visual Basic for Applications.
C++/C# are also frequently used. The functionality that CANalyzer offers over the COM interface covers such aspects as:
> Loading existing configurations, generating new configurations, adding databases and blocks to the Tx branch
> Access to signals and system variables, access to CAPL functions, compiling of CAPL nodes
measurement.start
app.open "D:\PathToMyConfig\myconfig.cfg"
A general introduction to COM Server functionality of CANoe/CANalyzer is described in application note AN-AND-1-
117_CANalyzer_CANoe_as_a_COM_server. Fundamental technical considerations and options are presented, and they are
illustrated as Microsoft Visual Basic examples.
8 Hardware Interfaces
CANalyzer supports all bus system interfaces available from Vector. Optimal bus access is possible for every use case thanks
to a large selection of different computer interfaces (USB 2.0, PCI, PCI-Express, PXI) and bus transceivers.
29
CANalyzer
9 Option Scope
The option Scope is an integrated oscilloscope solution for CANalyzer based on a very powerful USB oscilloscope hardware.
This CANalyzer option appears as a further analysis window with views for configuration, bus level and protocol decoding. The
supported hardware has up to 4 input channels for 2 CAN/CAN FD/FlexRay or 4 LIN/IO and is triggered by the sync line of
Vector interface hardware (e.g. VN1630/40, VN8900, VT System). The option Scope is available for all CANalyzer variants.
The powerful combination of the USB oscilloscope and CANalyzer offers many new ways to analyze protocol errors. With bus-
specific trigger conditions and CANalyzer time synchronization, the causes of protocol errors can be found significantly faster
than with any traditional oscilloscope.
Figure 25: Detailed analysis of a CAN FD frame on physical and logical level with the Scope Window
> Extremely compact and portable oscilloscope solution based on an USB oscilloscope hardware
> Synchronous recording of bus and I/O signals with the CANalyzer time base
30
CANalyzer
> 4 analog input channels for bus signals (2 x CAN/CAN FD/FlexRay or 4 x LIN/IO)
> 4 analog input channels for bus signals (2 x CAN/CAN FD/FlexRay or 4 x LIN/IO)
> 2 x 8 input channels for digital signal measurements (2 x MSO-Pod TA369 is required)
> 8 analog input channels for bus signals (4 x CAN/CAN FD/FlexRay or 8 x LIN/IO)
> Bus connection via Vector Scope Bus Probe with D-SUB connector
> Vector Scope Y-Trigger Cable for internal and external triggering via the sync line of a Vector interface
Option Scope appears as a new analysis window in CANalyzer with views for configuration/measurements, bus levels and
protocol decoding.
> Connection of several bus signals to input channels of oscilloscope. For each bus system a default configuration for
scope hardware is created
> Easy configuration of sampling rate (independent of bus baud rate) in min. sampling points per bit
> Automatic adjustment of acquisition time depending on the bus baud rate
31
CANalyzer
> Triggering on external signals with edge or pulse triggers (I/O trigger)
> Detailed decoding of the bus levels on the bit level, even in case of protocol errors
> Display of the time stamp and the voltage value per sampling value
> Bidirectional synchronization of Trace view (logical values of the data link layer) and the diagram (physical values). The
diagram shows the signal encoding of the Trace view.
> Time-Synchronization with other CANalyzer windows, e.g. Trace, Graphics and State Tracker
Offline functions of the Scope Window are available to users even without the license for option Scope, e.g. to view and analyze
measurements made by colleagues.
> Eye diagram analysis with single bit mask accessible via user interface
> Complete export and import of scope measurements (binary format *.csf)
> Export of scope measurement data in ASCII (*.csv) or MATLAB formats (*.mat)
> Comparison mode for scope signals and for entire scope measurements
10 Training
As part of our training program, we offer various classes and workshops on CANalyzer in our classrooms at Vector and on-site
at our customers.
You will find more information on individual training courses and a schedule online.
32
Get More Information
www.vector.com