Connect more than 10 PCAN-USB adapter to communicat over UDS
-
- Posts: 29
- Joined: Mon 6. Nov 2017, 13:31
Connect more than 10 PCAN-USB adapter to communicat over UDS
Hello,
i am trying to connect more than 10 PCAN-USB adapters for UDS communication. I have read that it is possible to create and connect to 16 PCAN-USB interfaces with interface channels from PCAN-USBBUS1 - PCAN-USBBUS16.
But I have to create and connect to more than 10 PCAN-USB adapters over UDS and i only found 9 channels for UDS-Communication from PUDS_USBBUS1 to PUDS_USBBUS9.
Is there any why to connect to more than 10 PCAN-USB adapters for UDS communication?
Best regards
i am trying to connect more than 10 PCAN-USB adapters for UDS communication. I have read that it is possible to create and connect to 16 PCAN-USB interfaces with interface channels from PCAN-USBBUS1 - PCAN-USBBUS16.
But I have to create and connect to more than 10 PCAN-USB adapters over UDS and i only found 9 channels for UDS-Communication from PUDS_USBBUS1 to PUDS_USBBUS9.
Is there any why to connect to more than 10 PCAN-USB adapters for UDS communication?
Best regards
Re: Connect more than 10 PCAN-USB adapter to communicat over
Hello,
PCAN-UDS can handle as many channels as PCAN-Basic (underlying transport layer API). The latest version of these APIs allow up to 16 USB channels simultaneously. If you cannot use more than 9 channels at a time is possible because your system has no resources enough to support more than 9 USB devices at a time.
Please check that:
PCAN-UDS can handle as many channels as PCAN-Basic (underlying transport layer API). The latest version of these APIs allow up to 16 USB channels simultaneously. If you cannot use more than 9 channels at a time is possible because your system has no resources enough to support more than 9 USB devices at a time.
Please check that:
- All PCAN-USB devices attached to your computer have the power LED on
- All PCAN-USB devices attached to your computer are also listed in the Windows device manager, i.e. within the node "CAN-Hardware"
- Neither any of the CAN-Hardware entries nor the USB controllers (Windows device manager, node USB-Controllers) are showing any warning.
Best regards,
Keneth
Keneth
-
- Posts: 29
- Joined: Mon 6. Nov 2017, 13:31
Re: Connect more than 10 PCAN-USB adapter to communicat over
Hello,
Thank you for the fast answer. I have the older PCAN-UDS Api version where just 9 Channels could be used.
I will download and install the new PCAN-UDS Api version.
Thank you for the information!
Best regards
Thank you for the fast answer. I have the older PCAN-UDS Api version where just 9 Channels could be used.
I will download and install the new PCAN-UDS Api version.
Thank you for the information!
Best regards
Re: Connect more than 10 PCAN-USB adapter to communicat over
Please note that older versions of PCAN-UDS/PCAN-Basic could handle up to eight (8) channels; new versions up to sixteen (16). But there was never a version handling 9 channels!
Best regards,
Keneth
Keneth
-
- Posts: 29
- Joined: Mon 6. Nov 2017, 13:31
Re: Connect more than 10 PCAN-USB adapter to communicat over
Hello again,
I checked the serial numbers of my PCAN-USB Adapters and i have the older PCAN-USB Adapters with serial numbers untill 199999. It is possible for the PCAN-USB Adapters of these serial numbers to update to the newer PCAN API version and to use more than 8 PCAN-Channels?
I have the PCAN-USB Adapters with serial numbers of: 002022 199999.
If it is possible, do i have to change than some methods of the API or are they the same as the older API methods?
And do i have to install again the installer for PCAN Basic and to replace the dll in Windows\SysWOW64,...?
And an additional question for the PCAN-ISO TP and PCAN-UDS dlls, do i only have to include them to my project references or do they also need to copy to the windows folder(Windows\SysWOW64 and Windows\System32 )?
Thank you and best regards
I checked the serial numbers of my PCAN-USB Adapters and i have the older PCAN-USB Adapters with serial numbers untill 199999. It is possible for the PCAN-USB Adapters of these serial numbers to update to the newer PCAN API version and to use more than 8 PCAN-Channels?
I have the PCAN-USB Adapters with serial numbers of: 002022 199999.
If it is possible, do i have to change than some methods of the API or are they the same as the older API methods?
And do i have to install again the installer for PCAN Basic and to replace the dll in Windows\SysWOW64,...?
And an additional question for the PCAN-ISO TP and PCAN-UDS dlls, do i only have to include them to my project references or do they also need to copy to the windows folder(Windows\SysWOW64 and Windows\System32 )?
Thank you and best regards
Re: Connect more than 10 PCAN-USB adapter to communicat over
Hello,
did you check that your computer can see all devices by using the device manager as described in my last post? as I already said, the amount of channels to use depends on the PCAN-Basic version used and in the capabilities of your computer.
Please let us know which version of PCAN-Basic you are using. For this, please do one of these:
did you check that your computer can see all devices by using the device manager as described in my last post? as I already said, the amount of channels to use depends on the PCAN-Basic version used and in the capabilities of your computer.
Neither hardware version nor firmware version have anything to do with the amount of channel that PCAN-Basic can handle.Oprogramer wrote:I checked the serial numbers of my PCAN-USB Adapters and i have the older PCAN-USB Adapters with serial numbers untill 199999. It is possible for the PCAN-USB Adapters of these serial numbers to update to the newer PCAN API version and to use more than 8 PCAN-Channels?
PCAN-ISO-TP/PCAN-UDS, as well as PCAN-Basic, are native libraries - not assemblies. This mean, you cannot add them as reference. You need to include the header file to your project, that corresponds to the used programming language (for instance, PCAN-ISO-TP.cs or PCAN-UDS.cs when using C#). The dlls can be placed in the output folder of your project, or in System32/SysWow64 folder if the have to be found from everywhere in your computer.Oprogramer wrote:And an additional question for the PCAN-ISO TP and PCAN-UDS dlls, do i only have to include them to my project references or do they also need to copy to the windows folder(Windows\SysWOW64 and Windows\System32 )?
Please let us know which version of PCAN-Basic you are using. For this, please do one of these:
- Call "CANGetValue/PCANBasic.GetValue" with the parameter PCAN_API_VERSION from your code, or
- call "CANGetValue/PCANBasic.GetValue" with the parameter PCAN_LOG_STATUS from your code, for log activation. Then, check the version number in the generated log file, or
- start one of the compiled "PCANBasicExample.exe" demo files, connect a channel, and click the button "Version"
Best regards,
Keneth
Keneth
-
- Posts: 29
- Joined: Mon 6. Nov 2017, 13:31
Re: Connect more than 10 PCAN-USB adapter to communicat over
Hello,
Yes i checked, my computer cann see all devices. I have installed the older version of PCAN-Basic.
I have followed your recommendation and got the following informations:
- PCAN_USB 4.1.1.16099
So i checked also the PCANBasic.vb header file and recognized that it only contains 8 PCAN-USB channels.
Should i run the PCANBASIC installer again to upgrade to the newer version? And do i must replace the UDS and ISP-TP dlls in my Project to use the newer version?
Thanks and best regards
Yes i checked, my computer cann see all devices. I have installed the older version of PCAN-Basic.
I have followed your recommendation and got the following informations:
- PCAN_USB 4.1.1.16099
So i checked also the PCANBasic.vb header file and recognized that it only contains 8 PCAN-USB channels.
Should i run the PCANBASIC installer again to upgrade to the newer version? And do i must replace the UDS and ISP-TP dlls in my Project to use the newer version?
Thanks and best regards
Re: Connect more than 10 PCAN-USB adapter to communicat over
this is the Driver version. I need the API version. This is found in the same text from where you got the driver version. See picture:Oprogramer wrote:- PCAN_USB 4.1.1.16099
Then you have an older file, but this no mean the PCAN-Basic is old. That is why we need to check the API version. Nevertheless, in order to get the latest files, please download the PCAN-Basic package from here. It contains header files, sample projects and libraries.Oprogramer wrote:So i checked also the PCANBasic.vb header file and recognized that it only contains 8 PCAN-USB channels.
Yes, if you have installed the PCAN-Basic using the PEAK-System-Driver-Setup (PeakOemDrv.exe). The latest version can be found here.Oprogramer wrote:Should i run the PCANBASIC installer again to upgrade to the newer version?
No, just check that you are using the latest ISO-TP and UDS versions. The version history of all APIs can be seen here.Oprogramer wrote: And do i must replace the UDS and ISP-TP dlls in my Project to use the newer version?
Best regards,
Keneth
Keneth
-
- Posts: 29
- Joined: Mon 6. Nov 2017, 13:31
Re: Connect more than 10 PCAN-USB adapter to communicat over
Hello,
sorry i looked at the false row.
The current API version i use is: 4.2.0.134
So i have to install the new PCANBASIC API.
Thank you and best regards
sorry i looked at the false row.
The current API version i use is: 4.2.0.134
So i have to install the new PCANBASIC API.
Thank you and best regards