The free CAN Software API (Application Programming Interface) for Windows®
-
A.Kapp
- Posts: 10
- Joined: Wed 29. Feb 2012, 09:43
Post
by A.Kapp » Wed 11. Apr 2012, 09:47
Dear Sir or Madam,
I am using PCAN-USB together with PCAN-Basic (Windows 7, Python 2.6).
In the following situation I get a significant difference between PCAN-Basic and PCAN-View (using the developper package):
- 1. external device (with CAN interface) is switched off
2. computer and external device are connected using PCAN-USB
3. external device is switched on
Messages can be sent via CAN using PCAN-Basic.
However,
incoming messages are not recognized by PCAN-Basic, only by PCAN-View.
The problem is solved when the PCAN-USB adaptor is re-mounted.
- Why can PCAN-View read the messages whereas PCAN-Basic cannot?
- Is it possible to "reset" the PCAN-USB adaptor by the PCAN-Basic software (not by devcon)?
Regards,
Andreas
-
M.Maidhof
- Support

- Posts: 1751
- Joined: Wed 22. Sep 2010, 14:00
Post
by M.Maidhof » Wed 11. Apr 2012, 10:49
Hi,
which version of the PCANBasic.dll do you use? This problem looks like an application based issue, please check with PCAN-Status Display (from your PCAN-Developer package) the filter and queues settings of your application. Did your application receive a BUSOFF status message with CAN_Read()?
regards
Michael
-
A.Kapp
- Posts: 10
- Joined: Wed 29. Feb 2012, 09:43
Post
by A.Kapp » Wed 11. Apr 2012, 13:29
Hello,
which version of the PCANBasic.dll do you use?
I am using PCANBasic.dll dating from 17th August 2011 (PCAN-API-Version: 1, 2, 1, 31).
Did your application receive a BUSOFF status message with CAN_Read()?
From now on I will check first if I get a busoff status message.
Sorry, that my initial message was unclear: I do not have the PCAN-Developer package.
Is it possible to check and set the filter and queue settings with PCAN-Basic only?
Regards,
Andreas
-
M.Maidhof
- Support

- Posts: 1751
- Joined: Wed 22. Sep 2010, 14:00
Post
by M.Maidhof » Wed 11. Apr 2012, 13:43
Hi,
when you don't have the PCAN-Developer package you don't have those test tools available. Please check with one of our demo source samples(C, C#, etc.) if you have the same issue on your system. The date of the dll and the version you told us doesn't fit together, so please download the latest version 1.2.2.32 from the following link:
http://www.peak-system.com/fileadmin/me ... -basic.zip
regards
Michael