Sending CAN messages under Win10 fails

CAN Development Packages for Windows®
Post Reply
hpetschko
Posts: 2
Joined: Fri 21. Aug 2015, 10:44

Sending CAN messages under Win10 fails

Post by hpetschko » Fri 21. Aug 2015, 11:01

I have recently moved to Windows 10 Enterprise.
Since then I see the following strange behaviour: when my SW sends a message to the bus, I can see the message in PCAN-View, but it never seems to arrive at the physical bus, because no other participant receives it. When I send the same message from PCAN-View (to the same net), the other participants do receive it. My SW can still receive messages though.

My system:
API-Dll Version 2.57.1.126
Pcan_usb.sys 3.13.0.15462

G.Lang
Support
Support
Posts: 139
Joined: Wed 22. Sep 2010, 14:58

Re: Sending CAN messages under Win10 fails

Post by G.Lang » Mon 24. Aug 2015, 08:10

Hello,

please verify that your PCAN-USB interface is set as "active device" in the "CAN-Hardware" icon (you find the CAN-Hardware icon in the control panel)
usb_as_active_device.JPG
usb_as_active_device.JPG (58.65 KiB) Viewed 3058 times
and that you also add a net to the USB-interface
add_a_net.JPG
add_a_net.JPG (51.8 KiB) Viewed 3058 times
regards
Gunther

hpetschko
Posts: 2
Joined: Fri 21. Aug 2015, 10:44

Re: Sending CAN messages under Win10 fails

Post by hpetschko » Mon 24. Aug 2015, 10:37

All clear!
While assembling the screenshots I wanted to send to you, I found out that the message I was sending from PCANView was not identical to the one my SW was sending (network byte order tricked me). And that the 8-bit checksum algorithm (correctly!) calculated the same value for both messages. And that the CAN tool I was using on the machine computer wrongly did not show the SW generated messages.
Too many simultanous bugs for my poor mind.
Conclusion: everything is fine again.

Post Reply