development of diagnostic sequences for vn8810 ... › cms › content › events › 2019 › va...
TRANSCRIPT
![Page 1: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/1.jpg)
V1.0 | 2019-07-22
Diagnostic Scripting for Quick Fleet Data Collection or Testing
VDS
![Page 2: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/2.jpg)
2
u Vector Diagnostic Solution
The Vector Diagnostic Scripting Library
The Vector Diagnostics OBD API Library
Microsoft Visual Studio Extension for Diagnostic Sequences
Vector vScriptDiagnostics
Summary
Agenda
![Page 3: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/3.jpg)
3
At a Glance
Vector Diagnostic Solution
CANdelaStudio
Author Diagnostic SpecificationCreate CDD, ODX or OEM specific
AUTOSAR DCM/DEM
Generate ECU SW Diagnostics
vFlash
Update ECU SW
CANoe.DiVa
Auto Validate ECU Diagnostics
CANalyzer/CANoe/CANape
Test Functions and Diagnostics
Indigo
Vehicle and System Diagnostics
ODXStudio
Edit ODX Data
CANdelaDiagnostic
Data
CANdelaTemplate
Training & Engineering Services for perfect fit
ODX Data
![Page 4: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/4.jpg)
4
Vector Diagnostic Solution
u The Vector Diagnostic Scripting Library
The Vector Diagnostics OBD API Library
Microsoft Visual Studio Extension for Diagnostic Sequences
Vector vScriptDiagnostics
Summary
Agenda
![Page 5: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/5.jpg)
5
u Vector Diagnostic Scripting Library (VDS Library)
u .NET based library for diagnostic sequences
u Author diagnostic sequences in any .NET based language> C#
> VB.NET
u Focus
u Interaction with ECUs using diagnostics (request / response)
u Automated execution in a test environment
u Coverage
u Run diagnostic sequences
u Create, configure, and send diagnostic requests based on ODX/cdd data
u Receive diagnostic responses and interpret response data
u Convenience functions to read DTC information (including snapshot/ extended data) and to execute Security Access
Overview
The Vector Diagnostic Scripting Library
![Page 6: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/6.jpg)
6
Interoperability in Vector Diagnostic Test Tools
u Indigo
u Script player for script execution
u Script recorder to create VDS scripts from diagnostic sequence executions
u CANoe
u CANape
u vScriptDiagnostics
u Run scripts on standalone VN8810 hardware
u vFlash
u Pre- and post-flash custom actions
Platforms
The Vector Diagnostic Scripting Library
![Page 7: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/7.jpg)
7
u Microsoft Visual Studio 201x Professional or higher (highly recommended)
u https://www.visualstudio.com/
u Microsoft Visual C# Express 201x (for Desktop/Windows Development) (recommended)
u https://www.visualstudio.com/
u SharpDevelop
u http://www.icsharpcode.net/opensource/sd/
u Notepad / Notepad++ / Visual Studio Code / …
Development Environments
The Vector Diagnostic Scripting Library
![Page 8: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/8.jpg)
8
Vector Diagnostic Solution
The Vector Diagnostic Scripting Library
u The Vector Diagnostics OBD API Library
Microsoft Visual Studio Extension for Diagnostic Sequences
Vector vScriptDiagnostics
Summary
Agenda
![Page 9: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/9.jpg)
9
Overview
The Vector Diagnostics OBD API Library
u Convenience API for reading out OBD data from the vehicle
u Supported OBD Data
u OBD Discovery
u Read Powertrain Diagnostic Data (Mode $01)
u Access OBD Fault Memory (Mode $02, $03, $07, $0A)
u Read Info Type Data like VIN, .. (Mode $09)
u Read On-Board Monitoring Test Results (Mode $06)
u Supported Standards
u OBD II (SAE J1979 / ISO 15031)
u WWH-OBD (ISO 27145)
![Page 10: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/10.jpg)
10
Use Cases
The Vector Diagnostics OBD API Library
u Use Cases
u Create customized OBD reports
u OBD Logger / Diagnostic Logger
u Collect OBD fleet data via VN8810
u and much more!
![Page 11: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/11.jpg)
11
Vector Diagnostic Solution
The Vector Diagnostic Scripting Library
The Vector Diagnostics OBD API Library
u Microsoft Visual Studio Extension for Diagnostic Sequences
Vector vScriptDiagnostics
Summary
Agenda
![Page 12: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/12.jpg)
12
u Plugin for Visual Studio Professional
u Support for different project types
u VDS projects for enhanced diagnostics (based on CDD or ODX)
u OBD projects for reading out OBD data
Overview
Microsoft Visual Studio Extension for Diagnostic Sequences
![Page 13: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/13.jpg)
13
u Add / Remove Diagnostic Databases
u Variant selection
u Configuration of Seed & Key DLL
u Features
u Calculation of qualifier IntelliSense
u Debugging
Overview
Microsoft Visual Studio Extension for Diagnostic Sequences
![Page 14: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/14.jpg)
14
u ECU
u Requests
u Request Parameters
u Response Parameters
IntelliSense for Qualifiers
Microsoft Visual Studio Extension for Diagnostic Sequences
![Page 15: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/15.jpg)
15
u Export project settings to Pack&Go for transfer to VN8810 or execution in Indigo
Creation of Pack&Go
Microsoft Visual Studio Extension for Diagnostic Sequences
![Page 16: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/16.jpg)
16
u Generation of Test Project
Testing of Diagnostic Sequences
Microsoft Visual Studio Extension for Diagnostic Sequences
![Page 17: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/17.jpg)
17
u Execution of unit tests against diagnostic sequences
u Inside the development environment (Visual Studio)
u In continous integration systems (e.g. Jenkins, CruiseControl, ..)
Testing of Diagnostic Sequences
Microsoft Visual Studio Extension for Diagnostic Sequences
![Page 18: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/18.jpg)
18
u For „endoscopic“ testing in unit tests mocking frameworks are required
u Stimulating special conditions like communication errors, invalid conversions, …
u VDS extension also provides an extensive mocking framework
Mocking Framework for Vector Diagnostic Scripting Library
Microsoft Visual Studio Extension for Diagnostic Sequences
Injecting Communication Error
The next time „VIN_Read“ is executed, a communication error isreturned instead of the response from an ECU.
![Page 19: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/19.jpg)
19
VDS Extensions license comes with
u Indigo
u vFlash
u vScriptDiagnostics
Installer for extensions comes with
u Indigo
u vFlash
Installation and Licensing
Microsoft Visual Studio Extension for Diagnostic Sequences
![Page 20: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/20.jpg)
20
Vector Diagnostic Solution
The Vector Diagnostic Scripting Library
The Vector Diagnostics OBD API Library
Microsoft Visual Studio Extension for Diagnostic Sequences
u Vector vScriptDiagnostics
Summary
Agenda
![Page 21: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/21.jpg)
21
u Execution of diagnostic sequences on VN8810
Overview
Vector vScriptDiagnostics
VN8810
Kernel
Windows
WLAN / LAN
vScriptDiagnostics
Buttons, LEDs, ...
u Project/data supply
u Action documentation
u Vehicle reports
WLANu Control execution
u Select project
u Provide user input
u Visualize results
XL driver
VDSProjects
User Libraries
ECU
![Page 22: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/22.jpg)
22
u Smart Device Execution
Overview
Vector vScriptDiagnostics
![Page 23: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/23.jpg)
23
Transferring script projects to VN8810
Vector vScriptDiagnostics
![Page 24: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/24.jpg)
24
Vector Diagnostic Solution
The Vector Diagnostic Scripting Library
The Vector Diagnostics OBD API Library
Microsoft Visual Studio Extension for Diagnostic Sequences
Vector vScriptDiagnostics
u Summary
Agenda
![Page 25: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/25.jpg)
25
u Diagnostic scripts on CANoe, CANape, Indigo, vFlash (custom actions), vScriptDiagnostics (VN8810)
u Scripts created with cdd/odx data or with embedded OBD library
u VDS extensions for generating and testing diagnostic scripts
Diagnostic Scripting Solutions
Summary
![Page 26: Development of diagnostic sequences for VN8810 ... › cms › content › events › 2019 › VA › TechD… · 9 Overview The Vector Diagnostics OBD API Library u Convenience API](https://reader033.vdocuments.net/reader033/viewer/2022042311/5ed8d83b6714ca7f4768ac78/html5/thumbnails/26.jpg)
26 © 2018. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.0 | 2019-07-22
Author:Vivek JollyVector North America
For more information about Vectorand our products please visit
www.vector.com