I need to verify that a CAN FD message passes through hardware I'm testing. The hardware uses CAN FD controllers, and has two busses.
I currently have a Peak PCAN USB FD with one physical bus.
I assume I would either need a pro version, or to use two USB devices.
However, looking at the API, I'm not sure I could use two devices at once. (Specifically, the Initialize method takes a channel and a bitrate - so I'm not certain this allows me to specify which USB device if I'm using two - or if the API would handle multiple devices "under the hood" if that makes sense.)
Do I need to buy the pro hardware to do this, or will the API work with multiple USB devices?
Using Multiple PCAN USB FD Devices
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Using Multiple PCAN USB FD Devices
Hello,
You can use two devices in PCANBasic, no problem.
You can set the device-ID (YOu can use PCAN-View for this) for each device to identfiy them
and use CAN_LookUpChannel to find the device based on its ID.
If you use more than one device you just call initialize as often
as devices are present.
Best Regards
You can use two devices in PCANBasic, no problem.
You can set the device-ID (YOu can use PCAN-View for this) for each device to identfiy them
and use CAN_LookUpChannel to find the device based on its ID.
If you use more than one device you just call initialize as often
as devices are present.
Best Regards
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: Using Multiple PCAN USB FD Devices
Thank you very much!
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Using Multiple PCAN USB FD Devices
Glad we could help!
- closed -
- closed -
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team