Questions tagged [canoe]

CANoe is a comprehensive software tool for the development, testing and analysis of entire ECU networks and individual ECUs

CANoe (developed by Vector Informatik GmbH) is a comprehensive software tool for the development, testing and analysis of entire ECU networks and individual ECUs (used mainly in the automotive industry). It supports you throughout the entire development process – from planning to the startup of entire distributed systems or individual ECUs. CANoe's versatile functions and configuration options are used by network designers, development and test engineers at OEMs and suppliers.

CANoe enables the user to simulate ECU networks, supporting many bus systems and protocols, such as- CAN, LIN, FlexRay, (automotive) Ethernet, MOST, CANopen, AFDX, CANaero.

Tag usage:

  • Use this tag for the question regarding the CANoe software tool. Please note that hardware questions are off-topic and should be asked at https://electronics.stackexchange.com instead.
  • If you are using a particular programming language (say, ), you should add that tag as well.
  • If the question is about higher layer protocols such as CANopen, ISO11783, J1587, J1939 or SmartCharging, the tag should be combined with the applicable higher layer protocol tag.

Links:

306 questions
2
votes
4 answers

CANoe CAPL struct initialization

I'm having trouble with declaration and initialization of a struct in Vectors CANoe CAPL. I already know structs from C/C++ but it seems the declaration is a little different in CAPL. The Vector help function isn't really revealing. I have a number…
StealthScream
  • 43
  • 1
  • 5
2
votes
1 answer

Invalid type in dll but I don't see the error

CAPL_DLL_INFO4 table[] = { {CDLL_VERSION_NAME, (CAPL_FARCALL)CDLL_VERSION, "", "", CAPL_DLL_CDECL, 0xabcd, CDLL_EXPORT }, ... {"dllTEST",(CAPL_FARCALL)GetAttribute,"CAPL_DLL","...",'I', 5, "IIICI", "\001\001\001\100\001",{ "x","x","x","x","x"…
R. Joiny
  • 309
  • 7
  • 17
1
vote
0 answers

Set string systemvaribale in CANoe from python

I am trying to set a system varibale in CANoe from python over COM. I have managed to set a integer system varibale from python like this When setting the integer system varibale I am doing this ( which works) self.Application =…
Ostpanaka
  • 75
  • 8
1
vote
1 answer

CANoe error in write window: "Local RT Kernel: Connection is lost"

Iam using CANoe v16 and simulating a configuration with a couple of CAPL nodes. I have been succesfully running the configuration for weeks now. Since today morning, all I can get when trying to run the simulation is this error from System: "Local…
sandc
  • 11
  • 5
1
vote
0 answers

what is Program /46-0106 Error in node Veh1 on channel WLAN 1 in C2X IL CAPL function C2xGetTokenInt: Protocol "EU_ApplMsg::DENM" not found

I'm trying to write a counter which is sending a msg+CTR but when I'm running the program it's saying this type of error "Program / Model 46-0106 Error in node Veh1 on channel WLAN 1 in C2X IL CAPL function C2xGetTokenInt: Protocol…
1
vote
0 answers

How to update another byte of a CAN message while changing a byte in real-time?

I'm new to CANoe and CAPL scripting. I need to update a byte of CAN message based on a change in another byte through a panel. I added a CAPL script for the automatic change/update but when I send/update the byte through the panel it sends the…
Keshav
  • 93
  • 1
  • 1
  • 10
1
vote
2 answers

Can't get accurate value for CANoe environment variable from C# application

I have a C# application that can control CANoe through its COM interface. I have it working for the most part, except what I'm about to describe below. From section 2.4 in this document…
1
vote
0 answers

Receive UDP message using CANoe and C#

we're trying to set up a test bench in Vector's CANoe for a ECU that uses BroadR-Reach. Therefore, we want to send and receive UDP messages. We tried with the UdpClient class and the BeginSend/BeginReceive methods. Sending messages works, but for…
mwolfart
  • 11
  • 2
1
vote
2 answers

CAPL associative array with message type

I'm trying to make CAPL associative array which could hold e.g. 10 most recent CAN messages for each ID like below: message[10] messages[long] Is there possibility to make associative array in CAPL, where key would be some integral type value, and…
Juhas
  • 178
  • 2
  • 13
1
vote
1 answer

Reset the time stamp to zero with CAPL

I am trying to automate with a CAPL for replaying different .asc files saved all of them in one specific path, I want to replay them one by one to generate new .asc log files but I would like to know if it is possible to reset to zero the timestamp…
1
vote
1 answer

How can I use additional libraries in a c#.net testproject embedded in canoe

I'm developing a testscript for CanOE as a c#.net testproject and I have to use some external libraries and a reference to another project in the same solution. My project compiles very well in visual studio and I can then run it in CanOE, but when…
Krossi
  • 81
  • 6
1
vote
1 answer

How to open a specific CANoe configuration through command prompt without using VB scripts?

Is there any possibility to open a specific CANoe configuration through command prompt? I tried opening a configuration like sample.cfg through command prompt by using the command: C:\Users\Downloads\Sample>CANoe64 sample.cfg With this command, I…
suryadevi
  • 77
  • 3
1
vote
2 answers

How to open a excel file/Log file through CAPL for viewing

Whenever the CAPL script is executed, I want to open an excel file or log file. For example, there is a file named " Standard_details.xlsx or Logfile.txt". once the CAPL script is executed, I need this file to be opened for the user to read. How to…
suryadevi
  • 77
  • 3
1
vote
1 answer

String hex escapes (\xXX) don't work for values > 127 in CAPL

I'm trying to define some test data using string literals in CAPL. Most of the data is ASCII, but occasionally I need raw bytes, which I encode using hex escape sequences. This worked until I tried to encode values above 127. Here's a test…
Dmitry Grigoryev
  • 3,156
  • 1
  • 25
  • 53
1
vote
1 answer

Read the current channel assignment using the CANoe COM Api

We are using the COM API of CANoe together with Python comtypes automize CANoe in a complex test environment. At some point the CANoe channel assignment was not stable and we asked ourselves if it might be possible to read the CANoe channel…
Aleph0
  • 5,816
  • 4
  • 29
  • 80
1 2
3
20 21