I am trying to create a CAPL script (test module) to automate my testcases. In the system (test setup) we have all the real ECU's connected with Device/ECU under test. I have came across this function ILDisableMsg(messageName)/testDisableMsg(msgId) in CAPL which will block/stop a particular message from simulated node(IL node). Similarly, is there any way to block/stop a particular message from real ECU to DUT receiving it through CAPL script?
For your case, the correct way is to stop the physical connection with the real ECU. You could use: TestSetEcuOffline: Used to ECU Disconnect from the bus TestSetEcuOnline : Used to ECU Connect to the bus
But, this will stop the whole communication with the real CAN bus channel. To avoid such situation, try to stop sending internal signals that map your can massage from the SW side.
Don´t forget also to either stop IL block or remove the simulated massage from the configuration!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.