Will the overall time of the communication be longer if i read multiple cards?
For example: i read out all inputs of all 8 cards. Will the time be 16 x 21msec? (8xDI + 8xAI with K8061_C.DLL V1.0)
If i use multiple threads (for each card 1 thread) and each card is connected to a usb root, will this speed up the communication time?
If you will read all digital inputs of card0 with thread0: 8 X USB_ENDPOINT_TIMEOUT x 2.
x 2 because the k8061 used bulk transfer you must read AND write a packet (that is not dependent of the transfer type (bulk or interrupt)).
The same applies to the rest threads and cards.
The corresponding driver must handle the access to the USB endpoints separately to avoid race conditions (safe critical regions).