08-04-2010 03:59 PM
Hello,
I have an application that requires using two of these Gridconnect (Peak) USB-CAN adapters in one PC and I was wondering if anybody here has had experience with such a configuration. I was able to get a single adapter to work but found no VIs nor documentation can would allow using two devices. I tried Gridconnect support but no dice, Peak has not responded to my support request at all. Any help would be greatly appreciated.
Thanks,
Joemar
08-05-2010 03:39 PM
Hi Joemar,
I do not have personal experience with those USB-CAN adapters, but did find a couple of noteworthy things for you to consider. First, make sure that you are using the CAN USB Performance Adapter, not the CAN USB Adapter - Light. Accoring to the CAN USB Adapter - Light product page, the Light adapter is not compatible with LabVIEW, but the Performance Adapter is. Since you've been able to make some progress, it sounds like you are probably using the correct one, but I just wanted to make sure.
Also, it would be helpful for everyone if you will explain in a little more detail what you have been able to accomplish with a single adapter, and how. Then, let us know what complications arise with two and what your specific questions are.
Best,
John M
09-20-2010 07:42 AM
Peak has a download that allows you to set the device # of the USB-CAN adapters.
You can find it here: PCAN-USB SetDevice Tool on their Downloads page
Then you can set the active device # in your code - or address each device independently.
And you do indeed need the Pro version of the drivers CanApi2.dll.
Also, Phytec via KDI Digital Instrumentation has put togethor a labview package that makes interfacing to the peak pro dll CanApi2.dll much much easier. You can find it here: Phytec KDI Labview Driver
Good luck.
- Dave