(self, index)
Indexes an expiration state on this collection.

        Args:
            index (str): Name of the physical channel of which the
                expiration state to retrieve.
        Returns:
            nidaqmx.system._watchdog_modules.expiration_state.ExpirationState:
            
            The object representing the indexed expiration state.
Indexes an expiration state on this collection.
Indexes an expiration state on this collection .
def __getitem__(self, index):
        """
        Indexes an expiration state on this collection.

        Args:
            index (str): Name of the physical channel of which the
                expiration state to retrieve.
        Returns:
            nidaqmx.system._watchdog_modules.expiration_state.ExpirationState:
            
            The object representing the indexed expiration state.
        """
        if isinstance(index, six.string_types):
            return ExpirationState(self._handle, index)
        else:
            raise DaqError(
                'Invalid index type "{0}" used to access expiration states.'
                .format(type(index)), -1)
def __getitem__ ( self , index ) : if isinstance ( index , six . string_types ) : return ExpirationState ( self . _handle , index ) else : raise DaqError ( 'Invalid index type "{0}" used to access expiration states.' . format ( type ( index ) ) , - 1 )