(self, expiration_states)
return [ExpirationState(self._handle, e.physical_channel)
                for e in expiration_states]
Configures the expiration states for an analog watchdog timer task.

        Args:
            expiration_states
                (List[nidaqmx.system.watchdog.AOExpirationState]):
                Contains the states to which to set analog physical channels
                when the watchdog timer expires. Each element of the list
                contains an analog physical channel name, the corresponding
                expiration state, and the output type for that analog
                physical channel. The units of "expiration state" must be
                specified in volts for an analog output voltage expiration
                state, or amps for an analog output current expiration state.

                physical_channel (str): Specifies the analog output channel to
                    modify. You cannot modify dedicated analog input lines.
                expiration_state (float): Specifies the value to set the
                    channel to upon expiration.
                output_type (nidaqmx.constants.WatchdogAOExpirState):
                    Specifies the output type of the physical channel.
        Returns:
            List[nidaqmx.system._watchdog_modules.expiration_state.ExpirationState]:

            Indicates the list of objects representing the configured
            expiration states.
Configures the expiration states for an analog watchdog timer task.
Configures the expiration states for an analog watchdog timer task .
def cfg_watchdog_ao_expir_states(self, expiration_states):
        """
        Configures the expiration states for an analog watchdog timer task.

        Args:
            expiration_states
                (List[nidaqmx.system.watchdog.AOExpirationState]):
                Contains the states to which to set analog physical channels
                when the watchdog timer expires. Each element of the list
                contains an analog physical channel name, the corresponding
                expiration state, and the output type for that analog
                physical channel. The units of "expiration state" must be
                specified in volts for an analog output voltage expiration
                state, or amps for an analog output current expiration state.

                physical_channel (str): Specifies the analog output channel to
                    modify. You cannot modify dedicated analog input lines.
                expiration_state (float): Specifies the value to set the
                    channel to upon expiration.
                output_type (nidaqmx.constants.WatchdogAOExpirState):
                    Specifies the output type of the physical channel.
        Returns:
            List[nidaqmx.system._watchdog_modules.expiration_state.ExpirationState]:

            Indicates the list of objects representing the configured
            expiration states.
        """
        channel_names = flatten_channel_string(
            [e.physical_channel for e in expiration_states])
        expir_state = numpy.float64(
            [e.expiration_state for e in expiration_states])
        output_type = numpy.int32(
            [e.output_type.value for e in expiration_states])

        cfunc = lib_importer.windll.DAQmxCfgWatchdogAOExpirStates
        if cfunc.argtypes is None:
            with cfunc.arglock:
                if cfunc.argtypes is None:
                    cfunc.argtypes = [
                        lib_importer.task_handle, ctypes_byte_str,
                        wrapped_ndpointer(dtype=numpy.float64, flags=('C', 'W')),
                        wrapped_ndpointer(dtype=numpy.int32, flags=('C', 'W')),
                        ctypes.c_uint]

        error_code = cfunc(
            self._handle, channel_names, expir_state, output_type,
            len(expiration_states))
        check_for_error(error_code)

        return [ExpirationState(self._handle, e.physical_channel)
                for e in expiration_states]
def cfg_watchdog_ao_expir_states ( self , expiration_states ) : channel_names = flatten_channel_string ( [ e . physical_channel for e in expiration_states ] ) expir_state = numpy . float64 ( [ e . expiration_state for e in expiration_states ] ) output_type = numpy . int32 ( [ e . output_type . value for e in expiration_states ] ) cfunc = lib_importer . windll . DAQmxCfgWatchdogAOExpirStates if cfunc . argtypes is None : with cfunc . arglock : if cfunc . argtypes is None : cfunc . argtypes = [ lib_importer . task_handle , ctypes_byte_str , wrapped_ndpointer ( dtype = numpy . float64 , flags = ( 'C' , 'W' ) ) , wrapped_ndpointer ( dtype = numpy . int32 , flags = ( 'C' , 'W' ) ) , ctypes . c_uint ] error_code = cfunc ( self . _handle , channel_names , expir_state , output_type , len ( expiration_states ) ) check_for_error ( error_code ) return [ ExpirationState ( self . _handle , e . physical_channel ) for e in expiration_states ]