Set the clock type used for analog output by function AioSetAoClockType.
Internal Clock
Output with the period of DA conversion clock installed in the device.
When using the DA conversion clock, it is necessary to set the internal
clock by function AioSetAoSamplingClock.
External Clock
Input at the timing of pulse input from the outside.
Event Controller Output
The output signal from the event controller can be used as a clock.
Please refer to the tutorial of Event
Controller.
Ret = AioSetAoClockType ( Id , AoClockType )
In AoClockType, set the clock type.
0 |
Internal Clock |
1 |
External Clock |
10 |
Event Controller Output |
Set the internal clock of analog output by using function AioSetAoSamplingClock This setting is unnecessary when the clock is set to be External Clock.
Ret = AioSetAoSamplingClock ( Id , AoSamplingClock )
In AoSamplingClock, specify the internal clock in usec.