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
0
votes
1 answer

Which is the correct code structure to be followed for getting the best output using TestModules in Canoe?

I am using CANoe 10.0 to do some Diagnostic testing and I have to generate reports for the tests. So, I am using Test Setup to create my test cases using CAPL. I know that the test starts from the function "MainTest". After this, I don't know how to…
Shyam
  • 649
  • 1
  • 5
  • 20
0
votes
3 answers

CAPL Test Functions and Normal Functions in CAPL

I want to know the difference between the "CAPL Test Functions" and normal functions (Like in C or C++) which can be used in CAPL ?? Under which scenario should I use TestFunctions ?? Thanks.
Niz
  • 3
  • 1
  • 2
0
votes
1 answer

Deactivate Hot spots in CanOe using it's COM interface

my issue is to deactivate a loggingblock in CanOE by using it's COM interface. As programming langugage I'm using Python. I have Access to the LoggingCollection and can set the filename. Now I will deactivate this block, but I can't find a way to do…
0
votes
1 answer

Driver: Reception overrun: Messages are lost

The above two pictures are my measurement and simulation setups respectively. The Replay block plays a blf file of length 6 minutes containing total of 2,413,161 CAN frames from two CAN channels. The above picture explains the bench setup.…
Kumar
  • 616
  • 1
  • 18
  • 39
0
votes
1 answer

Alternative to CAPL Function "TestWaitForDiagRequestSent"

I'm looking for a function in CAPL that provides the same functionality as the above-mentioned function. This function is used to wait for confirmation about whether a Diagnostic request was successfully sent or not. The parameters passed in are…
0
votes
1 answer

Method of listening to UDS message on CAN 1 and outputting control code on CAN2 in CAPL

I'm a complete amateur in programming but have some experience with operating Vector tools and long time familiarity with automotive CAN networks and UDS. I can send a control message to operate the relay on a RAD I/O interface on bus 2 manually (ON…
0
votes
0 answers

Using a C# based tool to send Diagnostic Requests to an ECU in a CANoe Configuration

I want to send customized diagnostic requests to an ECU in a specific CANoe configuration, and receive the responses of that request, through an external tool (to be developed by me in C#, Visual Studio). I know of libraries like Vector.Diagnostics…
0
votes
2 answers

How can I write to a XCP parameter using Canoe .XCP and CAPL?

How can I write to an XCP parameter using Canoe .XCP and CAPL script? We can measure these parameters but can not change them, is it even possible?
Neil Moniz
  • 23
  • 1
  • 2
0
votes
1 answer

Assign Signal names dynamically from a String in CAPL

I have a string that stores a signal name extracted from an excel file. I want to dynamically assign the name of the signal using the string, if I have many such signals. For example, if I have a signal called 'speed' in my dbc file, and I have a…
VIyer
  • 3
  • 1
  • 2
0
votes
0 answers

Checking correctness of CANoe configuration file chosen and providing a notification on the Frontend for wrong configuration file

When user is selecting a wrong CANoe cfg file for a particular variant, user should be notified of the wrong cfg file. The correctness of the cfg file should be validated against the content( for example: based on the dbc files loaded into each…
0
votes
2 answers

Sending cyclic message using CANoe - IL DLL

I have a configuration setup with two CAN nodes and an attached database. I have added a CANOEILNLVECTOR.dll to both the nodes. By adding this Dll file all my messages are sent cyclic as I see in trace window. Now I set some value for a signal in a…
Nikhil
  • 139
  • 1
  • 5
  • 14
0
votes
1 answer

CAPL - Get signal value description from dbc

I'm searching a solution in CAPL that allows me to get the value description of a signal described in the dbc. For example, I have the following signal that has the indicated value: msgStatusCCAN1.PowerMode = 1 msgStatusCCAN1 is the…
0
votes
1 answer

CAN Busmaster DataField Decoding message

I need to parse and decode the data field from a CAN Message. I sent the transmitted the request and i got back the data field : 02 01 20 00 00 00 00 00 Now I have to decode it in a SWITCH, the first byte is the length(02) but how I split the…
0
votes
2 answers

how to define a CAPL function taking a sysvar argument

In Vector CANoe, is it possible to define a function that takes a system variable argument like the system function TestWaitForSignalMatch()? For my use case it is not sufficient to supply the current value of the system variable because I want to…
Bodo
  • 9,287
  • 1
  • 13
  • 29
0
votes
1 answer

Sending / Receiving / Configuring TCP/IP Protocol Suite Request / Response Packets in CANalyzer using CAPL

We have requirement to test TCP/IP Protocol Suite ( TCP/UDP/IP/ARP/ICMP/Ethernet) using CANAalyzer / CANoe with CAPL and have below queries :- Are there any API provided to send / receive / configure different protocols packets within TCP/IP…
nja
  • 67
  • 2
  • 13