Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
118 views

I am trying to make a Dronecan GNSS-node from a stm32g4, using fdcan but with a classic can implementation(8byte payloads), I use the canard lib for managing the node. but when trying to receive the ...
mark de gast's user avatar
0 votes
1 answer
53 views

In my Ubuntu22.04, I can not use bus0.recv API to acquire CANFD msg. at first, I set up two virtual CAN device named "CAN0" and "CAN1". In Terminal 'A',I run the Python program ...
叶问天's user avatar
0 votes
0 answers
172 views

I want to be able to send a message on canbus one with 2 seconds between them have tried some python can examples with the same result can send and receive with python-can code now I don't know if I'm ...
Mikael Granberg's user avatar
0 votes
1 answer
121 views

I need to control CANoe with Python using win32com and change Physical Requests to Functional Group Request. This can also be seen in Diagnostics/ISO TP Configuration under CAN Networks under ...
davidandsch's user avatar
2 votes
0 answers
173 views

Update 7/12: The issue was the mdf file was not closed. mdf.close() does the trick I am trying to extract CAN bus logging data from an MDF file using a set of DBC files with the asammdf library in ...
Ganesh Narasimhan's user avatar
0 votes
0 answers
187 views

I am working on a Python script that sets up communication between multiple Electronic Control Units (ECU1 and ECU2) using the python-can library. The script is designed to read messages from a BLF ...
Mageo's user avatar
  • 84
0 votes
0 answers
65 views

I'm trying to use can bus on the raspberry pi and I'm using a waveshare dual can hat. the sample code give is this: import os import can print("hello1") os.system('sudo ip link set can0 ...
Soop__'s user avatar
  • 1
-1 votes
1 answer
83 views

So I am pretty new to can bus stuff but i need a way to "select" certain bits(46-30) of the 64 bit Data part of the can frame. Here is what i have so far. import os import time import can ...
Nathan Care's user avatar
1 vote
0 answers
143 views

python version: 3.9.13, python-can version: 4.0.0 I am trying to send a CAN message every millisecond using python-can to access Vector's CANalyzer software. Using the code below, I would expect to ...
ack's user avatar
  • 1,251
0 votes
0 answers
160 views

Good day. I have the following python code: #!/usr/bin/env python import time import can import os import csv import pdb os.system('sudo ifconfig can0 down') os.system('sudo ip link set can0 type ...
Cactus's user avatar
  • 19
0 votes
1 answer
334 views

I have a peak CAN adapter connected to a device communicating on the CAN with Canopen. I use canopen library 2.1.0 with python 3.10.0 to create a network, add a node with an eds file and connect. I'm ...
rodoso's user avatar
  • 348
1 vote
2 answers
2k views

I am trying to get diagnostic data from ECU. I've tried an example but nothing works out, it always throws some exceptions. I am using VN5620 as a CAN Interface. I tried using the raw send command ...
Ino's user avatar
  • 31
0 votes
1 answer
114 views

I use IsoTPSocketConnection of UDS protocol, I want to get the voltage from the vehicleת I wrote (I show part of the code): with Client(conn, request_timeout=2, config=config) as client: response =...
Ino's user avatar
  • 31
0 votes
1 answer
2k views

How to use python-can to connect to the vector virtual bus. I ran XCPsim(the software provided by Vector to simulate XCP slave) on my computer and wanted to use a python script to connect to the ...
Sam Yuan's user avatar
0 votes
0 answers
125 views

just making a pretty straightforward J1939 reader with the socket library: import socket with socket.socket(socket.PF_CAN, socket.SOCK_DGRAM, socket.CAN_J1939) as s: s.setsockopt(socket....
WhiteRau's user avatar
  • 867

15 30 50 per page
1
2 3 4 5
12