Set the contact check function.
Ret = ZmSetContactCheck ( Id , ChannelNo , ContactCheck )
Id
[ VB.NET: Short ] [ C, C++: short ] [ C#: short ]
Specify the device ID retrieved from ZmInit.
ChannelNo
[ VB.NET: UShort ] [ C, C++: unsigned short ] [ C#: ushort ]
Specify the channel number.
ContactCheck
[ VB.NET: UShort ] [ C, C++: unsigned short ] [ C#: ushort ]
Specify the contact check function.
Definition |
Value |
Description |
ZM_CONTACTCHECK_DISABLE |
0 |
Contact check disabled |
ZM_CONTACTCHECK_BEFORE |
1 |
Contact check before measurement |
ZM_CONTACTCHECK_AFTER |
2 |
Contact check after measurement |
ZM_CONTACTCHECK_BOTH |
3 |
Contact check before and after measurement |
Ret [ VB.NET: Integer ] [ C, C++: long ] [ C#: int ]
Definition |
Value |
Description |
ZM_ERR_SUCCESS |
0 |
Normality completion |
ZM_ERR_SYS_CHANNEL_NO |
20100 |
Channel No is out of the settable range. |
ZM_ERR_SYS_CONTACTCHECK |
20115 |
ContactCheck is out of the settable range. |
The others (See also: Details of Error Code)
0 : Contact check disabled
Set the contact check.
Contact check is set for each channel.
For details about contact check, please refer to the glossary "Contact Check".
Set ChannelNo = 1 to "1 : Contact check before measurement".
VB.NET |
Dim Ret As Integer |
C, C++ |
long Ret; |
C# |
int Ret; |