How to use simple functions and continuous functions at the same time

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

It can be performed for all devices.
However, if there is data remaining in the buffer, the data remaining in the buffer will be output when the simple function is executed.
Be sure to execute AioResetAoMemory before executing the simple function.

Use continuous functions after using simple functions

There are limitations depending on the device.
- E Series, B Series : Cannot be performed.
- Other devices : Can be performed.

While using continuous functions after simple functions with E series and B series, it is necessary to reset device once.

<NG>

AioSingleAi
...
...
Setting AD conversion conditions
...
AioStartAi

<OK>

AioSingleAi
AioResetDevice
...
Setting AD conversion conditions
...
AioStartAi