Questions tagged [canalyzer]

CANalyzer is the universal software analysis tool for ECU networks and distributed systems. CANalyzer makes it easy to observe, analyze, and supplement data traffic in CAN, LIN, MOST, or FlexRay systems. With powerful functions and user-programmability, all needs are covered from simple network analysis to advanced troubleshooting of complex problems.

62 questions
1
vote
1 answer

Using "Button" from Toolbox in Vector Panel Designer, for a CAPL

I am writing testcases in CAPL and want to activate each test case by using "Button" from Panel Designer. The problem is that whenever I pressed the Button, it reacted as if it were pressed twice. I just simply add a code like this to make that…
Eth
  • 11
  • 1
  • 3
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
2 answers

How to insert an "on key" Replay block in CAPL

I'm wondering if it is possible to create a CAPL code in which, by using "on key" feature, the user may: - activate a replay mode (.asc file) - activate a filter on it - activate additionally a specific signal (not present in asc files) - deactivate…
Serena
  • 11
  • 1
  • 2
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
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
2 answers

How to set env variable in CAPL code from an incoming signal?

I use CANoe and i want to add node that take Signals and change env variables using CAPL coding of course for example: on signal Signal_Name { set env variable = SET; }
M.A
  • 23
  • 1
  • 1
  • 4
1
vote
1 answer

How to access CAN signals dynamically (by string) in CAPL?

I'm trying to force CAN signals to given values using COM interface of CANalyzer. Since there is no COM method to send CAN messages, I'm implementing a workaround using CAPL: void SendMySignal(int value) { message MyMessage msg; msg.MySignal =…
Dmitry Grigoryev
  • 3,156
  • 1
  • 25
  • 53
0
votes
0 answers

How do you see Tx/Rx Bus data in trace window via the COM interface in CANalyzer in C++?

I am completely new to this topic and I've been asked to create an application that shows the data exchange happening on a bus in CANalyzer via the COM interface, with the exact virtual time point when that data is being sent. So far, what I have is…
doa4321
  • 176
  • 2
  • 9
0
votes
1 answer

How to use applPDUILTxPending() in CAPL

How do you use applPDUILTxPending() in CANoe? Also, what is the difference between longID & shortID of a PDU? I have tried the example code given by Vector but it does not work. dword applPDUILTxPending (dword busContext, dword longID, dword…
Cubuc
  • 66
  • 1
  • 6
0
votes
0 answers

How can I react to event on system variable defined in CAPL script?

I defined a system variable in my CAPL file that I use to set up different modes in my script. I declared it in my CAPL file and not in my CANAlyzer window in order to allow the script to work with differents…
0
votes
0 answers

Send CAN form error frames to test device with CAPL

I would like to send form error frames to a device, but I can't figure out how to do that (or a crc error, ack error, etc) with CAPL in the CAPL browser. I think I have to add something like errorFrame error in the Variables {} section, but whatever…
Bayou
  • 3,293
  • 1
  • 9
  • 22
0
votes
1 answer

Get the receivers of any message

Hello I'm trying to write down a code like this: on message * { if(this.receiver == "BCM") { write("The message %s will be received by the BCM", this.ID) } } But the problem is there is no attribute "receiver" or "receivers" for a…
0
votes
0 answers

Why is the CAN signal sampling type irregular in Vector Canoe?

As shown in the canoe graphic in the figure, the signal of the message has an irregular period. enter image description here Why is Δt not constant in the trace and why does the signal also look irregular in the graphic? Not only the messages shown…
Wang
  • 1
  • 1
0
votes
1 answer

CAN Communication: Can Transmit but Not Receive

I am attempting to use my STM32H7B3I-EVAL evaluation board to send and receive CAN communication messages. I am communicating with a Vector CANalayzer (16.0, VN1630A). The CANalyzer is being used both to display messages received from the evaluation…
0
votes
1 answer

CAPL CANalyzer getting frames every 10ms

I am new to CAPL and CANalyzer,I am trying to read from CAN and I want every frame to be read every 10ms but I can't find any solution. I tried with a timer but as I understood, every event has to finish before starting another so the timer doesn't…
notBianca
  • 3
  • 2