aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Stubs Collection/stubs/new motor driver test.cs
blob: 809a2ef19dc231bb57f362cb05694b6b858d16c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
/*
in DataDef.h unmark the define:
#define TEST_POWERSTEP01//send GATECFG parameters to work without sending parameters via machine studio

in DataDef.h mark the defines:
//#define WATCHDOG
//#define FPGA_WATCHDOG
*/	
	
public void OnExecute(StubManager stubManager)
{
	//stubManager.Run<ProgressResponse>("ProgressRequest" ,0xCF, 0xCF);//Create File system on the drive	
	stubManager.Run("StubMotorRunRequest" ,6, false, 500 );
	
	//stubManager.Run("StubMotorStopRequest" ,6, 3);
}