Questions tagged [capl]

Vector Communication Access Programming Language (CAPL), the C-like programming language developed by Vector Informatik GmbH for modelling network nodes, evaluation, and testing programs in real-time relevant simulations managed by CANoe and CANalyzer.

363 questions
-3
votes
0 answers

CAPL script to produce a Bus off on can Network

Actually I am trying to produce a BUS off using CAPL predefined functions. I am sending error frame using this function canOutputErrorFrame(can1.errorframe,8,0) repetitively so the counter reach 255 , but I saw that the network doesn't change its…
-3
votes
2 answers

Error: system event handler not allowed in test module

When I run my Script I get the following error, Compiling file 'ZTS_Zero_To_Sixty_Analysis.can' Error 1176 at (54,1): System event handler not allowed in test module or test units. Error 1176 at (290,1): System event handler not allowed in test…
rohit.ranjan
  • 19
  • 2
  • 7
-4
votes
2 answers

How to send cyclic can message using capl in Capl test module

Hi can any one help me how to send the below mentioned airbag_01 message should be sent cyclically in main test. which test is done capl test module in void maintest() message Airbag_01 Airbag;
1 2 3
24
25