PCAN-USB X6 not resetting using bus.reset() #1668
-
Hello, I am using a Peak-USB X6 with D-Sub connectors. I am trying to reset a specific channel if
Can anyone tell me if I am doing something wrong or how I can make this work for my Peak-USB X6 dongle same as it works for my Vector 1630? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Looks like
|
Beta Was this translation helpful? Give feedback.
Looks like
PcanBus.reset
is not correctly implemented. It calls the "CAN_Reset" function of the PCAN Basic API, but that one saysCalling this method ONLY clear the queues of a Channel. A reset of the CAN controller doesn't take place.
PcanBus.reset
should instead uninitialize and initialize the channel.