Step 13 : Conversion End

Conversion ends when any of the following factors are satisfied.

When FIFO memory is used, even if conversion is forcedly stopped by AioStopAo function, conversion data which has not yet been output remains in memory. If conversion is started again with the AioStartAo function in this state, data will be output from the subsequent data.

In any of the conversion end conditions, if conversion of multiple channels is performed, the generating at the time when the stop condition is satisfied stops after the conversion of all channels has completed.

If the device has a relay circuit, the relay remains ON even if conversion is completed. To turn OFF the relay, use function AioDisableAo.

Ret = AioDisableAo ( Id , AoChannel )

In AoChannel, specify the channel for turning OFF the relay. To turn OFF relays of multiple channels, repeat this function.