Sets the number of channels for the analog output AioSetAoChannels.
Ret = AioSetAoChannels ( Id , AoChannels )
In AoChannels, specify the number of channels for analog output. The output is done in the order of 0, 1, 2, ... If 4 is specified in AoChannels, channel 0, 1, 2, 3 are converted. It can not be used to convert channel 0, 2, 4, 6 by specifying 4 in AoChannels.
AoChannels |
Channel to be converted |
1 |
0 |
2 |
0, 1 |
3 |
0, 1, 2 |
: |
: |
For the device with synchronous output function, output is performed simultaneously for the set channels. For devices without synchronous output function, the output is performed in the order of channel 0, 1, 2 with transparent (sequential output).