reads the value from the instrument

def value(self):
        """
        reads the value from the instrument
        """

        value = getattr(self.instrument, self.probe_name)
        self.buffer.append(value)

        return value