Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
86 views

I'm migrating an automated test workflow from Vector VtestStudio to a Python-based tool. Previously, in VtestStudio, we could execute a separate .can CAPL script in the middle of a test without issues....
Adithya Sharma's user avatar
0 votes
0 answers
166 views

I've been getting error 01-0025 "Measurement stopped due to recursive lock on environment/system variables update". I'm at a loss as to what could be causing this, as there is no recursion ...
user76400's user avatar
1 vote
0 answers
324 views

I have a CAPL script done in Windows with a shebang at the beginning as follows: /*@!Encoding:65001*/ and this warning message pops up with green highlighting on a TriggerPDU2() function. Function ...
Daemon Painter's user avatar
0 votes
0 answers
117 views

In the below CAPL code, the session start request and the seed request are being sent successfully, and we are also receiving a positive response. However, the variable ret, which should be set to 1 ...
Adithya Sharma's user avatar
0 votes
0 answers
72 views

diagRequest STDS_RQ Dummy_Req_Obj; long u32RespCode; u32RespCode = diagSendRequest(Dummy_Req_Obj); // Send the request if(0 == u32RespCode) { u32RespCode = testWaitForDiagRequestSent(...
Andy's user avatar
  • 1
0 votes
1 answer
135 views

I need a assistance for my Vector CAPL script below. I couldn't find a way to find out if a signal's value of a message that in my database (one bit) is 0 or 1. Here is the code: variables { message ...
John Williams's user avatar
0 votes
1 answer
97 views

I am trying to create a function to initiate transition from one vehicle clima mode to another. For this purpose, I have a DBC file which contains messages and corresponding signals. My goal is to ...
Amiens's user avatar
  • 25
1 vote
0 answers
64 views

I have a specific query related to UDS Testing in CAPL. Scenario I have two different ECUs which are differentiated by the ECU number in the Extended CAN ID. For a single ECU, there is no issue. I ...
ADITYA SHARMA's user avatar
1 vote
1 answer
109 views

Consider the following example: main.can includes { #include "sub.cin" } variables { msTimer tim; int number; } on start { setTimerCyclic(tim,20,20); } on timer tim { number = ...
Daemon Painter's user avatar
0 votes
0 answers
165 views

I have a replay block (in simulation setup) in CANoe that contains a 2-hour measurement. However, I only need two certain parts of this measurement and I don't want to play the entire 2-hour recording ...
NewHere's user avatar
0 votes
0 answers
201 views

I am trying to use CANoe to test real SOME/IP devices but I can only receive message and cannot transmit message to the device: The steps I followed are: Follow the 4 part simulation set up from ...
Dung Nguyen's user avatar
0 votes
0 answers
180 views

I have in my testmodule a few events like on sysvar on sysvar PICOLOG::Start { write("Temp is : %f", sysGetVariableFloat(sysvar::PICOLOG::CH_1)); } MainTest() { write("MainTest ...
Claudiu Ghise's user avatar
0 votes
0 answers
67 views

I am trying to control a power source with CANoe through RS232 Serial Communication, however when I send a command to the power source using the built in rs232Send function, no response from the Power ...
Jomy George's user avatar
0 votes
0 answers
386 views

I'm trying to send a simulated Diagnostic response via CAPL, then catch it and do something with it. This is the simulated response code (I can see it being sent in the Trace window): on key 'z' { ...
VhD's user avatar
  • 1
1 vote
0 answers
87 views

I have a set of .can files that I need to compile into executables as part of an automation workflow for work. The files are prepared for compilation in CAPL Browser, but I want to automate this ...
Im not a robot's user avatar
-1 votes
1 answer
422 views

I'm trying to send and receive data using CANoe FDX protocol. I went through this document, which has instructions on how to configure CANoe config file. I'm using CAPL for automation but I couldn't ...
Joshua's user avatar
  • 52
0 votes
1 answer
329 views

I'm trying to write a CAPL test case where I need to monitor a CAN signal BM_State under specific conditions for a duration of 7 seconds. The scenario is as follows: I want to start monitoring when ...
K.Stefan's user avatar
0 votes
1 answer
99 views

I'm new on CAPL, and I'm trying to do a sequence where a "key" is pressed and after this, I'll be able to remove a msg from network. My code actual is: on key 'a' { TestEnableMsg(DM01_ECM);...
hugo da silva gomes's user avatar
-2 votes
1 answer
1k views

I have a Python module, say module.py, which has several functions like below. """module.py""" class myclass: def foo(self, arg1: str, arg2: int) -> int: ...
kingvittu's user avatar
  • 113
0 votes
3 answers
2k views

I am writing testresults I get into an .csv now I want to get a new .csv when I repeat the test. my idea was to set the Timestamp at the End of the name of my .csv to tell them appart but I cant ...
Speidey's user avatar
  • 11
-1 votes
1 answer
1k views

I am new to CAPL and Canoe, my question is when assign value to signal in CAN message should you assign using physical signal like this: MSG.Signal_A = raw_data * scale + offset; Or just assign the ...
Dung Nguyen's user avatar
1 vote
1 answer
181 views

I wrote a script to search a keyword in a logs, which is working perfectly fine. but the thing is if i want to find another string i have to make a clone and make it for the other one. i am ...
Muhammad Faizan Bukhari's user avatar
-1 votes
1 answer
212 views

Need CAPL script to get the value of particular byte of a first CAN message which is being sent periodically over CAN bus I tried to set the local flag to some other value and added if condition to ...
user123's user avatar
  • 17
0 votes
1 answer
225 views

I am trying to write a CAPL script to compare diagnostic DID response to panel text value. How can I access second byte of a diagresponse. For ex : diagGetComplexParameter(Resp_F121,"...
Nivedita Penugonda's user avatar
0 votes
0 answers
515 views

I attempted to build a CAPL DLL file for CANoe following the CMake example provided in the Vector Help documentation. Additionally, I used similar steps from this githup repository: huangdong332/...
Mohamed Hamed's user avatar
0 votes
1 answer
434 views

Since I don't have an arXML file, I have to defining a method: Client: variables { DWORD gMc; // global method call handle } on start { Initialize(); } void Initialize() { DWORD aep; // ...
yi ti's user avatar
  • 1
0 votes
1 answer
1k views

I'm currently working on a CAN network simulation using CANoe, and I am writing CAPL scripts to monitor the cycle time of CAN messages. My setup involves multiple CAN buses that share the same message ...
slobel's user avatar
  • 1
0 votes
2 answers
520 views

What I'm trying is to separate function definitions from main .can file. The problem is, when including same .cin file in different .can files, the multiple definition compile error occurs. I've tried ...
Tracy Willson's user avatar
0 votes
0 answers
324 views

I'm encountering an issue while attempting to send an automotive Ethernet frame using the packet builder feature in CANoe. Despite configuring the frame with the necessary IP, UDP, and IPv4 parameters,...
Mohamed Amer's user avatar
2 votes
2 answers
1k views

I am currently developing test cases in CANoe using CAPL Language. My objective is to capture and save the entire CAN Frame as it appears on the trace, rather than just the signal it contains. While I ...
Mohamed Hamed's user avatar
0 votes
0 answers
312 views

I'm working on the test case implementation in CANoe using CAPL. Because I have to upload the test report in another system I need the csv file. Right now I can only see the test results either in ...
Bace Gosho's user avatar
0 votes
0 answers
2k views

I am trying to control a power source with CANoe through RS232 Serial Communication, however when I send a command to the power surce using the built in rs232Send function it results in one but the ...
Zaid Mansour's user avatar
-1 votes
1 answer
893 views

I already have the dll file but how to add that into canoe and use them? i have added the dll file into the canoe location (Diagnostic/ISO TP ->Diagnostic layer->security Access) . but when iam ...
user23806054's user avatar
0 votes
0 answers
519 views

I Have added my dll file into capl code. when trying to use the function in my capl script iam getting this error "Local RT kernel: The connection is broken." I would like to know if anyone ...
user23806054's user avatar
1 vote
1 answer
262 views

Failed to select or prepare CAPL function: 'Check_msg': (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2147418113), None) Error details: (-2147352567, 'Exception occurred.', (0, None, ...
user23726596's user avatar
-1 votes
1 answer
563 views

Trying to take logs in .pcap format n post process from trace window, I'm using startlogging and stoplogging capl functions as of now . When I'm stopping it pauses and resumes when I start again. I ...
user123's user avatar
  • 17
-1 votes
1 answer
609 views

Can someone help me with CAPL script to find FIN /RST messages over canoe trace window? This is for DOIP module - I want it to check the RST/FIN from tester as well as ECU(as we specify) Basically we ...
user123's user avatar
  • 17
1 vote
1 answer
340 views

In order to cover the requirements I have to send UDS messages via transport protocol. The idea is to test responses to abuses such as sending a SF of length FFF or 6 as well as sending multiple ...
Killer5's user avatar
  • 11
0 votes
1 answer
573 views

I know it is a basic question but I didn't find anywhere an explication and I want to understand why sometimes the code are written using . or sometimes use ::. For example: Msg1::Signal Msg1.Signal ...
Bogdan R's user avatar
0 votes
1 answer
480 views

When simulating running in Canoe, the software freezes, which I believe is the reason for the while. However, in the while code segment, I have written the logic to stop the loop, and I don't know why....
T0Night's user avatar
0 votes
1 answer
895 views

Simulating busoff using CAPL. Usually we create busoff using Shorting CANH & CANL, CANH to GND, CANL to VBAT, etc. But here I want to create busoff using the CAPL functions? Is it possible to ...
Cade Amanstrang's user avatar
0 votes
0 answers
2k views

I need to stop CANoe simulation automatically when a condition is reached in my CAPL code. Are there some built-in functions to achive that or other option? I've tried stop() but it is not working. If ...
CAPLUser's user avatar
0 votes
1 answer
1k views

I"m using CANoe and a CAPL script to perform statistic on CAN Frame. I want to do that in offline mode playing a log file. In offline mode, I want to Start a replay file (.blf) from CAPL program ...
user22922218's user avatar
0 votes
1 answer
782 views

I want to capture response of this request 27 01 but unfortunately I am getting 00 00... I can see the request and the response on trace with positive response , thus I can see the seed on trace as ...
mohcine antouri's user avatar
0 votes
0 answers
2k views

I am new to CANoe/CAPL. I am trying to display the data of the received message onto a GUI. This will be a message that is 64 bytes, so I would like multi-line support. Thus far, all I have seen as an ...
MartyM14's user avatar
0 votes
0 answers
603 views

I need to define a struct in CANoe, afterwards I need to create system variables of those structs, that’s ok but I need to use the struct as parameter to have a single method for all struct. for ...
CAPLUser's user avatar
0 votes
1 answer
867 views

I have difficulty reading full length of data bytes via trace interface when the data bytes I need are over the upper limit which traceface can show. I want to using service 22 to read a trail of VIN ,...
Mori's user avatar
  • 1
-4 votes
1 answer
2k views

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 ,...
mohcine antouri's user avatar
0 votes
0 answers
541 views

When I write code for CAPL language but format of souce code not beauty, So I want to find the way to reformat code in vs code. I was try with prettier but It not operation
XuanDang's user avatar
2 votes
2 answers
992 views

I'm working on a study about CRC in ISO CAN-FD but I'm having issues with the calculation of the actual check sequence. First of all, I have carefully read the specification ISO 11898-1:2015 that ...
Phil Snow's user avatar

1
2 3 4 5
8