def anlg_win_when(self):
"""
:class:`nidaqmx.constants.WindowTriggerCondition2`: Specifies
whether the task pauses while the trigger signal is inside
or outside the window you specify with **anlg_win_btm** and
**anlg_win_top**.
"""
val = ctypes.c_int()
cfunc = lib_importer.windll.DAQmxGetAnlgWinPauseTrigWhen
if cfunc.argtypes is None:
with cfunc.arglock:
if cfunc.argtypes is None:
cfunc.argtypes = [
lib_importer.task_handle, ctypes.POINTER(ctypes.c_int)]
error_code = cfunc(
self._handle, ctypes.byref(val))
check_for_error(error_code)
return WindowTriggerCondition2(val.value)
评论列表
文章目录