Sets the reference clock type.
Ret = AioSetReferenceClockType ( Id , ReferenceClockType )
Id
[ C, C++: short ] [ Python: ctypes.c_short ]
Specifies the device ID retrieved from AioInit.
ReferenceClockType [
C, C++: unsigned short ] [ Python: ctypes.c_ushort ]
Sets the reference clock type.
Clock type |
Macro |
Value [dec] |
Internal reference clock |
AIO_PARAM_REF_CLK_TYPE_INT |
0 |
External reference clock |
AIO_PARAM_REF_CLK_TYPE_EXT |
1 |
Ret [ C, C++: long ] [ Python: ctypes.c_long ]
Return values |
Content |
0 |
Normality completion |
10001 |
Invalid Id was specified |
10002 |
AIO driver can't be called |
20460 |
The value of ReferenceClockType is outside the designated range of the device being used |
Internal reference clock (ReferenceClockType = AIO_PARAM_AI_REF_CLK_TYPE_INT)
Sets the reference clock type.
Sets the reference clock type to external reference clock.
C, C++ |
long
Ret; |
Python |
Ret
= ctypes.c_long() |