def read(self):
    self.__emergency_backup()
    try:
        self.proxy.ReadLC400Buffer()
        data = {1: self.proxy.Axis1Positions, 2: self.proxy.Axis2Positions, 3: self.proxy.Axis3Positions}
        self.length = len(data[1])
    except PyTango.DevFailed:
        self.__emergency_recover()
        fake = (np.ones(self.length, dtype=np.float) * (- 1))
        data = {i: fake for i in (1, 2, 3)}
    return {'x': data[self.xaxis], 'y': data[self.yaxis], 'z': data[self.zaxis]}
def read(self):
    self.__emergency_backup()
    try:
        self.proxy.ReadLC400Buffer()
        data = {1: self.proxy.Axis1Positions, 2: self.proxy.Axis2Positions, 3: self.proxy.Axis3Positions}
        self.length = len(data[1])
    except PyTango.DevFailed:
        self.__emergency_recover()
        fake = (np.ones(self.length, dtype=np.float) * (- 1))
        data = {i: fake for i in (1, 2, 3)}
    return {'x': data[self.xaxis], 'y': data[self.yaxis], 'z': data[self.zaxis]}