Get the enable/disable of correction.
Ret = ZmGetCorrectionEnable ( Id , ChannelNo , Type , Enable )
Id [
C, C++: short ] [ Python: ctypes.c_short ]
Specify the device ID retrieved from ZmInit.
ChannelNo
[ C, C++ : unsigned short ] [ Python: ctypes.c_ushort ]
Specify the channel number.
Type [
C, C++ : unsigned short ] [ Python: ctypes.c_ushort ]
Specify the correction type.
Definition |
Value |
Description |
ZM_CORRECTION_TYPE_OPEN |
0 |
Correction type Open |
ZM_CORRECTION_TYPE_SHORT |
1 |
Correction type Short |
Enable [
C, C++ : unsigned short * ] [ Python: ctypes.POINTER(ctypes.c_ushort)
]
Specify the address of the variable for storing enable/disable.
Ret [ C, C++: long ] [ Python: ctypes.c_long ]
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_TYPE |
20108 |
Type is out of the settable range. |
The others (See also: Details of Error Code)
0 : Disable
Get the enable/disable of correction.
Enable/disable of correction is gotten for each channel.
Enable/disable of correction is not related to the conditions for the correction.
Please note that this is different from the correction value.
For details about correction, please refer to the glossary "Correction".
Get the enable/disable of correction when ChannelNo = 1 is "0 : Correction type Open".
C, C++ |
long Ret; unsigned short Enable; |
Python |
Ret = ctypes.c_long() Enable = ctypes.c_ushort() |
ZmCorrection ZmSetCorrectionEnable ZmSetCorrectionValue ZmGetCorrectionValue