aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Stubs Collection/stubs
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-05-27 16:18:02 +0300
committerShlomo Hecht <shlomo@twine-s.com>2020-05-27 16:18:02 +0300
commite77b1c6379f5aa634a9165ec3dafc1cd3669db2a (patch)
tree1fb14d5e555ed483abf17d3ecb3224bb31a82388 /Software/Stubs Collection/stubs
parent52956d3598177de58c0d742e374888cfb44276da (diff)
downloadTango-e77b1c6379f5aa634a9165ec3dafc1cd3669db2a.tar.gz
Tango-e77b1c6379f5aa634a9165ec3dafc1cd3669db2a.zip
Version 1.4.6.29 feeder dancer tension, loading arm homing, buttons fixed,
Diffstat (limited to 'Software/Stubs Collection/stubs')
-rw-r--r--Software/Stubs Collection/stubs/LoadingArm5Rounds.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Software/Stubs Collection/stubs/LoadingArm5Rounds.cs b/Software/Stubs Collection/stubs/LoadingArm5Rounds.cs
new file mode 100644
index 000000000..f5cacba1b
--- /dev/null
+++ b/Software/Stubs Collection/stubs/LoadingArm5Rounds.cs
@@ -0,0 +1,23 @@
+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 = 0xB2;
+progressRequest.Delay = 5;
+
+ var response = stubManager.Run<ProgressResponse>(progressRequest);
+
+} \ No newline at end of file