リファレンスクロックのタイプを取得します。
Ret = AioGetReferenceClockType ( Id , ReferenceClockType )
Id
[ C, C++: short ] [ Python: ctypes.c_short ]
AioInit 関数で取得したデバイスIDを指定します。
ReferenceClockType [
C, C++: unsigned short * ] [ Python: ctypes.POINTER(ctypes.c_ushort) ]
リファレンスクロックタイプを取得します。
Ret [ C, C++: long ] [ Python: ctypes.c_long ]
戻り値 |
内容 |
0 |
正常終了 |
10001 |
無効なIDが指定されました |
10002 |
ドライバを呼び出せません |
10470 |
ReferenceClockTypeのポインタがNULLです |
20001 |
使用しているデバイスではこの関数を使用することができません。 |
内部リファレンスクロック。(ReferenceClockType = AIO_PARAM_AI_REF_CLK_TYPE_INT)
リファレンスクロックのタイプを取得します。
リファレンスクロックのタイプを取得します。
C, C++ |
long
Ret; |
Python |
Ret
= ctypes.c_long() |