This topic was so helpfull for me about getting data from usb via codesys.
I used, Edwin's example it works well. I can read data from my usb GPS receiver.
But, i wonder what if i have 2 usb device at the same time.
How we can control both of them at the same time ? It is possible to do it?
For one usb device we can use
what we need to do for 2 usb device at the same time.
Thank you for your help.
if 2 usb are the same manufacture, you can change udiport:=2 for second device. You can create news string i/o for the second device.