Questions tagged [capl]

Vector Communication Access Programming Language (CAPL), the C-like programming language developed by Vector Informatik GmbH for modelling network nodes, evaluation, and testing programs in real-time relevant simulations managed by CANoe and CANalyzer.

363 questions
-1
votes
1 answer

How do I add URL link for a testcase number in CAPL?

I am trying to add URL link to testcase numbers using CAPL. Is it possible through CAPL? Thanks in advance.
Krishna S
  • 5
  • 1
  • 4
-1
votes
1 answer

CAPL samples for GPIB(type VISA / E3648A)?

Today I created the E3648A control type GPIB. But my code did not work properly. I try Devonline. The return value is 0x01xx. Output command sent. But it does not work. I want to see a sample or an example. help me long status; char…
-1
votes
1 answer

Canoe :- How to use masking of bits in CAPL scripting

I wanted to mask my 6bits signal to pass value 20 degree Celsius
Medha
  • 1
  • 2
-1
votes
1 answer

copy a character array to byte array in capl

i need to copy a character array data into a byte array. for example : char buffer[20] = "00020406080A0C0E1012"; byte data[10]; so, how to copy character array data into a byte array.. please give the solution. Thank you
Akash shah
  • 1
  • 2
  • 9
-2
votes
1 answer

CAPL - (this) keyword

I am new to CAPL , and I was wondering how this word works in my example ? on errorFrame { int ReportFirstDetecetdError_Ch1 = 0; if ( this.msgChannel == 1 ) { AmountOfDetected_CAN_Error_Ch1++; if (…
Milad
  • 3
  • 2
-2
votes
2 answers

How To Change Value Of Particular Signal For Different Test Case Using Capl

In CANoe configuration my node is sending msg1 continuously, I am using that message in my test case, written in CANoe Test module. But for different test cases I want different values of that signal. As that signal must need to be sent continuously…
-2
votes
1 answer

CANoe use 2 LDF

Is it possible to use 2 LDF in the same CANoe configuration ? Right now when I try to add the second LDF I get this error message:
-2
votes
1 answer

(CAPL) how i assign array length by using parameter

void func(int a){ byte arr[a]; } this code is not working. how I assign array length by using parameter?
song
  • 1
  • 1
-2
votes
1 answer

Is there is any function like No response in CAPL

I am new Canoe and capl programming i want to request can message and if no response then my test case should pass there is any cmd available in vteststudio. please let me know.
-2
votes
1 answer

How to obtain CAN transmitted data (256 bytes)using Diagnostic functions using CAPL?

256 bytes of data is transmitted to CAN bus as response to a particular DID. It consists of 14 samples of data AND one sample consists of 12 bytes of data (10 different values of 10 different variables packed across 12 bytes). I need to collect…
-2
votes
2 answers

Doesn't know about keyword 'this' in CAPL programming

I am new to CAPL programming. I didn't understand what is the use of this keyword. Any body please explain?
rajasekhar
  • 3
  • 1
  • 3
-2
votes
1 answer

Monitor a CAN message

I have a script with CAN signals A,B and C. All the signals are periodic. I want to send signal C depending on the value of A and B. Is there a way to monitor CAN signals via CAPL (Trying to monitor real time data). Suppose if I want to perform an…
Nikhil
  • 139
  • 1
  • 5
  • 14
-2
votes
1 answer

C - Not reading the integer variable in GetProfileInt() function in windows 7

I am using the getprofileInt() function in C for CAPL scripting, but here it is not taking the variable value defined in ini file. Its taking only default value. This is my code: int ESPV_hex,BCM1var,BCM1Hex; Gateway_72_msgrequest() { BCM1var…
srb1991
  • 1,026
  • 1
  • 8
  • 14
-2
votes
2 answers

Putting a signal value into a variable in CAPL

I am trying to pull a signal value (from a DBC file) into a variable but I get the message "Must be constant expression". If I try adding a filter like .DefaultValue, it works but that isn't the value I want. I want the value of the signal at the…
Trace Lapid
  • 1
  • 1
  • 2
-2
votes
1 answer

What is the difference between simulation mode and test mode in Canoe

I just want to know what is the difference between simulation mode and test mode in Canoe and how it makes difference when writing CAPL scripts?
surya
  • 75
  • 1
  • 2
  • 13
1 2 3
24
25