DataLogger Class with issues

SendData method works well, but the GetData method has some major issues