A:
The actually used time is depended on the situation of used system.
The following is the actual reference value without performing the other
applications.
OS: Windows 10 1909(19H2) 64bit
CPU: Intel Core i5-6500 3.2GHz
The average value compared with system time by looping for 10000 times
Number of Ports |
DIO-3232L-PE |
DIO-3232LX-USB |
DIO-1616LN-ETH |
Input 1 Port |
3.1usec |
314.1usec |
2015.6usec |
Input 2 Port |
-- |
-- |
4007.8usec |
Input 4 Port |
7.8usec |
460.9usec |
-- |
Number of Ports |
DIO-3232L-PE |
DIO-3232LX-USB |
DIO-1616LN-ETH |
Output 1 Port |
3.1usec |
287.5usec |
2864.1usec |
Output 2 Port |
-- |
-- |
5686.0usec |
Output 4 Port |
7.8usec |
423.5usec |
-- |
"--" is the meaning that hardware doesn't support this function or this measurement didn't test.
And, output function is to set the data which is output to a device.
If device reply speed is slow,
it's possible that the API process has completed before the device's output
status is changed.
Therefore, if those functions are called continuously, it's possible that
the output status has been overwrite but the data which has not been output
will be output.
To output data to bit for the same port, you should code the program by
considering the device's reply speed.
In particular, there is no need to consider this, if the device which is
using multi-thread or multi-process is used.