Table of Contents
Introduction
The ModuleTest
can be used to test a new flashed software which is sending or receiving can messages.
All CAN-Frames defined in the CAN DB Editor
will be added automatically. After opening the ModuleTest
you first need to search for any connections. It is possible to change the baudrate on which a module
should be scanned. Instead, the button Search Module
scans for every available baudrate.
After connecting successfully to any module, the connection is available till pressing the button
Disconnect
, closing the tab or navigating to another tab.
Module Test BETA
CAN Interface
-
Net Handle
: Displays all detected channels in a dropdown, enabling users to switch the currently active channel. -
Refresh
: If no channels are found or changes have occurred, this button refreshes the list of available channels. -
Hardware Interface
: Displays the available interfaces with which the module is connected. -
Status
: Displays if any module is connected. -
Disconnect
: Disconnects an existing connection to a module. -
Scan
: Scans for any modules with the set baudrate which can be found in theProject Information
section. -
Scan Module
: Scans with every available baudrate and selects the first found module.
Project Information
Shows information about the currently connected module used for sending/receiving CAN messages. If no module is connected, the ModuleTest
function is unavailable.
The selected Baudrate
is used for the scan and is preset from the CAN settings. With the dropdown Filter by CAN BUS Nr.
it is possible to filter the telegrams
by the selected CAN BUS Nr.
.
Send CAN Telegrams
-
CAN BUS Nr.
: Displays the bus number associated with the CAN telegram where the datapoint is stored. -
CAN ID [hex]
: Indicates the CAN ID within the telegram where the datapoint is stored. -
Name
: Defines the name of the data point. -
Value
: Sets the value to be sent by this datapoint. -
Sending cyclic (ms)
: If checked, the CAN telegram is send periodically. The cycle time can be adjusted by the value next to the checkbox. -
Counter
: Tracks the number of times the datapoint has been sent. -
Send
: Sending the CAN telegram once. -
Reset Telegrams
: This sets the value to zero as well as the counter. It also sends one CAN telegram with an empty message.
Receive CAN Telegrams
-
CAN BUS Nr.
: Displays the bus number associated with the received CAN telegram. -
CAN ID [hex]
: Indicates the CAN ID of the received telegram. -
Name
: Defines the name of the received data point. -
Value
: Shows the value received for the data point. -
Cycle Time (ms)
: Displays the cycle time in milliseconds for receiving the data point. -
Counter
: Tracks the number of times the data point has been received. -
Reset Telegrams
: Resets the counter and the value.
Expanded
The lists can be expanded after clicking on the CAN telegram. The collapsed rows include the datapoints for the expanded CAN telegram. Displayed is the
name of the datapoints, the value (can be edited for the Send CAN Telegrams
) as well as the bit start and length.
CAN Trace
The CAN trace displays every received CAN messages which are displayed with their ID and their data. It is possible to manually start, stop and clearing the trace. This functionality can only be used while a module is connected which is sending CAN telegrams.