Enable/disable the trigger synchronous output.
Ret = ZmSetTriggerSyncEnable ( 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.c_ushort ]
Specify enable/disable.
Definition |
Value |
Description |
ZM_DISABLE |
0 |
Disable |
ZM_ENABLE |
1 |
Enable |
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_ENABLE |
20109 |
Enable is out of the settable range. |
The others (See also: Details of Error Code)
1 : Enable
Enable/disable the trigger synchronous output.
Trigger synchronous output is enabled/disabled for each channel.
For details about trigger synchronous output, please refer to the glossary "Trigger Synchronous Output".
Set the trigger synchronous output to "0 : Disable" for ChannelNo = 1.
C, C++ |
long Ret; |
Python |
Ret
= ctypes.c_long() |
ZmGetTriggerSyncEnable ZmSetSignalOutputDelay