Changed ReceivePIData

Waits for the function to return "True". This means that the PI has successfully responded "OK" to our request.