|
Before you can use the individual functions of the canAnalyser, you
must make some settings (configuration). These are:
|
selection of the CAN-interfaces used |
|
selection of "Standard"- or "Extended"-CAN-protocol |
|
setting of baud rate and bit-timing-parameters |
|
selection of the functions used (modules) |
In order that you can use an already set configuration in the same way again
without further interventions, save the set values under a suitable
"project"-name.
The configuration of the canAnalyser is carried out with the aid of
the so-called "Control panel". For this, start the canAnalyser by
selecting its entry in the Windows Start menu.
To create a new configuration select Create new configuration
and press Continue.
In the following dialog you define the hardware to be used. For this, IXXAT
offers you a whole range of interfaces, which vary in terms of construction and
performance. The most important interfaces are, for example, PCI-slot-cards,
PC-card (tinCAN), parallel-port-adapters (CANdy and CANdy lite), USB-interfaces
or Ethernet-adapter (CAN@net). With the CAN@net you can even operate the canAnalyser
from your workplace via an Intranet. Our example is based on a
powerful PCI-slot-card.
After clicking on Finish the main window of the control panel appears. On
the left side of the window the available modules are listed, on the right side
the configuration tree with the available controllers and used modules are
displayed.
To change the standard parameter of a CAN controller the Controller Properties
dialog is opened by selecting Properties from the context menu or by
double clicking on the controller.
On the index card CAN Settings you can select whether the standard or
the extended CAN-Protocol is to be used. For this tutorial we only use
the standard protocol. The Errorframe detection checkbox enables or
disables the reception of errorframes. If Acknowledge behaviour Tx
passive is activated the canAnalyser has no active access to the
can network, i.e. no error frames or acknowledges can be sent. For this
tutorial, please leave the pre-settings as shown. You only have to select the Baudrate
of your can bus and then click on OK.
In the next step you can select the modules you want to use. The required
analysis functions are dragged using drag and drop from the module list
into the configuration tree onto a controller. It is also possible to select a
certain module here more than once. It could be useful, for example, to analyze
the message traffic in a CAN-network with differently configured Receive
modules. In order to be able to distinguish between these, they can be
designated with allocated names by selecting the context menu item Rename.
For this tutorial, please select only one Receive module and one Transmit
module to start with.
To start the communication with the CAN-network select the menu point Control |
Start Communication. canAnalyser now starts with three
program windows. These are the two selected modules and the Control panel.
Now save your configuration either by selecting
|
the menu point File | Save or |
|
clicking the button
in the toolbar. |
You can reload a saved configuration into the Control panel at any
time by clicking either
|
on the menu point File | Open... or |
|
the button
in the toolbar |
and selecting the required configuration file in the dialog that then appears.
|