rwilcox posted on 2022-9-15 02:02:41

CAN hangs when retrieving board info

Hello,

I am having sporadic issues with the CAN device.Randomly, a send or receive will fail.I close theconnection and attempt to restart the device.After that, I am able to do a VCI_scandevice, but the program hangs on VCI_ReadBoardInfoEx.After 5 or so minutes, the call times out.The only resolution I have when this occurs is to disconnect/reconnect the CAN HW and then things begin to work again.Have you seen anything like this?

Here is what I get from the autotest.py in this condition

python autotest.py
#open device
      Connected device number is: 1
      Open device success!

#can test
      Get board info failed! 0
Page: [1]
View full: CAN hangs when retrieving board info