def readgps(self, ser):
     data = GPS(ser)
     data.read()
     self.gpsdata = data.sqlquery()