def anlg_lvl_lvl(self):
"""
float: Specifies the threshold at which to pause the task.
Specify this value in the units of the measurement or
generation. Use **anlg_lvl_when** to specify whether the
task pauses above or below this threshold.
"""
val = ctypes.c_double()
cfunc = lib_importer.windll.DAQmxGetAnlgLvlPauseTrigLvl
if cfunc.argtypes is None:
with cfunc.arglock:
if cfunc.argtypes is None:
cfunc.argtypes = [
lib_importer.task_handle,
ctypes.POINTER(ctypes.c_double)]
error_code = cfunc(
self._handle, ctypes.byref(val))
check_for_error(error_code)
return val.value
评论列表
文章目录