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
6
votes
2 answers

Python DispatchWithEvents results in attribute error:

Using dispatch as win32com.client.Dispatch works fine, but produces attribute error: from DispatchWithEvents call win32com.client.WithEvents, problem exists until Temp\gen_py folder is removed I can remove the Temp\gen_py folder at the very…
Om Choudhary
  • 492
  • 1
  • 7
  • 27
6
votes
6 answers

Start and run CANoe from Command Prompt

Is it possible to start and run Vector CANoe from the Command Prompt and/or by using any other external script?
5
votes
2 answers

How to include a .h or .dll file in CANoe/CAPL

I want integrate a header .h or .dll file in CAPL (concretly Visa32.dll, visa.h or sicl.h) to control a multimeter 34461A. How can I include the .h files or .dll file in CANoe? I created an ECU module called multimeter. Thanks,
eloy0107
  • 77
  • 1
  • 2
  • 8
4
votes
3 answers

CANoe tool DBC configuration

I have been trying to create a DBC file in CANoe, but in the latest demo version 13.0 I am not getting any option for environment variables. Can anyone please help me finding or guiding me to how to get the environment variables in the DBC file?
4
votes
2 answers

How to call CAPL general functions from Python 3.x?

Issue I'm trying to call CAPL general functions (in my case timeNowNS) but I don't know if it's possible. What I'm using? I'm using Python 3.7 and Vector CANoe 11.0. The connection is done using the .NET CANoe API. This is how i've accesed the…
Stefan Muresan
  • 101
  • 2
  • 10
4
votes
1 answer

Is there a way to automate BLF to CSV conversion in Vector CANoe?

My first approach was using python-can (as it added support for parsing BLF files with 2.0.0 release) like this: import can filename = "logfile.blf" logging = can.BLFReader(filename) for msg in logging: print(msg) but that resulted in an error…
z33k
  • 3,280
  • 6
  • 24
  • 38
3
votes
1 answer

CAPL- Get value of string defined sysvar

i defined a sysvar as a string in CANalyzer to use it with a panel. Then in a CAPL a would like to get the value of this variable and save the name,i tried as i usually do in CAPL with the numbers so: write("%s",@namespace::name_of_variable) But i…
Jordan.M
  • 103
  • 1
  • 2
  • 9
3
votes
1 answer

Output to bus system CAN channel X not allowed

I am trying to send a message on the CAN bus in CANoe with a .NET test module. This is the code that I used using Vector.Scripting.UI; using Vector.CANoe.TFS; using Vector.CANoe.VTS; using NetworkDB; public class main : TestModule { public…
3
votes
1 answer

CAPL Code to send signal value from a button

I am using CANoe 11.0 to send a signal value from a button. I have a message from a CAN db with 6 signals, 8 bits for each signal. The message is cyclic but with a cycle time of 0ms, so, in order to send it, I figured out I need a button. But…
Luca
  • 39
  • 1
  • 6
3
votes
1 answer

Python comtype throws invalid class string error after uninstalling canoe 8.2 version

I used to have 2 versions of CANoe installed on my PC. 7.6 and 8.2. I tried to create object using comtypes API. It used to call 7.2 version of CANoe by default. Everything worked fine until I uninstalled 8.2 version of CANoe from the PC. Now it…
user1681102
  • 193
  • 2
  • 4
  • 13
3
votes
3 answers

How to convert hex string to byte array in CAPL?

Considering having, for example, this type of hex string: char hex_str[100] = "0x01 0x03 0x04 0x0A"; How to get out of this string the byte array representation in CAPL, like: byte hex_str_as_byte_arr[4] = {0x01, 0x03, 0x04, 0x0A}; EDIT: Only…
PythonNoob
  • 914
  • 1
  • 7
  • 15
3
votes
2 answers

In CAPL, is there any function to start/open an executable in background?

I would like to run an executable from a CAPL script. Is there any function for that? I am looking for a function which will run an executable in the background. E.g. if a certain message is received, then start an application. Is there any…
Harshan.B
  • 93
  • 5
  • 13
3
votes
3 answers

Send Message/ Inject a message with CAPL

I am new in CANoe, and also CAPL language. But I want to ask you: How can I send a message with CAPL on the network of ECU's. For example: I want to send an Hex number( it is a question for an ECU) and after that I want to see the response of this…
Marius Balint
  • 39
  • 1
  • 1
  • 2
3
votes
3 answers

CAPL Script for Diagnostic Services

I am writing the CAPL script to Automise the Diagnostic services. I have read some DIDs which are bigger than 8 bytes in size. Till 8 bytes I can capture correctly the data in my CAPL script but when the data size exceeds the 8 bytes, then I get…
Hamid Gul
  • 31
  • 1
  • 1
  • 4
3
votes
2 answers

CAPL writing to Text file

I am pretty new to the CAPL language. Hence, I am having problems with writing data to .txt file. This is the code I wrote: includes { } variables { message Generate_Num Gen; message Logger Logs; msTimer tim_100ms; msTimer tim_500ms; …
FikoT
  • 31
  • 1
  • 1
  • 3
1
2 3
20 21