Repository navigation
Update PCAN Basic to 4.6.2.753 - #1481
Conversation
|
Sure, I can test it. But it's gonna have to wait until Tuesday because I won't have access to the hardware until then. |
|
I'm sorry to keep you waiting on this. I was planning to test this on my Windows machine (at work), but I didn't get a chance to. I have reserved some time for Monday to test this. |
It's not urgent, don't worry |
|
I ran It looks like |
|
Thank you for testing this! I guess we would need to search for TPCANChannelInformation.channel_handle in PCAN_CHANNEL_NAMES, right? |
|
Yes, I agree. The I can test it again afterwards. |
|
That's great, thank you! |
|
I tested again with: configs = can.detect_available_configs("pcan")
print(configs)and two interfaces attached. This is what I get: So looks nice! One thing that came to my mind is the |
|
I think it should be okay as long as there are no conflicts with the arguments of the python-can/can/interfaces/vector/canlib.py Line 890 in 69a5209 Do you need anything else besides device_id? |
|
Good question. Off the top of my head, I would say maybe |
* update PCAN Basic to 4.6.2.753 * faster channel detection * fix PcanBus._detect_available_configs * remove TODO * add more information to pcan channel detection Co-authored-by: zariiii9003 <zariiii9003@users.noreply.github.com>
@lumagi Since you have a PEAK device, could you check whether
"channel": channel.device_name + str(channel.controller_number)is correct?It is used in
can.detect_available_configs("pcan")