Get the enable/disable of trigger synchronous output.
Ret = ZmGetTriggerSyncEnable ( Id , ChannelNo , 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.
Enable [
C, C++ : unsigned short * ] [ Python: ctypes.POINTER(ctypes.c_ushort)
]
Specify the variable address 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. |
The others (See also: Details of Error Code)
1 : Enable
Get the enable/disable of trigger synchronous output.
Enable/disable of trigger synchronous output is gotten for each channel.
For details about trigger synchronous output, please refer to the glossary "Trigger Synchronous Output".
Get the enable/disable of trigger synchronous output for ChannelNo = 1.
C, C++ |
long Ret; unsigned short Enable; |
Python |
Ret = ctypes.c_long() Enable = ctypes.c_ushort() Ret.value = czm.ZmGetTriggerSyncEnable ( Id , 1 , ctypes.byref(Enable) ) |
ZmSetTriggerSyncEnable ZmGetSignalOutputDelay