private void Reset() { if (communicator.getAcquisitionInProgress() == 1) { if (communicator.toggleAcquisition() == 0) { Console.WriteLine("XML-RPC SERVER: toggleAcquisition() SUCCEEDED" + "\n" + "....." + "acquisition_progress = off"); } } }