CANape ASAM-MCD3 Interface Version Application Note AN-AMC-1-103

Similar documents
Using LabView via the CANape COM Interface Version Application Note AN-IMC-1-036

A MATLAB Toolbox For ASAM MCD-3MC And ASAM MCD3 Measurement & Calibration Automation

Automation Desk 3.3 Tool Set - Test Automation Software. P.BALAJI Software Engineer L&T IES, Mumbai

Data Declaration System

This Support Note describes how to configure the trace window to analyse CCP or XCP communication in CANape.

Tutorial - Exporting Models to Simulink

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2005

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010

Microsoft SharePoint Server

Opening Microsoft Visual Studio. On Microsoft Windows Vista and XP to open the visual studio do the following:

A Guide to Installing OLI Software

INCA-FLEXRAY V7.2 User Manual

As CCS starts up, a splash screen similar to one shown below will appear.

APPENDIX A. CODE COMPOSER STUDIO (CCS) v5: A BRIEF TUTORIAL FOR THE DSK6713

ECU Measurement and Calibration in a Real-Time Test Environment. Roland Magolei National Instruments Engineering GmbH Embedded Networks

As CCS starts up, a splash screen similar to one shown below will appear.

ODX Live. How to Setup a Standards-based Diagnostic Process Chain

What s new in ASAM AE HIL API V1.0.0?

Skillport 8 Updates CSU End User Guide

MDF4 Lib. Product Information

Introduction. Key features and lab exercises to familiarize new users to the Visual environment

Developing Intelligent Apps

1 About this Support Note

Lab 1: Introduction to C Programming. (Creating a program using the Microsoft developer Studio, Compiling and Linking)

ION Demo Kit. Quick Start Guide PERFORMANCE MOTION DEVICES

Visual C++ Tutorial. For Introduction to Programming with C++ By Y. Daniel Liang

INCA-FLEXRAY V6.2. User Manual

Exchange Address Book Order

Hello World on the ATLYS Board. Building the Hardware

ALTIRIS Console 6.5 Overview

OTX ODX. MVCI-Server. Architecture. Diagnostic Sequences. Diagnostic Database. Diagnostic Runtime System

INCA ASAM ASAP3 Interface. User's Guide November 2010

From Signal to Service

In the table below you will find the icon conventions used throughout the Support Note. This icon indicates notes and tips that facilitate your work.

2730 : Building Microsoft Content Management Server 2002 Solutions

Getting Started. 1.1 A look at Developer Studio

Cisco recommends that you have knowledge of FireSIGHT Management Center, Sourcefire User Agent, and Active Directory.

Data Declaration System

Generating ASAP2 Files

TREX Set-Up Guide: Creating a TREX Executable File for Windows

MySQL On Crux Part II The GUI Client

Mercury QuickTest Professional. Installation Guide Version 9.0

QUICK START. DevCom2000 User Manual

Print Station. Point-and-Click Printing WHITE PAPER

Getting Started With DO Analyser Software Version 4

ECE QNX Real-time Lab

Microsoft SQL Installation and Setup

In the table below you will find the icon conventions used throughout the Support Note. This icon indicates notes and tips that facilitate your work.

Fleet Manager 2002 Professional Network Configuration Guide

ASAM ASAP3 Interface User s Guide

Outlook Integration. Installation & Configuration

Java: Comment Text. Introduction. Concepts

Quick Installation Guide: Windows

Microsoft Windows SharePoint Services

CANape Option Bypassing

FX SERIES. Programmer s Guide. Embedded SDK. MN000540A01 Rev. A

Configure Eclipse with Selenium Webdriver

CloudHealth. AWS and Azure On-Boarding

Mercury WinRunner. Installation Guide Version 9.2. Document Release Date: February 26, 2007

Business Insight Authoring

Instruction: Download and Install R and RStudio

Supporting Non-Standard Development Configurations

Downloading & Installing Audacity

AURIX family and AUDO Future, AUDO MAX

INCA-LIN V6.2. User Manual

DEVELOPING OOSIML SIMULATION MODELS. Using Codeblocks

TriCore Free Entry Tool Chain. AURIX family and AUDO Future, AUDO MAX

Last Updated: FRC 2019 BETA

Table of Contents. Chapter Pages (6 16) Setting and Configuration

Using Vector CANape with Raptor New Eagle Products, Inc.

EMC Ionix Network Configuration Manager Version 4.1.1

INCA-MIP V16.1 for INCA V7.2 User s Guide

: 20488B: Customized Developing Microsoft SharePoint Server

INCA-LIN V7.2 User s Guide

Simulation-based development of automotive control software with Modelica

Running Mekorma MICR on Windows Vista

Sql Script To Change Table Schema Management Studio 2012

SWP-0015 Setting Up and Maintaining MSDTC. Revision: 5. Effective Date: 8/19/2010

Update Service for EASY-SOFT

SignArchive 2.5. User Manual SOFTPRO GmbH, All rights reserved. Version 0.4

Call: Hyperion Planning Course Content:35-40hours Course Outline Planning Overview

Design Verification and Calibration Based on Physical Measurements for Electrical Vehicles

SHAREPOINT 2013 DEVELOPMENT

Code Blocks Cannot Find Compiler Executable Windows 7

EDEM Dynamics Coupling Quick Start Guide

Documentation on File Management for website

Using OpenGL & GLUT in Visual Studio.NET 2003

Installing and Configuring System Center 2012 Operations Manager SCOM

The following steps will allow you to install and quickly begin using DevCom:

POWERLINK Slave Xilinx Getting Started User's Manual

Contents. Common Site Operations. Home actions. Using SharePoint

In the table below you will find the icon conventions used throughout the Support Note. This icon indicates notes and tips that facilitate your work.

Installation Guide. Data Management Multilanguage Software for the CLA-1 Luminometer Version 2.5. Doc. No Rev.

WMI log collection using a non-admin domain user

EL-USB-RT API Guide V1.0

UNICORN Administration and Technical Manual

Developing Microsoft SharePoint Server 2013 Core Solutions

IBM DB Getting started with Data Studio Hands-On Lab. Information Management Cloud Computing Center of Competence.

ChipScope Inserter flow. To see the Chipscope added from XPS flow, please skip to page 21. For ChipScope within Planahead, please skip to page 23.

Transcription:

Version 3.2 2018-06-19 Application Note AN-AMC-1-103 Author Restrictions Abstract Vector Informatik GmbH Public Document This is document is a general introduction explaining the CANape ASAM-MCD3 Interface (CANapeAPI). Table of Contents 1 Overview... 2 1.1 Detailed Programming Documentation... 2 2 Use Cases... 2 2.1 Use Case 1: CANape Running on Local Host... 3 2.2 Use Case 2: TCP/IP Remote Control of CANape... 4 2.3 CANape in ASAP3 Mode... 4 3 Creating local host client application in MSVC++ 2010... 5 3.1 Creating a MSVC++ Project... 5 4 Contacts... 7

1 Overview This application note offers the reader a basic introduction to the CANape API. In order to understand the CANape API specified in this documentation, the reader must first be familiar with: > CANape Measurement, Calibration, and Diagnostic Tool > C/C++ Programming Language > ASAM MCD-3 Interface Readers that are not already familiar with the CANape tool, or C/C++ based programming languages will find this document insufficient for developing an understanding of how to build applications which utilize the CANape API. For more information on the ASAM MCD-3 standard navigate to http://www.asam.net/. For detailed programmatic examples using the CANape API please refer to section 1.1 below. 1.1 Detailed Programming Documentation Within every installation of CANape lies a more detailed programming document named the CANapeAPI Help. In order to access the CANapeAPI Help document navigate to your Windows Start menu and click on the CANapeAPI Help icon (Figure 1.0 below). This documentation contains a very comprehensive description of the CANapeAPI class hierarchy, along with example code for all class methods and properties. Figure 1.0 2 Use Cases There are two possible ways to implement the ASAP3 interface with CANape. The first use case involves running CANape on your local machine. This would involve CANape and the client application running on the same local host. The second use case implements a TCP/IP remote connection between CANape (Server) and a client application (Figure 2.0). Copyright 2018 - Vector Informatik GmbH 2

Figure 2.0 2.1 Use Case 1: CANape Running on Local Host In order to develop a client application using the CANape API it is necessary to link your development environment to the CANapAPI.LIB in order to reference the CANapAPI.DLL. Local host ASAP3 functionality is realized with this library (Figure 3.0). Figure 3.0 The CANapeAPI.DLL provides the following functionalities: > Exchange of data between CANape and other external applications > Creation of an mdf (Measurement Data Format) file to log Measurement Data > Automation of calibration sequences > Execution of script files and services Copyright 2018 - Vector Informatik GmbH 3

2.2 Use Case 2: TCP/IP Remote Control of CANape In order to develop a remote client application using the CANape API it is necessary to link your development environment to the CANaptcp.LIB in order to reference the CANaptcp.DLL. Remote TCP/IP access to CANape is realized with this library (Figure 4.0). Figure 4.0 The CANaptcp.DLL provides the following functionalities: > Encompasses all CANapAPI.DLL functionality > Remote TCP/IP access instead of local host access 2.3 CANape in ASAP3 Mode Originally, the acronym ASAP referred to a European task force which focused on standardization of tools involved in the measurement, calibration, and diagnostics of electronic control units. The ASAP3 specification was a standard defined for the interfacing of a measurement and calibration system to an automation system in order to provide the capability of automatic computer controlled testing. Access to the ASAP3 interface is possible via two methods: > CANape API > CANape COM Interface The CANape API is a C/C++ implementation of the ASAP3 interface. Access to ASAP3 functionality is realized by CANapeAPI.DLL routines. The CANape COM interface encapsulates the most commonly used subset of the CANape API. When developing a CANape API application, CANape is launched in ASAP3 mode. Further, there are two distinct ASAP3 modes when CANape is launched: non-modal mode and modal mode. Activating CANape in modal mode presents an ASAP3 Active dialog box to the user (Figure 5.0) preventing manual interaction with CANape. Launching CANape in non-modal mode provides connection to the automation system via CANape s manual interface. Figure 5.0 Copyright 2018 - Vector Informatik GmbH 4

3 Creating local host client application in MSVC++ 2010 The following tools and components are used in this example: > Microsoft Visual Studio C++ 2010 Professional Edition > CANape v13.0 > CANapAPI.DLL > CANapAPI.LIB > CANapAPI.h > test_console.cpp > CANape s XCP Demo Where are these files and demos located? With every installation of CANape 3.1 Creating a MSVC++ Project Using Microsoft Visual Studio create a C++ Win32 Console Application. Next, in order to use the CANape API functionality the following steps must be taken: 1. Include the CANapAPI.h header file in your project along with the test_console.cpp file Copyright 2018 - Vector Informatik GmbH 5

2. Navigate to your project s Property Pages then Linker->General page and make sure the Additional Library Directories points to the correct folder path that contains the CANapAPI.LIB 3. Next, navigate to Linker->Input page and enter CANapAPI.lib for Additional Dependencies Copyright 2018 - Vector Informatik GmbH 6

4 Contacts For a full list with all Vector locations and addresses worldwide, please visit http://vector.com/contact/. Copyright 2018 - Vector Informatik GmbH 7