CANoe.DiVa - Automatically Test Diagnostic Services Under Invalid Conditions
Summary
TLDRIn this tutorial, Simon Miller demonstrates how to test invalid conditions using CANoe DIVA, focusing on vehicle speed and its effect on diagnostic services. He walks through configuring system conditions, such as vehicle speed being above 10 km/h or zero, and assigning them to specific services. By using CANoe Studio 16's environmental conditions feature, users can automate the process of associating these conditions with services, ensuring correct error handling with predefined negative response codes. The video provides a clear, step-by-step guide to simulate and test invalid conditions, helping ensure robust ECU diagnostics.
Please replace the link and try again.
Q & A
What is the primary purpose of the video?
-The video demonstrates how to test invalid conditions using CANoe DIVA, a diagnostic testing tool, by simulating specific system conditions and analyzing the corresponding responses.
What is meant by 'invalid conditions' in the context of this tutorial?
-Invalid conditions refer to situations where a service or system is expected to behave in a certain way, but due to incorrect or missing conditions, it responds inappropriately. For example, the vehicle speed being above a threshold when the service requires it to be zero.
How are invalid conditions configured in CANoe DIVA?
-Invalid conditions are configured by defining preconditions for the execution of services. These conditions can include setting specific negative response codes and describing the situation, such as when the service is not available due to incorrect conditions.
What is the default negative response code for invalid conditions?
-The default negative response code for invalid conditions is 22, which corresponds to 'Conditions Not Correct' in the standard UDS (Unified Diagnostic Services) code.
Can the negative response code be customized in CANoe DIVA?
-Yes, the negative response code can be customized depending on the project's requirements. For instance, other codes like 'General Reject' might also be used, depending on the specific conditions defined in the diagnostic specification.
What new feature was introduced in CANoe Studio 16 for managing environmental conditions?
-CANoe Studio 16 introduced a new feature called 'Environmental Conditions,' which allows users to define conditions based on external factors, like vehicle speed. These conditions can be linked to specific ECU (Electronic Control Unit) behaviors and service restrictions.
How are environmental conditions related to specific ECU services?
-Environmental conditions are linked to ECU services through dependencies. For example, a service like 'Programming Start' might only be available when the vehicle speed is zero, meaning the vehicle is stationary. Other services might have no restrictions.
What happens when a service is tested under an invalid condition in CANoe DIVA?
-When a service is tested under an invalid condition, the system checks if the ECU responds correctly, based on the defined negative response code. If the response is incorrect, like receiving a positive response when a negative one was expected, the test fails.
How are environmental conditions simulated in CANoe DIVA for testing?
-Environmental conditions are simulated by setting specific values on the remaining bus simulation, like vehicle speed, and verifying how the ECU reacts when these conditions are applied. For instance, setting the vehicle speed above 10 when the condition requires it to be zero.
What is the process for running tests in CANoe DIVA after defining invalid conditions?
-After defining the invalid conditions either manually or via CANoe Studio, the tests are run in CANoe by applying the preconditions, requesting the service, and analyzing the ECU's response. The test results are documented in a report, indicating whether the response was correct or failed.
Outlines

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowMindmap

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowKeywords

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowHighlights

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowTranscripts

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowBrowse More Related Video

ISTQB FOUNDATION 4.0 | Tutorial 30 | Equivalence Partition | Black Box Test Techniques | CTFL

Cara Mendeteksi Kerusakan Mobil EFI Dengan Scantool Launch X-431 PRO

๐ฎ Membuat Game Hunting Bird di Scratch - Part 02

Unified Diagnostic Services (UDS) Explained - A Simple Intro [2022]

Using an async Function | Lecture 142 | React.JS ๐ฅ

Logika Fuzzy MAMDANI dengan MATLAB | Fuzzy Logic Designer Toolbox
5.0 / 5 (0 votes)