def ctr_out_event_output_behavior(self):
"""
:class:`nidaqmx.constants.ExportAction`: Specifies whether the
exported Counter Output Event pulses or changes from one
state to the other when the counter reaches terminal count.
"""
val = ctypes.c_int()
cfunc = (lib_importer.windll.
DAQmxGetExportedCtrOutEventOutputBehavior)
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 ExportAction(val.value)
评论列表
文章目录