Beispiel #1
0
        /****************   Axis Controller movement method **************/

        public void OTCXMove(int step)
        {
            if (isPowerOn && (otcBtn.XYZRelBtn || otcBtn.XRelBtn))
            {
                if (step >= 0)
                {
                    for (int i = 0; i < step; i++)
                    {
                        otcxyz.XStepUp();
                    }
                }
                else
                {
                    for (int i = 0; i < -step; i++)
                    {
                        otcxyz.XStepDown();
                    }
                }
            }
        }
Beispiel #2
0
 private void button4_Click_1(object sender, EventArgs e)
 {
     otcxyz.XStepDown();
     RefreshData();
 }