def co_pulse_idle_state(self): """ :class:`nidaqmx.constants.Level`: Specifies the resting state of the output terminal. """ val = ctypes.c_int() cfunc = lib_importer.windll.DAQmxGetCOPulseIdleState 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 Level(val.value)
def co_output_state(self): """ :class:`nidaqmx.constants.Level`: Indicates the current state of the output terminal of the counter. """ val = ctypes.c_int() cfunc = lib_importer.windll.DAQmxGetCOOutputState 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 Level(val.value)
def dig_lvl_when(self): """ :class:`nidaqmx.constants.Level`: Specifies whether the task pauses while the signal is high or low. """ val = ctypes.c_int() cfunc = lib_importer.windll.DAQmxGetDigLvlPauseTrigWhen 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 Level(val.value)
def do_line_states_start_state(self): """ :class:`nidaqmx.constants.Level`: Specifies the state of the lines in a digital output task when the task starts. """ val = ctypes.c_int() cfunc = lib_importer.windll.DAQmxGetDOLineStatesStartState 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 Level(val.value)
def interlocked_asserted_lvl(self): """ :class:`nidaqmx.constants.Level`: Specifies the asserted level of the Handshake Trigger. """ val = ctypes.c_int() cfunc = lib_importer.windll.DAQmxGetInterlockedHshkTrigAssertedLvl 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 Level(val.value)
def expir_states_do_state(self): """ :class:`nidaqmx.constants.Level`: Specifies the state to which to set the digital physical channels when the watchdog task expires. You cannot modify the expiration state of dedicated digital input physical channels. """ val = ctypes.c_int() cfunc = lib_importer.windll.DAQmxGetWatchdogDOExpirState cfunc.argtypes = [ lib_importer.task_handle, ctypes_byte_str, ctypes.POINTER(ctypes.c_int) ] error_code = cfunc(self._handle, self._physical_channel, ctypes.byref(val)) check_for_error(error_code) return Level(val.value)