Signal Requester Filter - Tutorial

This tutorial shows how to create a simple filter that requests all signals from the XCP Master Filter for recording. After reading this guide, you will know:

Preperations

Within the ADTF3 Guides, we have explained you how to generate your own projects, with the help of CMake. For configuring your project, generate and use listed files and follow the mentioned ADTF3 Guide:

Implementation of the filter

After you have succesfully configured and generated your project, you can start to implement the filter.

Usage

Purpose of this filter is the recording of all 'MEASUREMENT' signals which are defined within an A2L file. The corresponding A2L file has to be set up within the properties of the XCP Master Filter.

Advantage of this filter:

  • Generation of a mapfile with the SCFE is not necessary
  • All available 'MEASUREMENT' signals will be requested automatically
  • Initialising of XCP Decode Filter not needed (could be take a time to initialse the decode buffers)
  • The calibrationtoolbox.adtfproject example contains a DEMO Signal Requester Filter session, which will show the usage of the generated filter. The Signal Requester Filter only has to be connected to the xcp_master "signal_updates" pin of the XCP Master. Before running the session, you have to decide on which measurment method the XCP signals should requested from the ECU. This properties can be found in the property browser of the Signal Requester Filter:

    Property Type Default Description
    DAQ EventString" "Defines the DAQ event channel
    DAQ PrescalerInteger1Transmission rate prescaler (=>1)
    Polling IntervalInteger0Defines the polling interval

    After setting up the necessary measurement method, you are able to start the session. The running Signal Requester Filter will immediately run over all 'MEASUREMENT' signals and the XCP Master will request this signals from the ECU. The received 'undecoded' signal will then be recorded by the ADTFDAT File Recorder. The complete communication between the XCP Master and the ECU can be played back with the ADTFDAT File Player. We recomment not to decode the signal values while recording the XCP communication.