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
1
vote
1 answer

How to modify message data in CAPL if message is generated by Interactive generator block?

I am using CANalyzer. I am transmitting CAN message using Interactive Generator block. I use IG to modify signals in transmitted message by hand. I need to automaticaly calculate checksum (the last byte in the message) every time the message is…
ZM81
  • 31
  • 1
  • 4
1
vote
1 answer

Automatically generate nodes in a Canoe configuration simulation

I am trying to automate and create a Canoe simulation. My usecase : I have a configuration (LibraryTest.cfg) with a CAN Network and a node ACAN in the network. I want to create another node BCAN automatically into the existing configuration along…
hellogeek
  • 13
  • 6
1
vote
1 answer

Is there a CAPL function to access the hardware configuration?

I am setting up a test environment using CANoe. Depending on the test that I want to run, I need to configure properly the hardware just before running the test. I was able to use the panel to configure the hardware and export the settings for…
Louis Caron
  • 1,043
  • 1
  • 11
  • 17
1
vote
0 answers

Using the Request and Ecu classes in the Vector.Diagnostics (for CANoe) assembly for C#

I am trying to create a Diagnostic Service Request specifying only a PDU, and print back the corresponding qualifier of that service using the ToString function of the Request Class, on C# in Visual Studio. Both the Ecu class and the Request class…
1
vote
1 answer

Set control Location property programatically with Capl script on Canalyzer

I have designed a panel using Vector Panel Designer so I can display it in CANAlyzer. Now I am trying to set the location of a Picture Box control based on the value of a CAN signal. I have tried several options but did not succeed. My panel is…
AdriRomas
  • 201
  • 3
  • 9
1
vote
1 answer

CANoe CAPL function: clear trace window

I'm currently trying to find a way to automate the clearing of the trace window in CANoe. I've had a look on the help menu within CANoe but there's nothing apart from a manual x option available on the Trace window itself. Does anyone have any…
SamL
  • 133
  • 2
  • 3
  • 16
1
vote
2 answers

How to send multiple diagRequest messages in Vector CAPL?

I'm currently writing some CAPL code that is executed when clicking a button. It shall send multiple Diagnostic Requests. But CANoe is always telling me, that it can only send one request at a time. So I need to delay the requests. The…
Tim L.
  • 13
  • 1
  • 3
1
vote
1 answer

How to create a com object for a specific version of application using python comtypes.client?

I am trying to automate canoe application. I am trying to create a com object. But I have 2 different Canoe versions 7.6 and 8.2. By default it opens 7.6 version of Canoe. How do I make sure it opens 8.2 Version by default? import…
user1681102
  • 193
  • 2
  • 4
  • 13
1
vote
1 answer

Using doxygen with CAPL (CANoe)

i am currently working with CAPL (CANoe) and was wondering, if there is a way to use doxygen to document my CAPL-code. I have used doxygen before, on a project working with C++ and was very happy with it. I have found something that sounds very…
user9355807
1
vote
2 answers

How to generate signal possible values from dbc as a generic output with CAPL

I am using Canoe version 10.0 and I wanted to ask if there is a smart way to generate the optional signal's value from the database to other value. Right now I am doing it hard coded but it's getting annoying doing so for each signal. Especially…
Rubins
  • 11
  • 5
1
vote
3 answers

Delay function in CAPL apart from testwaitfortimeout()

I have a CAPL test node that controls a GPIB power supply. This CAPL generates a signal that is modified each 3 ms. My CAPL looks like this: ... testcase wavGenerator() { GPIBWrite(myDevice, "VOLT", voltValue); testwaitfortimeout(3); …
PySerial Killer
  • 428
  • 1
  • 9
  • 26
1
vote
3 answers

how to redirect the trace window output to a file in CANoe

i would like to get all the data present in the trace window to my text file, even log recording can help but it can't display date and time in that file, so i've a plan to copy entire trace window to file. i've tried to do ctrl+a and paste in…
Harshan.B
  • 93
  • 5
  • 13
1
vote
1 answer

unable to print date and time in canoe logs?

is there any way to print date and time for each log in canoe ??? example: right now for me its printing like below "8754.876831 CAN 1 AAA YYYY CAN Frame Tx 8 8 00 00 00 00 00 00 00 00" i would like to…
Harshan.B
  • 93
  • 5
  • 13
1
vote
1 answer

CAPL Functions for CAN Trace Control

Are there CAPL functions to manage the traces in my configuration? I want to clear a trace when my simulation starts and save it when a procedure ends. For instance: clearTrace("trace_name"); ... saveTrace("trace_name", "format.xxx"); I have been…
PySerial Killer
  • 428
  • 1
  • 9
  • 26
1
vote
5 answers

CAPL #include relative path

I am trying to include a *.can file in a CAPL, but I have to set the absolute path C:\Users\myuser\canoe\simulations\projectX\Function Test\playground.can I want to use a relative path to include it, but I am not sure what is the correct convention…
PySerial Killer
  • 428
  • 1
  • 9
  • 26