(self)
return WindowTriggerCondition1(val.value)
:class:`nidaqmx.constants.WindowTriggerCondition1`: Specifies
            whether the task starts acquiring or generating samples when
            the signal enters or leaves the window you specify with
            **anlg_win_btm** and **anlg_win_top**.
:class:`nidaqmx.constants.WindowTriggerCondition1`: Specifies
            whether the task starts acquiring or generating samples when
            the signal enters or leaves the window you specify with
            **anlg_win_btm** and **anlg_win_top**.
: class : nidaqmx . constants . WindowTriggerCondition1 : Specifies whether the task starts acquiring or generating samples when the signal enters or leaves the window you specify with ** anlg_win_btm ** and ** anlg_win_top ** .
def anlg_win_trig_when(self):
        """
        :class:`nidaqmx.constants.WindowTriggerCondition1`: Specifies
            whether the task starts acquiring or generating samples when
            the signal enters or leaves the window you specify with
            **anlg_win_btm** and **anlg_win_top**.
        """
        val = ctypes.c_int()

        cfunc = lib_importer.windll.DAQmxGetAnlgWinStartTrigWhen
        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 WindowTriggerCondition1(val.value)
def anlg_win_trig_when ( self ) : val = ctypes . c_int ( ) cfunc = lib_importer . windll . DAQmxGetAnlgWinStartTrigWhen 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 WindowTriggerCondition1 ( val . value )