(self)
return TriggerType(val.value)
:class:`nidaqmx.constants.TriggerType`: Specifies the type of
            trigger to use to pause a task.
:class:`nidaqmx.constants.TriggerType`: Specifies the type of
            trigger to use to pause a task.
: class : nidaqmx . constants . TriggerType : Specifies the type of trigger to use to pause a task .
def trig_type(self):
        """
        :class:`nidaqmx.constants.TriggerType`: Specifies the type of
            trigger to use to pause a task.
        """
        val = ctypes.c_int()

        cfunc = lib_importer.windll.DAQmxGetPauseTrigType
        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 TriggerType(val.value)
def trig_type ( self ) : val = ctypes . c_int ( ) cfunc = lib_importer . windll . DAQmxGetPauseTrigType 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 TriggerType ( val . value )