diff options
| author | Avi Levkovich <avi@twine-s.com> | 2020-06-15 17:08:55 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2020-06-15 17:08:55 +0300 |
| commit | a0d320fb1ebe92afde03ed9c02a1a1a9f44e42b2 (patch) | |
| tree | e3ce719f3efc00f88e548ea5d82614970d1ceaaa /Software/Stubs Collection/stubs/Scripts | |
| parent | 522031ae64a088bcdb5ffbd727ac6b4f8ebe5dac (diff) | |
| download | Tango-a0d320fb1ebe92afde03ed9c02a1a1a9f44e42b2.tar.gz Tango-a0d320fb1ebe92afde03ed9c02a1a1a9f44e42b2.zip | |
Add stub to read all the parameters in powerstep01
Diffstat (limited to 'Software/Stubs Collection/stubs/Scripts')
| -rw-r--r-- | Software/Stubs Collection/stubs/Scripts/Assemblies/newWHS/Blower.cs | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Software/Stubs Collection/stubs/Scripts/Assemblies/newWHS/Blower.cs b/Software/Stubs Collection/stubs/Scripts/Assemblies/newWHS/Blower.cs index f9807f6f3..d5c98e2cd 100644 --- a/Software/Stubs Collection/stubs/Scripts/Assemblies/newWHS/Blower.cs +++ b/Software/Stubs Collection/stubs/Scripts/Assemblies/newWHS/Blower.cs @@ -12,16 +12,10 @@ using Tango.Stubs; public void OnExecute(StubManager stubManager) { -// Request ---- -// Int32 : Amount -// Int32 : Delay -// Response ---- -// Double : Progress - - -//Blower speed -var response1 = stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E8, /* speed =*/0xc00); //Blower speed -//Thread.Sleep(5000); //Sleep for 10 milli. + //Blower speed + var response1 = stubManager.Run<ProgressResponse>("ProgressRequest" ,0x3E8, /*disable control loop*/0x0000 + /* speed =*/0xFFF); //Blower speed + // to enable control loop send 0x1000 + // speed max voltage value is 0xFFF }
\ No newline at end of file |
