using System; using System.Text; using System.Linq; using System.Drawing; using System.Diagnostics; using System.Windows.Forms; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Tango.PMR.Stubs; using Tango.Stubs; public void OnExecute(StubManager stubManager) { //Loading Arm Calibration - this command writes the arm position to a non-volatile memory ProgressRequest progressRequest = new ProgressRequest(); progressRequest.Amount = 0xB1; //progressRequest.Delay = 1; var response = stubManager.Run(progressRequest); progressRequest.Amount = 0xB2; progressRequest.Delay = 0; response = stubManager.Run(progressRequest); }