def dig_edge_edge(self): """ :class:`nidaqmx.constants.Edge`: Specifies on which edge of a digital signal to arm the task for a Start Trigger. """ val = ctypes.c_int() cfunc = lib_importer.windll.DAQmxGetDigEdgeArmStartTrigEdge 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 Edge(val.value)
def expir_trig_dig_edge_edge(self): """ :class:`nidaqmx.constants.Edge`: Specifies on which edge of a digital signal to expire the watchdog task. """ val = ctypes.c_int() cfunc = lib_importer.windll.DAQmxGetDigEdgeWatchdogExpirTrigEdge 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 Edge(val.value)
def co_ctr_timebase_active_edge(self): """ :class:`nidaqmx.constants.Edge`: Specifies whether a timebase cycle is from rising edge to rising edge or from falling edge to falling edge. """ val = ctypes.c_int() cfunc = lib_importer.windll.DAQmxGetCOCtrTimebaseActiveEdge cfunc.argtypes = [ lib_importer.task_handle, ctypes_byte_str, ctypes.POINTER(ctypes.c_int) ] error_code = cfunc(self._handle, self._name, ctypes.byref(val)) check_for_error(error_code) return Edge(val.value)