Exemple #1
0
        private void Btn_StopJog_Click(object sender, EventArgs e)
        {
            IStageCommand jog = new MotorizedStage.Commands.Jog(1);

            if (stage.TrySendCommand(jog))
            {
                DisplayStageErrors();
            }
        }
Exemple #2
0
        private void Control_StopWalk(object sender, MouseEventArgs e)
        {
            IStageCommand walk = new MotorizedStage.Commands.Jog(1);

            if (stage.TrySendCommand(walk))
            {
                DisplayStageErrors();
            }
        }
Exemple #3
0
        private void Control_JogNegative(object sender, EventArgs e)
        {
            IStageCommand jog = new MotorizedStage.Commands.Jog(1, -Numeric_JogVelocityPercent.Value);

            if (stage.TrySendCommand(jog))
            {
                DisplayStageErrors();
            }
        }
Exemple #4
0
        private void Control_WalkNegative(object sender, MouseEventArgs e)
        {
            IStageCommand walk = new MotorizedStage.Commands.Jog(1, -100);             //TODO implement adjustable speed.

            if (stage.TrySendCommand(walk))
            {
                DisplayStageErrors();
            }
        }