rbei-etas / busmaster

BUSMASTER is an Open Source Software tool to simulate, analyze and test data bus systems such as CAN. BUSMASTER was conceptualized, designed and implemented by Robert Bosch Engineering and Business Solutions (RBEI). Presently it is a joint project of RBEI and ETAS GmbH.
http://rbei-etas.github.com/busmaster/
GNU General Public License v3.0
950 stars 501 forks source link

detect_available_configs no response #1320

Open Jay-Chou118 opened 1 week ago

Jay-Chou118 commented 1 week ago

`import time from datetime import datetime import can from can.interfaces.etas import EtasBus from can import Message

from can.io.blf import BLFWriter

bitrate = 500000

timestamp = datetime.now().strftime("%Y%m%d_%H%M%S") log_filename = f'canlog{timestamp}.blf' print(timestamp)

configs = can.interface.detect_available_configs(interfaces="etas") for c in configs: print(c)`

I tried to use detect_available_configs to initialize the output of the identified device, but for now the problem seems to be that I am directly stuck in this function. And I successfully installed the driver and BOA