博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
How to Create the CAPL DLL and integrated it into CANOE
阅读量:4213 次
发布时间:2019-05-26

本文共 1099 字,大约阅读时间需要 3 分钟。

 

Open CAPL DLL Demo project with visual studio

Location: C:\Users\Public\Documents\Vector\CANoe\8.5(x64)\CANoe Sample Configurations\Programming\CAPLdll\VS 2005 Project

 

Add your Implementation in capidll.cpp file

 

Note: you also can add the Implementation to other Cpp file,but need to include some Header file

 

If the function need to be exported, do below things

1.     Add Key word for the function CAPLEXPORT farCAPLPASCAL

2.     Find below table then add your functiondescription in it

 

 

1st: The function name of CAPL

2nd: The function name which want to be exported

3rd: The Class Name of DLL

4th: The description of function

5th: The Type of result value

    L :long, 

    V:void,

    B:Array,

    D: int

 

6th: The number of input parameter

7th: The Type of input parameter

8th: If the input parameter contains Array, we should use\001 to file it, for other type we can use \000

9th: The name of input parameter

 

Compiling the project and ouput CAPL DLL

To integrated the CAPL DLL

  To Use #Pragma toload the DLL, FOR My dll there are 3 function can be used by CAPL

 

To Defined the automatic Test case to visit these functions

 

你可能感兴趣的文章
Android USB Tethering的实现以及代码流程
查看>>
有关电池充电和LCD驱动的好地方
查看>>
USB规范浏览--设备和主机规范
查看>>
男人的品位--我们自己的最求
查看>>
Android (Linux) Suspend流程
查看>>
LINUX时间管理
查看>>
定时器的使用
查看>>
为Android加入busybox工具
查看>>
使用技巧busybox
查看>>
如何查看与/dev/input目录下的event对应的设备
查看>>
Linux系统时间与RTC时间
查看>>
TF卡和SD卡理解
查看>>
在 Java 中应用设计模式 - Factory Method .
查看>>
Linux Kernel Boot CMDLINE Processing
查看>>
字符杂项设备(miscdevice)
查看>>
bootloader-bootable解析
查看>>
bootloader (LK)&&android lk bootloader中相关修改指南
查看>>
SD卡驱动分析--基于高通平台
查看>>
SD Card 驱动流程分析
查看>>
Linux之debugfs介绍
查看>>