コンタクトチェック機能を取得します。
Ret = ZmGetContactCheck ( Id , ChannelNo , ContactCheck )
Id
[ VB.NET: Short ] [ C, C++: short ] [ C#: short ] [ Python: ctypes.c_short ]
ZmInitで取得したデバイスIDを指定します。
ChannelNo
[ VB.NET: UShort ] [ C, C++: unsigned short ] [ C#: ushort ] [ Python: ctypes.c_ushort ]
チャネル番号を指定します。
ContactCheck
[ VB.NET: UShort ] [ C, C++: unsigned short * ] [ C#: out ushort
] [ Python: ctypes.POINTER(ctypes.c_ushort) ]
コンタクトチェック設定を格納する変数アドレスを指定します。
Ret [ VB.NET: Integer ] [ C, C++: long ] [ C#: int ] [ Python: ctypes.c_long ]
定義 |
戻り値 |
内容 |
ZM_ERR_SUCCESS |
0 |
正常終了 |
ZM_ERR_SYS_CHANNEL_NO |
20100 |
チャネル番号が設定可能範囲外です。 |
その他のエラー(参照:エラーコード詳細)
0 : 測定前チェック
コンタクトチェックを取得します。
コンタクトチェックはチャネル毎に取得します。
コンタクトチェックについての詳細は用語集「コンタクトチェック」を参照ください。
ChannelNo = 1のコンタクトチェック設定を取得します。
VB.NET |
Dim Ret As Integer Dim ContactCheck As UShort |
C, C++ |
long Ret; unsigned short ContactCheck; |
C# |
int Ret; |
Python |
Ret = ctypes.c_long() |