Dear ohbeee,
first of all check that you are using the last version of the PCAN-Basic.
Here you can see the current version and the changes made from version to version.
The description of this error suggests that you are not using the last release. An older version of PCAN-Basic had problems cleaning up orphaned connections. This situation is generated when the CAN_Uninitialize function is not called after working with a channel (e.g. stopping the debbuger or when a program crashes), so that at some time there are no more resources for a new connection.
If you already have the latest version, please give us more information about the error, e.g.
- at which function call this problem occurs,
- if the error also occur within the VB.NET sample you got within the API,
- if the error occur after rebooting the system too,
- sample of your code,
- if you have any other product from PEAK.
Hope this help