Multiple devices CyApi.lib

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

   

I'm writing an application that should be capable of managing multiple USB FX3 devices. I was about to start using the CyApi.lib (C++) when I realized that the documentation doesn't include any details when it comes to support several USB devices. Anyway, I figured that for each device, I should create a CCyUSBDevice object and then call Open (and keep it open) based on its serial number. However, I found this reference in the forum (http://www.cypress.com/forum/usb-high-speed-peripherals/multiple-usb-devices-application) that states that "[..]You can definitly not communicate with two devices at the same time using CyAPI.lib[..]You can achieve it in CyUSB.NET".

   

My question is, in order to support multiple USB devices, do i really need to use CyUSB.dll (C#) or can I use CyApi.lib (C++)?

   

Thanks.

0 Likes
1 Reply
Anonymous
Not applicable

No, you can use CYAPI.lib to communicate with two devices. We have C++ streamer . You can have a look at the same.

0 Likes