A:
As opposed to the simple functions such as AioSingleAi, AioMultiAi,
AioSingleAo and AioMultiAo etc., functions AioStartAi and AioStartAo are
called continuous functions.
Please notice the following limitations while use simple functions and
continuous functions at the same time.
Use simple functions after using continuous functions
If there is data remaining in the buffer,
the data remaining in the buffer will be input/output when the simple
function is executed.
Be sure to execute AioResetAiMemory or AioResetAoMemory before executing
the simple function.
Use continuous functions after using simple functions
There are limitations depending on the device.
- E Series, B Series :
While using continuous functions after simple functions with E series and
B series, it is necessary to reset device once.
<NG> AioSingleAi |
<OK> AioSingleAi |
- Other devices :
The usage differs by the memory type.
In FIFO memory
If there is data remaining in the buffer and you call simple functions,
the management of data buffer may not under the control.
In this case, it become normal condition with clearing data buffer by calling
AioResetAiMemory or AioResetAoMemory.
In RING memory
If you call simple functions, the management of data buffer may not under
the control.
In this case, it become normal condition with clearing data buffer by calling
AioResetAiMemory or AioResetAoMemory.