CANoe编译CAPL出错:“System event handler not allowed in test module or test units”

问题描述

在Simulation Step界面的右面框中,创建CAPL模块,写完程序编译报错:System event handler not allowed in test module or test units
测试模块或测试单元中不允许使用系统事件处理程序

CANoe编译CAPL出错:“System event handler not allowed in test module or test units”_第1张图片
具体程序如下:

/*@!Encoding:936*/
includes
{
   

}

variables
{
   
  msTimer Timer_TxMsg_0x123;
  message Send_Time_Message Msg_Tx_0x123;
}

on start
{
   
  setTimer(Timer_TxMsg_0x123,

你可能感兴趣的:(CAPL编程,经验分享,车载系统,网络,编辑器,开发语言)